--- Wilson.Sama@u... wrote:
> First we wish to predict the outcome for a single observation. What
> is the Stata command for this.
after -poisson- you can use predict, which will put predicted values
in a variable of your choice (say predn).
If you want to see the predicted value for the 16th observation you
can use: -list predn in 16-
If you want to see all the predictions whose value for X1 is 1 you
can use: -list predn if X1==1
>
> Secondly we wish to predict the mean outcome for X1 = 1,
> irrespective of the values of the other variables. What is the
> command for this.
>
-summary predn if X1==1-
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/