Hi, I am running the following program
Regression analysis for predictors of ICU admission(icu) against patient variables such as (age), (race), and other patient parameters(insur los hospday i.loc cancel orgdys___0 orgdys___1 etc).
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: logistic icu age race i.insur los hospday i.loc cancel orgdys___0 orgdys___1 orgdys___2 orgdys___3 orgdys___4 orgdys___5 sirs___0 sirs___1 sirs___2 sirs___3 flu hypoten abx ams qsofa___0 qsofa___1 qsofa___3 t2dm htn chf cad esrd copd afib cld smok alc i.bmi art
Result:
Array
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not understand why I have so many missing values for p-value and CI etc
However, when I run a subset of the patient parameters such as the following example, I get meaningful results.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Code: logistic icu age race i.insur los hospday i.loc cancel orgdys___0 orgdys___1 orgdys___2 orgdys___3 orgdys___4 orgdys___5 sirs___0 sirs___1 sirs___2 sirs___3
Results:
Array
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Can someone please help me understand why the former code generates so many missing values in the results?
Related Posts with Missing values when I run regression analysis
How to make a loop continue working if a variable it is not found?Hello. I am trying to generate graphs from some variables. I do not have all possible combinations …
STATA can't handle TOEPLITZ 1 (MDEPENDENT(1)) and AR(1) when bootstrapping mixed modelsTOEPLITZ 1 (MDEPENDENT(1)) bootstrap, reps(20) seed(1) saving(mdep1test): mixed Pain i.RANDOM W W2 …
nwcommands "invalid" errorHello, I just discovered the nwcommands in stata for network analysis. This will make life so much e…
Looping through two different sets of valuesI have data from several years. Each is stored in a file entitled "year 1" "year 2" .... "year 8". T…
Filling in Missing YearsHi Statalist, I'm trying to fill in missing years for my dataset, but something is off. The origina…
Subscribe to:
Post Comments (Atom)
0 Response to Missing values when I run regression analysis
Post a Comment