I ran the following command
forvalues state_num = 1 (1) 51 {
reg edge percentFRL
}
Trying to run the regression for each individual state, however it ran the same regression (using the data from all 50 states and DC) 51 times. What did I do wrong?
Related Posts with forvalues
spatial autoregression (SAR) rho coefficientHi everyone, I am running a spatial autoregressive model (SAR) with stata commands spregress and sp…
Geometric mean with zeros and negative values Hi, I'm struggling with the geometric mean computation in the following case. I need to create com…
Plotting confidence intervals for simple exponential smoothing forecast resultsHello, everyone! I am currently trying to visualise the results of a simple exponential smoothing f…
PPML indexHi, I am using PPML for my gravity model. One of my independent variables is an index. How can I i…
Error with levelsof but not levels commandHi everyone, Has anyone experienced errors with levelsof not present with levels commands? This curi…
Subscribe to:
Post Comments (Atom)
0 Response to forvalues
Post a Comment