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
Descriptive statsHello ! so i hvae trying this code i found in a tutorial to create a table similar to the one joind …
Predicting ProbabilityHey everyone, first of all, I'm not an expert in working with stata, which is why is require your h…
Reshape panel data variable to create a new merged variableDear stata's, Surely the question has a simple answer, but I'm out of ideas on how to find an answe…
Why when I control for a key variable results do not change?Dear Statalist, I am estimating the effect of parental separation on the amount of time a child spe…
Get the row number of a cellHi everyone, Suppose a variable y, with 100 obs, ranked by id (1 to 100). And among these obs, only…
Subscribe to:
Post Comments (Atom)
0 Response to Spliiting dataset with different no of obs
Post a Comment