I intend to develop a survival prediction model for outcome following major trauma.
Dependent variable: survival vs. death 30 days after injury. Independent variables: age (numeric), anatomical injury (numeric), physiological derangement on admission (numeric), and pre-injury comorbidity (categorical).
In a recent publication I have read the following statement: "For numerical variables, the statistical package Stata adjusts the variables by subtracting the sample mean before model coefficients are calculated".
I have performed the same logistic regression (same data set) both in Stata 11.2 and in JMP (SAS) and obtains the same Odds ratios and the same coefficients, exactly as expected. I have not done any maneuver to subtract the sample mean to adjust the numerical variables.
"...subtracting the sample mean before model coefficients are calculated"; Is that something that happens in Stata (and JMP, seeing that I have the same results of the logistic regression in both packages) independent of whether or not the user have knowledge of such adjustments? Can anyone help me understand the statement above? Do I have to do any maneuver in Stata to adhere to this, or should I use the regression coefficients for numerical variables as presented in the output when presenting my new model?
I would appreciate if anyone could help me understand.
Nils Oddvar Skaga
Dependent variable: survival vs. death 30 days after injury. Independent variables: age (numeric), anatomical injury (numeric), physiological derangement on admission (numeric), and pre-injury comorbidity (categorical).
In a recent publication I have read the following statement: "For numerical variables, the statistical package Stata adjusts the variables by subtracting the sample mean before model coefficients are calculated".
I have performed the same logistic regression (same data set) both in Stata 11.2 and in JMP (SAS) and obtains the same Odds ratios and the same coefficients, exactly as expected. I have not done any maneuver to subtract the sample mean to adjust the numerical variables.
"...subtracting the sample mean before model coefficients are calculated"; Is that something that happens in Stata (and JMP, seeing that I have the same results of the logistic regression in both packages) independent of whether or not the user have knowledge of such adjustments? Can anyone help me understand the statement above? Do I have to do any maneuver in Stata to adhere to this, or should I use the regression coefficients for numerical variables as presented in the output when presenting my new model?
I would appreciate if anyone could help me understand.
Nils Oddvar Skaga
Comment