Good afternoon guys,
I am very new at Stata and i was trying to learn a code below and it give me error saying " invalid name error r(198); "
can somebody explain me where the mistake is . thank you !
generate meanwage =.
forvalues j=34(1)46 {
summarize wage if age=='j'
replace meanwage=r(mean) if age=='j'
}
Related Posts with invalid name error r(198);
Matching based on propensity score taking care of yearDear statalisters I'm facing with a lot of difficulties to implement matching with propensity scores…
Help with Estout table showing 3 values vertically, in 3 rowsHi, I am trying to get my table to look like the following in a .tex file, using estout. This shows…
Calculate a new variable using values of a country´s region excluding the country being mesuredHello, I would like to create a new variable that is an average (weekly) of the "stringency" (examp…
Multiple variables using grmapDear all, I am working with the command grmap, and I have no problems in creating maps. However, I …
Interpretation Kleibergen-Paap, Cragg-Donald and Stock-Yogo weak IDDear users, for my thesis I'm working with an IV regression, where I try to see what effect stock o…
Subscribe to:
Post Comments (Atom)
0 Response to invalid name error r(198);
Post a Comment