Hi, I am working on a project and I have 4 variables that go from 0-100, and I am trying to combine them into a single variable that is also on a scale from 0-100. However, when I tried doing it myself by just using the generate command (gen minofeel=(var1+var2+var3+var4) it runs on a scale from 0-400. I tried dividing it by 4 but that also doesn't help because it divides every number on the scale by 4 which is not what I'm trying to do (i.e. made 0=.25. Does anyone know how to help me do this? Thank you!!
Related Posts with how to fix scales on stata
Keeping most full observation in a hierarchyHi, I have a dataset that is a hierarchy set over a maximum of 4 levels where each row is a level i…
Using putexcel to enter output from a cross tabulationDear all, Seeking some advice on how to export a specific format of output into Excel, from tabulat…
generating new variable based on date variableDear Stata community, I have a variable stored as dates in the Stata format i.e 01jul1993 (I conver…
Procedure to select the variable with values closest to the values to another variableIs there any automatic procedure in Stata to do the following: I have a fairly short time-series da…
Recode with if does not workHi all, I have the following problem. I am trying to recode values of a variable conditioning on giv…
Subscribe to:
Post Comments (Atom)
0 Response to how to fix scales on stata
Post a Comment