I tried this:
collapse (mean) mpg_all ///
, by(state_code.year.month)
Received this error:
factor-variable and time-series operators not allowed
(error in option by())
What does this mean, Please Help!
Related Posts with Collapsing Data Issue
Problem in duplicate case using HIES 2018-19My data has duplicate cases, I want to remove duplicate case if they report '2' as response in varia…
Measuring women's empowerment: creating an index for psychological well being, social support and decision-making powerDear Statalisters, For my thesis I am working on a dataset in which empowerment is measured from th…
longitudinal analysis with measurements taken at different timesdear stata users, I'm dealing with a longitudinal dataset with measurements taken in different time…
test Code: . xtnbreg collab_weight lie_dummy lmie_dummy umie_dummy hie_dummy crudeoil distance exp_good…
Bootstrap Maximum Likelihood Estimation_ time-seriesDear Statalist users, I would like to conduct a bootstrap maximum likelihood to estimate a linear t…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing Data Issue
Post a Comment