In my panel data (firm-year), I was able to calculate the row mean using
egen RowMean=rmean(Var1 Var2 Var3) if !missing(Var1) & !missing(Var2) & !missing(Var3)
How about the row median (at the firm-year level)?
Related Posts with Calculate row median
Differences in margins postestimation command for tpoisson relative to poissonI'm currently using a truncated poisson model with command tpoisson and ll(0) and ul(6) for a depend…
sex of the first born childhi stata user , I'm having trouble in generating sex of the first born child. can anyone help me ? …
plotting interaction for xtpoissonHi Statalist fellow, I have run an analysis but I don't trust my result. I would be extremely apprec…
Extract Std.Err. and 95% Conf. Interval after regressionHi Statalist After running a regression, I understand we can extract the estimated coefficients in …
Manipulating panel data based on previous time valuesHi, I am working with a district-year panel data set in which there are 10 years. I am interested i…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate row median
Post a Comment