I am working with panel data and am trying to create a new proportional variable defined as the number of ids with greater income than the ith id in each time period. Phrased otherwise, the new variable should reflect the proportion of ids with greater income than the ith id for each time period. I am drawing a blank with how to successfully code this concept.
Related Posts with Proportions variable
Calculating Fleiss KappaEach subject represents a rater. I want to know the agreement for the raters for each test. Why am I…
Calculating Fleiss Kappa Each subject represents a rater. I want to know the agreement for the raters for each test. Why am …
Dummy variable from monthly to yearlyHi all, I am currently writing my master thesis and I have the following problem. I made a dummy va…
How to interpret interaction term if it is similar to independent coefficient?Hi all, Im struggling with the results of my regression. Im testing the moderation effect (M) on th…
export excel - modifyHi STATALIST, I made an excel file using following codes: Code: export excel n /// u…
Subscribe to:
Post Comments (Atom)
0 Response to Proportions variable
Post a Comment