Here is the command:
tsset GVKEY_n Year
rolling sd_NIBE=r(sd), window (4) clear : su NetIncome
And Stata returns this:
________________
-> GVKEY_n = 100135
Rolling replications (16)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
................
-> GVKEY_n = 100148
Rolling replications (16)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
................
-> GVKEY_n = 100149
Rolling replications (2098001)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
.................eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 50
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 100
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 150
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 200
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 250
eeeeeeeeeeeeeeeeeeee--Break--
After it acting weird i have to stop it and if i didnt stop it can go on for half an hour. Is there somethign wrong with my data ?
Related Posts with Trying to do Rolling Standard Deviation give me this error. Can someone help ?
Repeated observations in panel data Dear all, I am trying to build a long database. I have data from 2004 to 2018 where, during four y…
Hausman test has suggested Random effects model but I want to use Fixed effectsHello everyone, I am using EU dataset for 27 countries for 5 different years. My goal is to determi…
returnsyh command donwloads historical data for any ticker with historical data in Yahoo - ErrorHi, I am getting the following error with returnsyh command donwloads historical data for any ticke…
Suppress input prompt for pauseFantastic people of Statalist, I am running a batch of do files that contain -pause- commands and w…
Maximizing Sharpe Ratio - Portfolio optimizationHi, I would like to maximize the Sharpe ratio (=Historical Return (portfolio)/Standard deviation(po…
Subscribe to:
Post Comments (Atom)
0 Response to Trying to do Rolling Standard Deviation give me this error. Can someone help ?
Post a Comment