Hi all,
I have a data set with 2.2m observations (individuals), nested in 28 countries, between 1973-2017. Because of the size of the dataset and complexity of models, running them with the individual data is taking far too long. Fortunately, the outcome is binary, and so it is possible to group the data into unique covariate patterns with no danger to inference, hopefully reducing the data set considerably.
Unfortunately, I have no idea how to get from ungrouped to grouped data based on these covariate patterns. I actually only have three individual level covariates (age, gender, education), and not sure how the country-level variables can be factored into this. Does anyone have any idea on how to group the data like this?
Related Posts with Grouped from ungrouped data
foreach- reorganising multiple variablesHi, I am new to STATA and I am struggling to reorganise a large dataset using loops. Each id repre…
Using atcontrasts in margins for a mixed effect modelHi everyone I am currently working on a project (using Stata 15) to analyse changes in kidney funct…
GLM or Tobit Regression & Forecast for different distributions (incl. zero inflation)Dear Statalists, I'd very much like to hear your opinion on the following. What I’m trying to do: …
Lopping and storing beta coeffecients after regress over filesHi everyone, good afternoon. I am not able to make my loop save the results after regress over file…
How to draw a correlation forest map with the admetan command?Dear Statalist, I have recently done a meta-analysis of the correlation coefficient, but I encounter…
Subscribe to:
Post Comments (Atom)
0 Response to Grouped from ungrouped data
Post a Comment