Hi I have number of variables in Stata and I want to collapse in Stata using mean statistics.
collapse (mean) DHSCLUST-time_var , by (id)
type mismatch
I am getting the type mismatch error
Related Posts with collapse all Variables in Stata
Wanted: New Home for Survey Sampling textsI've retired from professional work and I'd like to donate the stat books in my library to a good ho…
Table of Sums Without Collapse?Hi Stata Friends - I'm back with a question regarding creating a table of values. I want to ascerta…
Help needed: Automate extracting of dataHi all, I am using Stata 16 and I need some help in automating the process of extracting data. I am…
how to include random intercept in predicted margins and plot after mi estimate: mixedHi all, I've got a dataset of students in schools for which I've imputed 20 datasets, and I'm estim…
How interpret subgroup analysis output not report heterogeneity statistics for some groups?I wonder how to interpret the following heterogeneity statistics for subgroup analysis Array …
Subscribe to:
Post Comments (Atom)
0 Response to collapse all Variables in Stata
Post a Comment