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
ci prop and proportions with zero countsHi, I would like to estimate a confidence interval for a proportion when there are zero counts. I fi…
EventStudy Ouptut table / outreg2?Hello Guys, I am conducting an event study (dividend announcements) with 109 companies and an event …
superimposing a normal distribution over a histogram - how to rescale the functionDear all, I am trying to superimpose a normal distribution over a histogram, but the final output d…
Comparing proportionsHello, I am analyzing survey data with 300 responses. There are two questions regarding their comfor…
Using loop for wrapping up multiple merge commandsHi, I was wondering if a loop can wrap up below two merge commends. Thanks, NM use impute0, cle…
Subscribe to:
Post Comments (Atom)
0 Response to Proportions variable
Post a Comment