Hi everyone,
I am trying to run a backtesting model for the data I have. I am not an expert with stata and therefore do not know how to do it. I will try to explain how my data looks in the most convenient way:
So I have 1,277 obs; 29 years which are shown as rows, 428 variables which are weather variables corresponding to 1 week of the year (e.g. Week 1_Precipitation, Week 2_Temperature). These are the independent variables, and the dependent variable is a variable called 'Happiness'. I wanted to run a forecast based on the linear regression which shows graphically the 'Happiness for each Year' based on the past.
Is there any way to do so?
Thank you so much for your help.
Alvaro
Related Posts with Backtesting
How to calculate ICC when I use command gllamm?Dear statalists, I recently have been puzzeled by how to calculate ICC when I use command gllamm.In …
Matrix colnamesHi all, I want to add an additional row in a matrix, which displays the names of grouped columns. T…
Tests of robustness?Hey all, I am new in Statalist and I am looking for help concerning tests of robustness. I shall do…
baseline adjustment in multiple time pointHi Statalisters, Code: clear set seed 1234 set obs 200 gen id = _n expand 3 sort id bysort id: ge…
replacing all values in one variable[CODE ]NEWID plot Q1 Q2 1 _01 12 100 1 _02 21 100 1 _03 32 100 1 _04 35 100 1 _05 38 100 1 _06 44 10…
Subscribe to:
Post Comments (Atom)
0 Response to Backtesting
Post a Comment