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
Escape code tags?\ Code: \ …
error obtaining starting values; try fitting a marginal model in order to diagnose the problemHi Statalist First time poster, long time reader here. I have searched the list and online for answ…
Test of difference - unpaired 2 proportion survey data w/ clusteringHi there, I am trying to develop tests of difference for 2 unpaired sets of data from cross-section…
Conditioning for values within a variable while using foreachHi everyone! I'm new to the forum, but here it goes. I have the following code, where I'm just tryin…
Convergence not achieved with xtlogit, fe, but it does converge with xtlogit, reI am using xtlogit on the following data: input str2 st int date byte club float(combo l ca com) by…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate row median
Post a Comment