Bookmark and Share

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]

Re: st: Panel Data 5 Year Average


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Panel Data 5 Year Average
Date   Tue, 7 Jan 2014 17:57:57 +0000

Look again at your data and the code.

Results are for five year periods 1976-80, 1981-1985, etc. and the
average for 1976 reflects the fact that you have data for 1980.

If you want to ignore that, that's fine by me, but I see no bug.

Nick
[email protected]


On 7 January 2014 17:51, Muhammad Ramzan <[email protected]> wrote:
> Thanks
>
> but there is one error or minor mistake with code.
> for the second country why i am getting the row 6. |       2    1976
>  .233     .09 |
> there is no data for the year 1976.
>
> the data stars from 1981 for both countries.
> the results should be like this
>
> y5 I5
> 1981-85 22.6 8.92
> 1986-90 24.2 9.46
> 1991-95 26.6 9.98
> 1996-00 28.4 10.48
> 2001-05 30.6 10.98
> 1981-85 0.2354 0.0906
> 1986-90 0.2426 0.0962
> 1991-95 0.2466 0.1102
> 1996-00 0.2506 0.1216
> 2001-05 0.2546 0.1308
> can you please look at this issue.
>
> Regards
> MUHAMMAD RAMZAN
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index