Skip to content

Instantly share code, notes, and snippets.

@mfmakahiya
Created July 30, 2019 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfmakahiya/732dadb51bb686e0611611149c27ca74 to your computer and use it in GitHub Desktop.
Save mfmakahiya/732dadb51bb686e0611611149c27ca74 to your computer and use it in GitHub Desktop.
# Train the model (Logistic regression)
lmmod = lm(diagnosis ~ . , data = train[,2:32])
summary(lmmod)
coeftest(lmmod, vcov. = vcovHC, type = "HC1")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment