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

Re: st: predicted probabilities for Poisson regression


From   Tim Wade <wadetj@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: predicted probabilities for Poisson regression
Date   Fri, 25 Feb 2005 09:59:48 -0500

Rudy, can you use the "ir" option after predict after estimating your
model, e.g.,

predict irhat, ir

this is the same as predicting the observed number (predict nhat) and
dividing by the exposure variable if you had one.

does this get what you are looking for?

Tim







On Thu, 24 Feb 2005 18:08:26 -0500, Rudy Fichtenbaum
<rudy.fichtenbaum@wright.edu> wrote:
> I am brand new using STATA having used SAS for many years.  I am trying
> to run a poisson regression and then get the predicted probabilities. I
> found the program pprob where you put the command  pprob , mean() n()
> graph.  This works fine but I am not sure where I get the mean value. I
> know how to calculate the mean value in SAS but I can't figure out how
> to do this in STATA.
> 
> Rudy
> *
> *   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/
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index