Programming the statistical procedures from SAS

Logit odds missing valuer

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

Logit odds missing valuer

logit(p)== b0 + b1x1.

 

If x1 value is missing. what will be the value of the odds? Missing or some value?

 

Can anyone answer?

 

 


Accepted Solutions
Solution
‎11-27-2016 03:49 PM
SAS Super FREQ
Posts: 3,304

Re: Logit odds missing valuer

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.

View solution in original post


All Replies
Grand Advisor
Posts: 16,850

Re: Logit odds missing valuer

Missing. 

Grand Advisor
Posts: 9,444

Re: Logit odds missing valuer


You mean a single x1 value is missing 
or all the x1 value are missing ?

Contributor
Posts: 24

Re: Logit odds missing valuer

Single x1 with rest of values

Grand Advisor
Posts: 9,444

Re: Logit odds missing valuer

If one single obs (x1) is not missing. SAS will remove that obs from fitting MODEL.
Therefore, ODDS should have a value .

Grand Advisor
Posts: 16,850

Re: Logit odds missing valuer

@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. 

Grand Advisor
Posts: 9,444

Re: Logit odds missing valuer

Sorry. 
If one single obs(x1) is MISSING ......
Contributor
Posts: 24

Re: Logit odds missing valuer

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

 

 

Solution
‎11-27-2016 03:49 PM
SAS Super FREQ
Posts: 3,304

Re: Logit odds missing valuer

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.

Contributor
Posts: 24

Re: Logit odds missing valuer

Thank you everyone for the help

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 9 replies
  • 145 views
  • 0 likes
  • 4 in conversation