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
How to create two new variables from one?Dear statalists, I'm writing my master thesis and have come across some data handling-issues. I use…
How to break the interval value (e.g. 1200-1347) of a string variable into many years taking values from 1200 to 1347 year by year?Is the question clear? Many thanks! Linghui Han …
Moving average between missing variablesHi. I have monitoring data which were collected every three hours, as shown below. I am trying to fi…
Loop to replace string variablesMy dataset is in wide format. Variables are string and non-string. Lots of vaibales contain "NA". I …
Kernel RegressionI am trying to apply kernel regression to detect technical patterns in stock market prices. Attached…
Subscribe to:
Post Comments (Atom)
0 Response to Summary statistics with categorical variables
Post a Comment