Ask your own question, for FREE!
Statistics 8 Online
OpenStudy (anonymous):

categorical data analysis and R help

OpenStudy (anonymous):

Using table 2.10 on page 50, t a logit model treating death penalty as response (1 = yes) and defendant's race (1 = white) and victim's race (1 = white) as dummy predictors (a) Interpret the parameter estimates. Which group is most likely to have the yes response? Find the estimated probability in that case.

OpenStudy (anonymous):

R code that i wrote : v <- c(1,0) d <- c(1,0) p <- c(1,0) fit <- glm(p~ v +d, family = binomial(link = logit)) summary(fit)

OpenStudy (anonymous):

and the output is : > v <- c(1,0) > d <- c(1,0) > p <- c(1,0) > > fit <- glm(p~ v +d, family = binomial(link = logit)) > > summary(fit) Call: glm(formula = p ~ v + d, family = binomial(link = logit)) Deviance Residuals: [1] 0 0 Coefficients: (1 not defined because of singularities) Estimate Std. Error z value Pr(>|z|) (Intercept) -23.57 79462.00 0 1 v 47.13 112376.24 0 1 d NA NA NA NA (Dispersion parameter for binomial family taken to be 1) Null deviance: 2.7726e+00 on 1 degrees of freedom Residual deviance: 2.3305e-10 on 0 degrees of freedom AIC: 4 Number of Fisher Scoring iterations: 22

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!