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

From |
"Brian P. Poi" <bpoi@stata.com> |

To |
Stata List <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: Error in stata manual on xtdpd? |

Date |
Tue, 6 Oct 2009 16:25:18 -0500 (CDT) |

On Tue, 6 Oct 2009, Hewan Belay wrote:

Dear all,I was working through the description of xtdpd in Stata's book manual"Longitudinal Data/Panel Data [XT]". Example 5 of xtdpd in both theStata 10 book (p. 78) and the Stata 11 book (p.80) start by specifyingthe regression:xtdpd L(0/1).n L(0/2).(w k) yr1980-yr1984 year, div(L(0/1).(w k) yr1980-yr1984 year) dgmmiv(n) hascons But shouldn't the command correctly read instead: xtdpd L(0/1).n L(0/2).(w k) yr1980-yr1984 year, div(L(0/2).(w k) yr1980-yr1984 year) dgmmiv(n) hasconsAfter all, since w and k and their lags included in the regression aretreated as exogenous, the div() command should include also the secondlags since these are specified in the regression. If the stata manualhowever is correct in specifying the example, I have not properlyunderstood the xtdpd command, hence my question.Many thanks, Hewan

Hewan is correct.

. xtdpd L(0/1).n L(0/2).(w k) yr1980-yr1984 year, div(L(0/2).(w k) yr1980-yr1984 year) dgmmiv(n) hascons We will correct the example in the manual entry. -- Brian Poi -- bpoi@stata.com * * 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/

**References**:**st: Error in stata manual on xtdpd?***From:*Hewan Belay <hewan_belay@yahoo.com>

- Prev by Date:
**st: AW: xtline with missing data** - Next by Date:
**st: AW: AW: xtline with missing data** - Previous by thread:
**st: Error in stata manual on xtdpd?** - Next by thread:
**st: xtline with missing data** - Index(es):

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