0
$\begingroup$

I get the following coefficients from a logistic glm but need to convert it into a formula, i.e. Y= b0 + bx1 + bx2...

enter image description here

My challenge is that the variables are discrete and each missing a category: OSHIGH, highcHIGH, highpHIGH, altregionDK. How do I get the coefficients for these variables or create a formula including all?

$\endgroup$
1
  • $\begingroup$ I think indicator variables can be used. $\endgroup$
    – Shanks
    Commented May 20, 2018 at 13:47

1 Answer 1

0
$\begingroup$

Your problem is that R is using one level of each categorical predictor as a reference level. You can actually derive your values from your current output, but I believe you can also get explicit output by forcing regression through the origin with formula = Y ~ X1 - 1 (of course adapt this to fit your use case).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.