Hello everyone,
I have daily panel data and I want to calculate the standard deviation of the firm's daily stock return over the past three months. Could anyone help me to find an appropriate code to calculate annualized 3-month rolling sample standard deviation and assuming the standard deviation is centered on zero, instead of centered around mean value given a time period.
Sample of my dataset is attached :
Kind Regards
Obada
Related Posts with Claculate standard diviation of firm's daily stock return over the past three months
time invariant variables and fixed effectsDear All, I wish to estimate the following panel data model using xtreg, fe yit = xitβ + γDi + uit …
Specifying model correctly with xtmixedHello, I am attempting to use xtmixed for a repeated measures analysis looking at the effect of an …
What stats are appropriate to assess model fit for nested logit models if Wald is not possible for clustered data?I used vce(cluster) to account for clustering within 9 groups in a set of nested logistic regression…
Trying to code for a loop to clean data entry errors and destring my variables.Dear All, I have imported "household survey" in csv format that contains numerous data entry errors…
missing dataHi all, i am new to stata so please accept my naivety. i have a data set (n=1000) with 42 variables.…
Subscribe to:
Post Comments (Atom)
0 Response to Claculate standard diviation of firm's daily stock return over the past three months
Post a Comment