Answered step by step
Verified Expert Solution
Question
1 Approved Answer
what are the commands in the case of Rstudio? Use R, and estimate the model deny - pirat +back+hrat Ahmed), livrat Bob,chist Cumhist Yagmur that
what are the commands in the case of Rstudio?
Use R, and estimate the model deny - pirat +back+hrat Ahmed), livrat Bob,chist Cumhist Yagmur that is the third variable is just for you. Then calculate the probability of denial for a black and white applicant when pirat= 3, hirat= 25, vrat= 75, ch st=2.1, and mhist=1.7 In table 11.1 you can find the defnitions of these variables. deny= 1 if mortgage application denied, 0 otherwise pirate Ratio of total monthly debt payments to tota monthly income black= 1 if applicant is black. O if white hirat Ratio of monthly housing expenses total monthly income livrat Rat o of size of loan to assessed value of property chist=consurrer credit score mhist= mortgage credit score InR start with library(AER) chist= consumer credit score mhist= mortgage credit score in R start with library(AER) data( HMDA) then convert "deny" to numeric and change "afam" to "black" 1. first use the linear probability model 2. then probit model Use R, and estimate the model deny - pirat +back+hrat Ahmed), livrat Bob,chist Cumhist Yagmur that is the third variable is just for you. Then calculate the probability of denial for a black and white applicant when pirat= 3, hirat= 25, vrat= 75, ch st=2.1, and mhist=1.7 In table 11.1 you can find the defnitions of these variables. deny= 1 if mortgage application denied, 0 otherwise pirate Ratio of total monthly debt payments to tota monthly income black= 1 if applicant is black. O if white hirat Ratio of monthly housing expenses total monthly income livrat Rat o of size of loan to assessed value of property chist=consurrer credit score mhist= mortgage credit score InR start with library(AER) chist= consumer credit score mhist= mortgage credit score in R start with library(AER) data( HMDA) then convert "deny" to numeric and change "afam" to "black" 1. first use the linear probability model 2. then probit modelStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started