Could somebody please advise on how to split a dataset with a different number of observations?
For eg. if I use xtile command with "nq" option it will split my dataset equally, however, I want to define manually the number of observations that should belong to group 1, group 2, and so on.
Related Posts with Spliiting dataset with different no of obs
Structural equation modeling: Whether and how to estimate margins w.r.t. a latent variableI’d like to get input from the Stata community on the advisability and potential utility of estimati…
Should I use vce(robust) for my OLS regression?Hi everyone, this is my first time posting, so I hope that I include all the relevant information. I…
Help to get rolling average (standard deviation) over 5 yearsHello, I have a panel data like this (unbalanced) ID Year V1 V2 0 2005 30 19 0 2006 20 67 0 2007 4…
Share of working hours by a segment of race comparing to the total raceHello everyone, I'm working with basic monthly sample of CPS and I'd like to calculate for each occ…
How does the option"ties" work in psmatch2?Hello: It says in the user's manual : ties not only match nearest neighbor but also other controls w…
Subscribe to:
Post Comments (Atom)
0 Response to Spliiting dataset with different no of obs
Post a Comment