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
PPML Gravity Model: interacting continuous variablesGood afternoon! I am estimating a PPML gravity model of trade adding an index of ethnic fractionalis…
how to use the value of variable A in last year for variable B in this yearHi everyone, I would ike to create a new variable whose value equals to the value of another variab…
What is the order of autocorrelation?I have the following equation: Code: lpowt=β1+β2lprot+β3t+β4t2+ut Where: lpow=natural logarithm for…
Combining values for multicode response variables to create a new cumulative variableI need to create a total variable that will sum the code frequencies from each response variable. I…
Standerdized diffrence calculation in complex weighted dataHey guys, I am trying to calculate the standardized differences in complex weighted data. I was abl…
Subscribe to:
Post Comments (Atom)
0 Response to Backtesting
Post a Comment