filmov
tv
Using RStudio to Estimate a Logistic Model

Показать описание
In this video, I demonstrate how to use RStudio to estimate and make predictions with a logistic model, using data imported from an Excel workbook. The explanation uses the following example:
Thirty recent mortgage applications are obtained to analyze the mortgage approval rate. The response variable 𝑦 equals 1 if the mortgage loan is approved, 0 otherwise. It is believed that approval depends on the percentage of the down payment (𝑥_1) and the percentage of the income-to-loan ratio (𝑥_2).
Estimate and interpret the logistic model.
Predict the loan approval probability for an applicant with a 20% down payment and a 30% income-to-loan ratio. What if the down payment was 4%, 30%, 60%?
Thirty recent mortgage applications are obtained to analyze the mortgage approval rate. The response variable 𝑦 equals 1 if the mortgage loan is approved, 0 otherwise. It is believed that approval depends on the percentage of the down payment (𝑥_1) and the percentage of the income-to-loan ratio (𝑥_2).
Estimate and interpret the logistic model.
Predict the loan approval probability for an applicant with a 20% down payment and a 30% income-to-loan ratio. What if the down payment was 4%, 30%, 60%?