Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: offset() option in glm models


From   "Weichle, Thomas" <Thomas.Weichle@va.gov>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: offset() option in glm models
Date   Thu, 14 May 2009 11:36:16 -0500

Dear Statalisters,

In the glm model I'm running, the dependant variable is total cost over
a 12 month period.  I would like to take into account the proportion of
time in which an invididual was alive during the period.  Would it be
appropriate to use the offset() option on the proportion of months alive
during the period, i.e. time = x/12.  Then, offset(time).

Tom Weichle
Thomas.Weichle@va.gov 


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



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