Hello. This seems like it would be straightforward but as an advanced beginner I am having a hard time figuring this one out. I am trying to generate new variables that will be used as my pweight. These will be the inverse of the sum of the number of females age 10-14 and males age 10-14 in each school out of the total population surveyed. I I have 3 variables of interest: SchoolName, Age, Sex. SchoolName has 30 different school names, Age is a continuous variable and Sex is male or female. Any insight how to do this would be greatly appreciated.
Thanks,
Adam
Related Posts with Generating a new variable that is the sum of each value of a different variable
Methodological question: xtabond2Hello, Please I am looking to apply the xtabond2 command to my panel data. However, I have unequall…
pstest interpretation after propension score matchingArray Dear, I make propension score matching estimation and I got these results. Do you think my est…
Structural break - testing dependent variable onlyHi all, I am undertaking a structural break test for my regression mode, but was informed that I sh…
Combining graphsI am attempting to combine 2 graphs together. Here's my code: eststo: reg varlogwageinc i.agegrp9…
big panel data managementHi, I am struggling to manage my large panel dataset 300k observation over 36 months. I would be gra…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable that is the sum of each value of a different variable
Post a Comment