Hi,
I want to write a loop to generate a new variable called savings (income-expenditure) in two separate files. Use sample weights with name wht to calculate its mean in respective files. Then a combined mean of the means. How can we do it via loops?
Any help is appreciated.
Related Posts with Generate a new variable in a loop in different files and calculating the mean
ICC (Intra-class correlation coefficient) vs "9% of this variation in mortality was attributable solely to the surgeon."I am trying to find out the relationship between a. the ICC for surgeons and the b. the variation du…
Predict based on regression modelHi, I estimated on the regression model: Code: reg lnChild lnCash lnWhite lnCash*lnWhite Based on…
Which is the correct approach in coding a dummy variableHi Statalist. I want to generated a dummy variable from a categorical variable with values ranging …
Knots in Non parametric series regressionDear All, I am Maheswaran Kesavan doing masters in University college London. I am doing an Non pa…
power analysis for modified poisson regressionHello, I am trying to determine the power of one my analyses. The outcome is binary and relative ri…
Subscribe to:
Post Comments (Atom)
0 Response to Generate a new variable in a loop in different files and calculating the mean
Post a Comment