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);
Combining texp(ln(_t))* and texp(_t >=* *) for time dependent variables on Survival Analysis!!Hello! my dear STATA users! I have run a cox regression model dealing with time-varying covariates…
CrosstabulationsHi- Why does the sample size need to be larger if the table is bigger than a 2x2 for cross tabulatio…
Difference in Difference estimate with staggered coverage and increasing treatment intensityHi I am new to the Stata forum so apologies if this question has been asked before. I have panel da…
post-estimation/testparm with xtscc regression using time and fixed effects dummiesHello, I am currently working with an unbalanced panel data set. We would like run some regressions…
Bootstrap (Resampling residuals) in stcoxHi all, I am currently using stcox to analysis the timing of turning points of US stock market cycle…
Subscribe to:
Post Comments (Atom)
0 Response to invalid name error r(198);
Post a Comment