Hi guys,
I am having a problem with STATA analyses.
Problem is that I want to use the GARCH model in order to describe the variance.
In order to run the stata command for the GARCH model, I do need variance as my dependent variable, therefore I want to create my variable variance by creating the std dev. and then put it to the power of 2.
To do so, I used the command egen varcompany1 = sd(returncompany1), by(tradingday).
When I do so however, I get that STATA generated 50 missing values and nothing else.
Does somebody know how to fix this issue?
When I only use egen varcompany1 = sd(returncompany1), I get the same std dev. for every trading day.
Thanks for your responses in advance
Related Posts with Missing values created when trying to get standard deviation - GARCH model
Normality distribution after mixedDear Statalists, I have been looking for multilevel diagnostics tests (Heteroscedasticity and Resid…
Difference between poisson model with exposure and modelling rates implicitly?Dear Statalists, I trying to understand the difference between using an exposure in a poisson model…
generate varialbe on the conditionHi , I want to generate the variable only up the condition of another variable here, local 38"phon…
Command for this panel data regressionI have the following regression to run, I am unable to figure out how best to write the command Arra…
The difference in interpretation between country-year fixed effects and seperate country and year dummiesI am trying to expand my knowledge about the different interpretations of combinations of fixed effe…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values created when trying to get standard deviation - GARCH model
Post a Comment