Created
November 12, 2018 21:10
-
-
Save WalkerHarrison/f8a49c993b1faeac29287cdbcc02906b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
strapz <- list() | |
k <- 10 | |
for (i in 1:k){ | |
meps.bs <- meps %>% sample_n(nrow(.), replace = TRUE) | |
prop.score.fit <- multinom(race ~ . - healthExp, data = meps.bs, maxit = 200, | |
trace = FALSE, model = TRUE) | |
strapz[[i]] <- prop.score.fit | |
} | |
save(strapz, file = "strapz.Rdata") | |
predict(strapz[[1]], type = "prob") | |
strapz[[1]]$model |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment