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
Where to Specify Temporary Names for Local Macros Inside Ado FilesStata Listers: I have a general question about where to specify temporary names for local macros in…
Spatgsa - dimension of the matrix vs number of observationsDear Statalist members, I have an identical problem as the one previously published in the forum: h…
Matching observations in a quasi-random processDear Statalisters, I want to create a set of observations which is used to test different models la…
Reporting odds ratio for quantile regressionIn Stata 14 I can report odds ratios for OLS regression by adding Code: , eform(exp(Coef.)) But n…
Running Two Limit Tobit modelHello, I have been attempting to run a Two Limit Tobit model on my data. I have a relatively large d…
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