Hi all,
I am currently working on project about volatility timing.
The data I am working with is daily and I am not entirely sure what I can do to annualise the coefficients from the loop. The coefficients I need to annualise are alpha(constant) and beta and if possible the t-stat from alpha.
foreach var of varlist United_States-Global_Ex_US{
foreach var2 of varlist vUnited_States-vGlobal_Ex_US{
if "v`var'"=="`var2'"{
asdoc reg `var2' `var', robust nest save(volatilityI) dec(2)
}
}
}
Any help would be appreciated.
Thanks,
Marc
Related Posts with Annualising coefficients in a loop
generating counterfactual when I have adjusted for a control in Interrupted time seriesDear colleagues i have a model: arima lograte time vacperiod strike malnutration, arima(1,0,0) . Whe…
List of observations in regressionHello, I am running a regression in STATA (xtgee). xtgee Profit number_employees company_size , li…
Creation of cumulative lead variableHi all, my Data looks like the following: Code: * Example generated by -dataex-. For more info, t…
A question of Cox PH modelHello, everyone! I have a question about the Cox PH model in Stata, I know how to use the command st…
Panel data: Multiple IDs, partly duplicatedI have received panel data that need lots of cleaning. The most substantial challenge is finding a u…
Subscribe to:
Post Comments (Atom)
0 Response to Annualising coefficients in a loop
Post a Comment