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

st: RE: using offset with poisson and getting error message "no observations"


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: using offset with poisson and getting error message "no observations"
Date   Thu, 5 May 2005 00:48:50 +0100

One guess: something you think is numeric is 
really string. -describe- and if necessary 
-destring-. 

Nick 
n.j.cox@durham.ac.uk 

valerie flaherman
 
> I am trying to do a poisson regression with an offset 
> for the log of 
> the population size.  Stata will do the command without an 
> offset, but when 
> I put in the offset it gives me an error message saying "no 
> observations."  
> The same happenned when I tried to use exposure. My 
> colleagues and I are not 
> sure what to do next--does anyone have advice?  Thanks so much.

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