Hi.
I am looking to table of momparative summary statistics.
I have 3 categorical variables. The HEATHL variable is 1"Excellent" 2"Poor“. Gender is coded as 1"Male" 2"Female". Language is coded as 1"English" 2"Other".
I use table command.
table (var) (GENDER HEATHL), statistic (fvpercent LANGUAGE_2GR) statistic (fvfrequency LANGUAGE_2GR) nformat(%6.1f fvpercent) nformat(%6.0f fvfrequency)
I have this dataset in frequency and percent.
BUT the idea is to show this table only in percent and by condition if cells frequency less at 100, then replace percent with „ .. „.
I am therefore wondering if anyone could help me with finding some ways for this solution. Thanks.
Related Posts with Table of comparative summary statistics
Values of Coefficient and Power of Test in Data EditorHello, I am using the following command "bysort var: reg y x". In doing so, I get many results. Fo…
nscale: new package for rescaling variables to run from 0 to 1 now available on SSCThanks to Kit Baum, a new package called nscale is now available on SSC archive. Code: . ssc insta…
How to convert -mixed- to -gsem-Does anyone know how to convert a 3-level model with random-effects and random slopes from by -mixed…
Displaying contents of a constraint: negative values shows up as "0-,12345" etc.Dear all, I have been a long-time reader of Statalist and usually find what I need in the excellent…
Use e(sample) on imputed datasetDear Statalist, I'm doing Cox regression with a categorical variable. To obtain the count within e…
Subscribe to:
Post Comments (Atom)
0 Response to Table of comparative summary statistics
Post a Comment