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
Problem with svyset using panel dataHi, …
Writing a Program for repetitive calculationDear Statalist colleagues, I am keep calculating same formula for more than 10 variables and wanted…
Scatter plot troubles! Hi! I'm trying to analyse some statistics and was having trouble figuring out why my scatter plots …
Stata 17 - bayesmh not replicating a simple example already done in Stata 15Dear Forum Members, I'm trying to replicate in Stata 17 this (quite simple) example from Stata Yout…
Generating four new variables out of one variable in a panel datasetHello, I'm trying to create four new variables in the following dataset: Code: input long pidp fl…
Subscribe to:
Post Comments (Atom)
0 Response to collapse all Variables in Stata
Post a Comment