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
random selection between observationHi everyone, In the below dataset, I want to randomly delete one of the observations that has the sa…
Outreg2 Questions relatd to the regression constant term, Missing R squared, and having Multiple tables in one docHi, Code: xtivreg ChgLCon (L.Underperformance_Peer=L2.Financial_Crisis) L.Cost_Income_Ratio L.HH_…
Graph align xtitle rightHi, I have been trying to move my xtitle in a graph towards the right instead of centered. I checked…
Data Editor - Toolbar QuestionGood morning, Is it possible to put the 'New Do-File Editor' toolbar icon on the Data Editor toolba…
bysort commandHello, I have a clarificatory question about the bysort command. Suppose in my datafile HHID is 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