I have a dataset with a variable sex (male, female, unknown), I want to create a new variable that will do a proportional redistribution of the unknown category into the known categories of male and female. How do I do that? I tried something like redistribute num3, to(num1 num2), but it did not work.
Related Posts with Proportional redistribution
Using coefplot to plot the effect of categorical variable with interactionDear Statalist users, I wondered if you could help me with this issue in particular. I am running …
number of records teffects matching estimators use to estimate effectsHow can I identify the number of records at each treatment level the teffects matching estimators us…
sample used by teffects matching estimatorsDoes the teffects suite of commands include a command showing how many records at each treatment lev…
Sorting string variable fromDear All, I'm having hassle sorting a string variable. Even after using the Code: sort code, the en…
Not getting a collinearity errorI apologize if this is a simple question. I have created dummy variables for highest degree earned. …
Subscribe to:
Post Comments (Atom)
0 Response to Proportional redistribution
Post a Comment