Dear Friends;
I am trying to work out my descriptive tables where I have to obtain a table of corresponding values between 2 variables, further segregated by a third variable. The command
<table Dum_Gender LC4, by(LC3) contents(freq) column> is working fine, but I want the corresponding percentage values also.
Dum_Gender is a dummy for Females=1 and Males=0
LC4 is a categorical variable with 3 values of Never, Sometimes, Often
LC3 is also a categorical variable with 2 values of Faced Violence and Not faced violence
Image attached for reference
Array
Kindly advice.
Regards
Related Posts with How to generate percentage values in a 3 way frequency table?
Why the researchers add controls variables in Panel Data regression?Dear Statalist, I am wondering about the reasons behind adding more control variables in the panel …
quesiton about Stata programDear all, I want to write a program to transform World Development Indicator(WDI) to panel data.Also…
Using the Code substr() for numbers of regionsHello Everybody! I need help with a code. I have numbers of german's regions (e.g. 1002,1051 to 160…
Keep/drop command affects different data than replacethe sample produced by this code replace region =. if region==-1 drop if region==. sum if region ==…
Creating Portfolios Sorted On Two VariablesHi Everyone, I have currency data that I want to initially sort on NFA(Net Foreign Assets) into two…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate percentage values in a 3 way frequency table?
Post a Comment