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
Stone geometric price index in stataHi Statalists, Does anyone know how to compute the Stone geometric price index in stata? …
Bootstrapping multi-level logit model with endogenous predictor using control function (Wooldridge): Handling fixed effects in bootstrapDear all I am seeking to implement the control function approach in the context of a multi-level mo…
Problems constructing a Variable indicating the share of male and female in an occupationDear Statalisters, I am currently working on a university project and am struggeling to build a var…
xtreg with low R-sqHello, I have two dependent variables and 9 independent variables. I ran xtreg command using the f…
Bootstraping after "mi estimate, cmdok: sureg"Hi Statalist, I would like to test the significance of the indirect effect of multiple mediators. T…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing Data Issue
Post a Comment