Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: RE: Does xtreg (or xtivreg) assume equally spaced time points?
From
"Schaffer, Mark E" <[email protected]>
To
<[email protected]>
Subject
st: RE: RE: Does xtreg (or xtivreg) assume equally spaced time points?
Date
Tue, 7 Aug 2012 17:49:10 +0100
Lisa,
> -----Original Message-----
> From: Lisa Marie Yarnell [mailto:[email protected]]
> Sent: 07 August 2012 16:52
> To: [email protected]; Schaffer, Mark E
> Subject: st: RE: Does xtreg (or xtivreg) assume equally spaced time points?
>
> Hi Mark,
>
> Thank you for your response. Our data are in long format with four lines per
> person (one line for each time point).
>
> I think we should add ", i(id)" at the end of our model.
>
> I think I forgot that. Time points are nested within persons, so once we add
> the code above, it will have a time dimension.
>
> However, the time points are not equally spaced. How can we account for
> that in an xtivreg model?
Your data have a time dimension, but the model apparently doesn't:
> > Our model is: xtivreg depper (bmi = momobes)
So irregular spacing over time is a non-issue - there's nothing you need to do. Just estimate as is.
--Mark
>
> Thanks for your help,
> Lisa
>
>
> ----- Original Message -----
> From: "Schaffer, Mark E" <[email protected]>
> To: [email protected]
> Cc:
> Sent: Tuesday, August 7, 2012 8:27 AM
> Subject: st: RE: Does xtreg (or xtivreg) assume equally spaced time points?
>
> Lisa,
>
> The model you specify below,
>
> > Our model is: xtivreg depper (bmi = momobes)
>
> has no apparent time dimension, i.e., it seems to be a static model. If so, the
> spacing between consecutive periods is irrelevant and you don't need to do
> anything.
>
> HTH,
> Mark
>
> > -----Original Message-----
> > From: [email protected] [mailto:owner-
> > [email protected]] On Behalf Of Lisa Marie Yarnell
> > Sent: 07 August 2012 15:32
> > To: [email protected]
> > Subject: st: Does xtreg (or xtivreg) assume equally spaced time
> points?
> >
> > Hi Statalisters,
> >
> > Does xtreg (or really, what we are using, xtivreg--the extension of
> xtreg that
> > allows for an instrument) asusme equally-spaced time points in the
> panel
> > model?
> >
> > We have four waves of data.
> > Wave I and Wave II are 1.5 years apart.
> > Wave II and Wave III are 5.5 years apart.
> > Wave III and Wave IV are 6 years apart.
> >
> > Is it wrong to put data from these time points into the xtivreg model?
> Is
> > there a way to adjust the model for unequally spaced time points?
> >
> > Our model is: xtivreg depper (bmi = momobes)
> >
> > How can we alter the model to account for the unequal spacing?
> >
> > Thanks,
> > Lisa
> >
> > *
> > * 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/
>
>
> --
> Heriot-Watt University is the Sunday Times Scottish University of the Year
> 2011-2012
>
> We invite research leaders and ambitious early career researchers to join us
> in leading and driving research in key inter-disciplinary themes.
> Please see www.hw.ac.uk/researchleaders for further information and how
> to apply.
>
> Heriot-Watt University is a Scottish charity registered under charity number
> SC000278.
>
>
> *
> * 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/
--
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
*
* 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/