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?
snapshot with descriptive names instead of numbersI just upgraded to Stata 16 today and I was experimenting with the new frames feature. This allows a…
Adoupdate not working in new installationDear users, I recently installed Stata 15 in a new machine with Windows 10. I first download -ftools…
How to execute a Matlab script from StataHi all, I'd like to run a Matlab script from within my Stata Do-File. Haven't done this before, but…
How to test for multiple instruments in in etregress or eregressDear all: I am using Stata 15 to run a linear regression with endogenous treatment aiming to do inst…
Combine multiple columns into oneHi all, If there is a loop like following: Code: forv y = 2009/2012 { forv p = 1/20 { egen `…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate percentage values in a 3 way frequency table?
Post a Comment