(Sorry about the poor phrasing of the question)
My dataset contains variables such as country and prevalence of obesity, for 34 countries. I want to create a new value for country variable that will be the average of obesity of all the countries, i.e there will be 35 categories under the country variable. Is there any command to do that in Stata 14.
Related Posts with Creating a value that equals the average of other values for the same variable
Panel table, initial value as regressorDear all, I would like to examine the effect of initial leverage ratio on leverage ratio. I've got a…
how to represent estimates for covariates using MataI have a regression model using discrete time hazard regression. And I wanted to study the effect of…
r603 using eventstudy commandDear Statalist, I am trying to run an event study using stata "db eventstudy" (eventstudy commandà …
Please can someone helpHi, having to use STATA as an Economics Undergrad for Economics to write my dissertation and keep c…
Chi square goodness of fit I have performed chi square goodness of fit test as shown below. Now, I want to test which catego…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a value that equals the average of other values for the same variable
Post a Comment