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
Panel data - how to analyse regional differences (over time)?Hi all, I am new here and I wish to thank you for your help during these years of university. I am …
Chosing correct analysis?Hi I'm rather new to statistical analysis and I'm currently doing medical research for the first ti…
stratification matchingI am unable to get command for stratification matching for the case of psmatch2. Please help me in g…
weighting dataI have an unbalanced panel data, and I'm trying to weight my sample to look like the population. sup…
estout - how to keep interactions (of time series operators and indicators)Dear Statalisters, I am trying to output regression results to .tex using estout (from ssc, using S…
Subscribe to:
Post Comments (Atom)
0 Response to Proportions variable
Post a Comment