Hi, i was trying to compute the summary statistics for a set of categorical variables and used asdoc to export it to use .
asdoc su i.qd1 qd7 i.edu i.qd10 i.area5 i.pop_com
As im working with categorical variables i was looking for the mean/perchentage only so i added the specification but then i am getting an error that says "factor-variable and time-series operators not allowed"
asdoc su i.qd1 qd7 i.edu i.qd10 i.area5 i.pop_com, stat(mean)
Thanks in advance
Related Posts with Summary statistics with categorical variables
Dynamic model with cross sectional dataDear all, I will please like to find out how to run a dynamic model in Stata when i have a cross se…
Mean different from zero, problemI want to test if my dependent variable differs significanlty from zero. My sample is not normally d…
No p-value in xtpedroni cointegration testDear All, I ran xtpedroni cointegration and the p-values are not sowing. However, the reviewer for …
Forecasting in Balanced Panel dataHello I have data of 50 countries from 1990 to 2018. We want to forecast analysis for three specific…
Trim Stata OutputHi, My dataset has many (more 100,000) observations. I am running a standard fixed effects model wi…
Subscribe to:
Post Comments (Atom)
0 Response to Summary statistics with categorical variables
Post a Comment