logit(p)== b0 + b1x1.
If x1 value is missing. what will be the value of the odds? Missing or some value?
Can anyone answer?
The predicted value is missing for every observation in which any explanatory variable in the model is missing. The regression model cannot compute a predicted value (or a residual) when there is a missing value on the right-hand side of the model.
Missing.
You mean a single x1 value is missing or all the x1 value are missing ?
Single x1 with rest of values
If one single obs (x1) is not missing. SAS will remove that obs from fitting MODEL. Therefore, ODDS should have a value .
@Ksharp you've assumed the OP is fitting a model, given the formula it could be a simple data step.
Either way the answer is missing. It would also be much faster to check this out than to ask.
Sorry. If one single obs(x1) is MISSING ......
Hello Ksharp and Reeza!
Thanks for the explanation. Just to make it clear I am explaining this
The logistic regression equation is: (just an example
logit(p) = -4.48 + 0.11 x AGE + 1.16 x SMOKING
I am asking for one below
logit(p) = -4.48 + 0.11 x AGE (Just one equation)
and if age value is missing ...what would be outcome? 0? or missing value? or some value
Sameer
The predicted value is missing for every observation in which any explanatory variable in the model is missing. The regression model cannot compute a predicted value (or a residual) when there is a missing value on the right-hand side of the model.
Thank you everyone for the help
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.