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

From |
Michael Hanson <mshanson@mac.com> |

To |
statalist@hsphsun2.harvard.edu |

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

Date |
Thu, 23 Oct 2008 21:48:19 -0400 |

Greg:

reg residual_income L.residual_income

Some comments, however:

Hope this helps, Mike On Oct 23, 2008, at 5:30 PM, GBrenner1@gmx.de wrote:

Dear Nick (statalisters), Thank you for your time. Let me be more clear this time.I would like to examine the autoregressive properties of abnormalearinings (=residual income) (first order abnormal earningsautoregression). So I want to use a pooled analysis with one lag,i.e. residual_income (i, t+1) = b0 + b1 * residual_income(i, t) + e(i, t+1), where i is a specific company ("name" as identifier) andt is the year of the observation ("year"). What I want to get is afade rate b1 , which describes the reversal of residual_income. b1should be one single value in order to predict future residualincomes in another sample ( i.e. residual_income next year equalsb1 times residual income this year). I expect b1 to be about 0.7(b0=0).When I say the regression should run over every two consecutiveyears for a company I mean that the regression should ignore cases,in which there is more than one year between two observations,because b1 should be the fade rate of residual_income from one yearto the following year.The identifier for company is "name" and the year is given by"year". I used:tsset name year .panel variable: name, 1000 to 270705 .time variable: year, 1974 to 2006, but with gaps rollreg residual_income l.residual_income, move(2) stub(a) .sample may not contain gaps r(198);Well, I don't know whether my idea is an appropiate way to solvethis problem and to get one single b1. Perhaps someone can help me,whether this is an appropiate way to solve this problem and to getone single value of b1 and how to get rid of the gaps (because -rollreg-from SSC does not support gaps in the data).Thanks for your consideration. Greg B. -------- Original-Nachricht --------Datum: Mon, 20 Oct 2008 13:37:03 +0100 Von: "Nick Cox" <n.j.cox@durham.ac.uk> An: statalist@hsphsun2.harvard.edu Betreff: st: RE: regression: fade rate residual incomeI think you have problems at various levels.The most obvious is that -rollreg- from SSC [please remember toexplainwhere user-written programs you discuss come from] does notsupport datawith gaps. When you -tsset- your data you should have seen a comment that your data include gaps. The next is what you are trying to do. If I read this correctly, youwant to look at regressions for pairs of values within each panel.Thatgives you at most two distinct data points and you should be able tosolve for the coefficients directly. You will get perfect fits,exceptwhen points coincide when regression will be indeterminate. Also,thereis no question of an error term. On the other hand, I doubt that I am reading you correctly.You posted on this topic a week ago. In response both MichaelHanson andI hinted that you may need to explain what you expect in moredetail toget better answers. Nick n.j.cox@durham.ac.uk GBrenner1@gmx.de 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") withineachidentifier "name" (whenever there are values for at least two consecutive years for a given name). I used the following: drop if missing(residual_income) tsset name year rollreg residual_income l.residual_income, move(2) stub(a)I hope this command will do what I want but unfortunately Stataalwayssays: sample may not contain gaps r(198); What might be the problem? * * 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/-- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail * * 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/

**Follow-Ups**:**Re: st: RE: regression: fade rate residual income***From:*GBrenner1@gmx.de

**References**:**st: regression: fade rate residual income***From:*GBrenner1@gmx.de

**st: RE: regression: fade rate residual income***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: regression: fade rate residual income***From:*GBrenner1@gmx.de

- Prev by Date:
**Re: st: Problem with replace if - test condition works only for some values of test variable** - Next by Date:
**st: suggested references about the variables to include in zero-inflated portion of zinb?** - Previous by thread:
**Re: st: RE: regression: fade rate residual income** - Next by thread:
**Re: st: RE: regression: fade rate residual income** - Index(es):

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