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?
Issue with simulations data - non r-class program may not set r()I have written a program which does not output my values correctly Code: program Datageneration, r…
Syntax for using and merging multiple tempfilesI have been given a dataset (it is a translation table) to use that is set up in a fairly disorganiz…
Working with hierarchical dataHi, I’m working with hierarchical data from the Current Population Survey. Each household (QSTNUM) …
GLM with proportion DV and categorical IV. Which STATA formula should I use?I ran an experiment to see if a particular gamification design (2 treatment groups) would perform be…
calculating time differences (duration)Dear All, I was asked this question. The data is Code: * Example generated by -dataex-. To install…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate percentage values in a 3 way frequency table?
Post a Comment