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 J" " 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 J error r(198);
Data Count & DeleteI am working with WRDS data, dates in one coluumn, companies in another and returns in another. I wa…
3sls reg3Dear Statalists, Can you please help me with the models for panel data with 200 firms of 20 industr…
Industry Dummy VariablesI am conducting a cross-sectional study on UK firms and I've created an industry variable 'ind1' tha…
Total days on medicine with multiple entries & overlapping datesHi, I am working on a database of medications taken by individuals which I need to summarise & …
Modification of stored estimatesDear StataListers, Is it possible to recode the _at variable in a stored estimate (see below)? I wo…
Subscribe to:
Post Comments (Atom)
0 Response to invalid name J error r(198);
Post a Comment