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
how to run a Fama Macbeth Regression using 'asreg' commandHi all, I'm sort of new to using Stata, and I can run simpler regressions. I recently found that th…
scatter with dividing vertical lineDear Statalist Members, I have the log wages data below for States in the the North and Southern pa…
Get Post & Pre treatment yearsHello everyone, I am trying to make an event study graph. For this I need to pool my post and pre t…
Asdoc implementation problem Hello, i am relativ inexperienced in Stata and I wanted to incorporate my regression output into Wo…
Adjusting for seasonality using sax12Dear Stata users, I'm working on a panel dataset, which two credit variables (basically two distinc…
Subscribe to:
Post Comments (Atom)
0 Response to forvalues
Post a Comment