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
using coefplot with xtregI am using HTML Code: xtreg to run an event study model and would like to use coefplot with it. I h…
Newey West SE for a sample with same date in different quintilesHere is my data example. For one date, I have different values of term in different quintile (quint)…
IBES Analyst Mean Forecast (EPS) for Year 1-3Dear all, I have downloaded the analyst forecast data from IBES and now want to create panel data (U…
Problem with xtunitroot llc: throws error r(2000) with strongy balanced panelI am using the Levin Lin Chiu test in Stata 17 to test for stationarity in a panel of 115 countries,…
Problem with prediction after mlogitHi, I am working with a Household survey for 2022, where each row is an individual. I have informat…
Subscribe to:
Post Comments (Atom)
0 Response to Prevalence with multiple variables
Post a Comment