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

From |
Michael Hanson <[email protected]> |

To |
[email protected] |

Subject |
Re: st: regression: fade rate residual income |

Date |
Mon, 13 Oct 2008 14:39:43 -0400 |

HTH, Mike On Oct 13, 2008, at 1:02 PM, [email protected] wrote:

Dear all:I would like to run a regression on residual_income. I have yearlyobservations of residual income for firms. The year is given invariable "year", the identifier for firm is "name".I'd like to run the regression residual_income(year) = b0 + b1 *residual_income(year-1) + e The regression should run on"residual_income" over every two consecutive years ("year") withineach identifier "name" (whenever there are values for at least twoconsecutive years for a given name).I used the following, but my results are not what I expected: tsset name year reg residual_income l.residual_income Hope someone can help me. Thanks for your consideration. Greg B. -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser * * 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/

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

- Prev by Date:
**Re: -vce(hac)- options in -regress-? [was: st: re: Troubleshooting 'not sorted' and 'not regularly spaced' errors]** - Next by Date:
**Re: st: re: Troubleshooting 'not sorted' and 'not regularly spaced' errors** - Previous by thread:
**st: RE: regression: fade rate residual income** - Next by thread:
**st: RE: regression: fade rate residual income** - Index(es):

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