Hello, I am analyzing a hospital dataset which provides demographic, diagnostic, and procedural data for each discharged patient.
There are 15 procedure code variables for each patient (but not all patients had 15 procedures). These are labeled cpt1, cpt2, cpt3, etc. I would like to identify the most common procedure codes, but do not know how to look at each variable simultaneously. For example, I don't want to just know what is the most common cpt1 code, but rather the most common code out of all CPT variables.
I am using Stata/SE 14.2.
I appreciate any help!
Related Posts with Prevalence with multiple variables
Time trend in Random Effects panel data modelI am trying to estimate the effect of a range of bank specific variables like Size, Risk leverage, A…
Dealing with Date variables in StataHello, I am using Stata 16.1 (MP). I have a date variable, which is stored as a numeric variable in …
Is that possible to output correlation coefficient above a cutoff?For example, output the coefficient above .7 to a table, can we do this? can command estout do this?…
Mean difference in metaanalysis stata13Hello statalist team!! I am using Sata13 for a metaanalysis. I use the command metan N1 varname1 sd1…
Invalid syntax when trying break the line of codesHi all experts, Today I try to break a long code to multiple lines but Iface the same errors and I …
Subscribe to:
Post Comments (Atom)
0 Response to Prevalence with multiple variables
Post a Comment