Hello everyone,
For my regression i am using the VIX as a proxy for volatility and the TED spread as a proxy for the global risk free rate, my data consist of around 85 countries over 20 year in a long format. These 2 rates vary across time but not between countries, so they change from year to year over the 20 years but are the same for all countries for each individual year as they proxy for global factors. I am wondering how to include these 2 variables into my dataset, for now i have added them by copying them accross the 20 years so they are exactly the same for each country, i was wondering if this is the correct approach of adding them or if there is some other way to add them into the regression or data.
Kind regards,
Max Verheijen
Related Posts with Control variable that varies accross time but not accros countries how to add to dataset and regression
Combining survey questionsDear all I have executed a survey for my master thesis, and now I need to combine the variables reg…
Putting a value's label on ExcelI have a variable with different values and I want each of those values in a different row of an exc…
how to organize the output of table with the desending order of frequency rather than the contents of the variable? Code: * Example generated by -dataex-. For more info, type help dataex clear input str32 Country "B…
reshaping wide to long dataHello, I have trouble reshaping my panel data and need some help. I work with quarterly data from 19…
Regressing the t-1 values from a panelI have a panel dataset with multiple observations where I would like to regress a variable Y on the …
Subscribe to:
Post Comments (Atom)
0 Response to Control variable that varies accross time but not accros countries how to add to dataset and regression
Post a Comment