Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Predict command after a poisson model?


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   RE: st: Predict command after a poisson model?
Date   Thu, 20 Jan 2005 17:33:59 -0600

> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of [email protected]
> Sent: Thursday, January 20, 2005 8:59 AM
> To: [email protected]
> Subject: Re: st: Predict command after a poisson model?
> 
> Thanks for your response. I still have a statement regarding the followig
> answer
> below
> 
> "If you want to see all the predictions whose value for X1 is 1 you
>  can use: -list predn if X1==1 "
> 
> I don't want all the predictions whose value for X1 is equal to 1. I want
> just a
> single prediction for X1= 1 adjusted for all other variables.
> Thanks
> 

poisson varlist

gen x1_hold = x1
replace x = 1
predict var1


Scott



*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index