Order from us for quality, customized work in due time of your choice.
Please don’t accept if you don’t have or are not familiar with R Studio
This problem examines logistic regression. You will want to review the material on linear regression including the use of logistic regression in R Studio. The date needed is attached Below
Here is a video on how to handle parts a.i to a.iii
DataDeliverable:
RMD and the KNITed output
Run the code below and answer parts d and e.
Code
NOTE: DO NOT INCLUDE INSTALL.PACKAGES IN .RMD FILE – YOU WILL GET AN ERROR WHEN YOU KNIT
library(caret)
library(MASS)
bank.df <- read.csv("banks.csv")
head(bank.df)
reg<-glm(Financial.Condition ~ TotExp.Assets + TotLns.Lses.Assets,
data = bank.df, family = "binomial")
summary(reg)
reg$coefficients
NOTE: You may need to convert the formulas given here into a form that works in R
logit <- c(1, 0.11, 0.6) %*% reg$coefficients
odds <- exp(-logit)
prob <- 1/(1+odds)
prob
(0.6)/(1-0.6)
PUT your answer here
PUT your answer here.
Order from us for quality, customized work in due time of your choice.