Hi all
I am trying to find out the average of certain categorical variables.
The variable Name_mat is a string variable, therefore I destring(ed) them and used the label define command to label the codes which I wanted for my analysis.
I used the command tab Name_mat, sum(Name_mat) to find the mean. However, the mean values of the respective variables are the same as the codes they had been coded. Array
Related Posts with Categorical Variables
How can I extract the one particular strings from several strings?Hi all,
I have some addresses separated by ";" in the following format:
“ Univ London Imperial Col…
Export entire regression output with estoutHi,
I am trying without success to export the entire output of a simple regression (such as the one…
Finding the game that your friend also play for network analysisHello, statalist community!
Currently I am trying to manipulate my dataset so that I can use it to …
Select a certain number of variables from .dat fileHello everyone,
I have a big .dat file that makes my laptop freeze every single time that I try to …
Difficulty with egenHi all,
I usually have no problem with egen but I am finding it impossible to complete a relatively…
Subscribe to:
Post Comments (Atom)
0 Response to Categorical Variables
Post a Comment