Hi All,
I am using a data set which contains more than 50 variables and 0.36 observations. I need to split all the observations into four different data sets based on one of the variable named "province". The variable province has one digit for each of the province e.g. 1 is used for Punjab and 2 is used for sindh.
How i can split this data set into four data sets that will be data sets for each of the different provinces. Thanking in anticipation
Related Posts with Splitting a data set into four data sets over all observations but keepin all variables for each splitted data set
Generating difference in meansHi all, I'm trying to solve what is likely a fairly easy problem but is tripping me up. I want to ch…
Expand data and replacing multiple observations using elements of a local variableHi all, This is my first post, so I apologize in advance if anything needs clarification. I am wor…
ranking observations within a grouphow can i rank observations within a group? if i use the code: egen rank=group(var1), by(var2). i ge…
New Stata seminars and Structured Program on semHi everyone I wanted to let you know about some new Stata seminars that we're running in August thr…
Sample Size using mcnemar test for two dependent binomial populationsHi Statalist users I need your help in estimating the sample size for an interventional study wher…
Subscribe to:
Post Comments (Atom)
0 Response to Splitting a data set into four data sets over all observations but keepin all variables for each splitted data set
Post a Comment