Programming the statistical procedures from SAS

Logit odds missing valuer

Accepted Solution Solved
Reply
Contributor
Posts: 56
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,841

Re: Logit odds missing valuer

Posted in reply to sameer112217

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
Super User
Posts: 20,765

Re: Logit odds missing valuer

Posted in reply to sameer112217

Missing. 

Super User
Posts: 10,217

Re: Logit odds missing valuer

Posted in reply to sameer112217

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

Contributor
Posts: 56

Re: Logit odds missing valuer

Single x1 with rest of values

Super User
Posts: 10,217

Re: Logit odds missing valuer

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

Super User
Posts: 20,765

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. 

Super User
Posts: 10,217

Re: Logit odds missing valuer

Posted in reply to sameer112217
Sorry. 
If one single obs(x1) is MISSING ......
Contributor
Posts: 56

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,841

Re: Logit odds missing valuer

Posted in reply to sameer112217

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: 56

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
  • 203 views
  • 0 likes
  • 4 in conversation