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
Running a regression for each year using prior 10 years of dataDear STATA Users, Please, correct me if I am wrong. I need to run a regression at the industry leve…
Removing observations based on a sequence of observations within a groupI have a panel data for stock returns, at the daily level, with the following variables: firm, year,…
Implications of a not positive (semi)definite tetrachoric correlation matrixHello, I am doing an Exploratory Factor Analysis on data from a 15-item questionnaire that contains …
Endogenous switching regression and Misclassification biasHello Stata Community, I am estimating the impact of household's exposure to land grabbing on farm i…
Combining mi:passive with egen optionsHi All I've just imputed my dataset (in the wide format), and I would like to create a set of passi…
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