Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Getting predicted values from xtpoisson, fe
From
Phil Clayton <[email protected]>
To
[email protected]
Subject
Re: st: Getting predicted values from xtpoisson, fe
Date
Thu, 22 Dec 2011 22:20:24 +1100
-predict- will give you predictions for individual observations, but for particular combinations of variables you might be better off using -margins- eg:
margins, at(age=15 schooling=9) predict(iru0)
Phil
On 21/12/2011, at 10:45 PM, Muhammad Anees wrote:
> Have you gone through the help file for -xtpoisson-, if not then here
> is the detailed discussion from within Stata.
> help xtpoisson postestimation##predict
>
> On Wed, Dec 21, 2011 at 4:26 PM, Ian Macmillan
> <[email protected]> wrote:
>> Hello,
>>
>> I have a relatively simple model with three covariates and an product-term (e.g., age, sex, education, sex_by_education) and a fixed effects poisson model (i.e., xtpoisson..., fe). What I am interested in is getting predicted values based on the coefficients for particular combinations of variables (e.g., a fifteen year old girl with 9 years of schooling). Ultimately, we want to aggregate across ages to derive a cumulative age-graded profile of the outcome. I can't for the life of me figure out how to do this. Any help/advice would be greatly appreciated...
>>
>> Ross
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>
>
>
> --
>
> Best
> ---------------------------
> Muhammad Anees
> Assistant Professor/Programme Coordinator
> COMSATS Institute of Information Technology
> Attock 43600, Pakistan
> http://www.aneconomist.com
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/