Can gender, educational level, and age predict the odds that someone votes for a particular candidate in the election? Over 1500 voters were selected, and data were col-lected on the highest year of school completed, their age, and their gender. We wish to t a logistic regression model: log(1 p p ) = 0 + 1Age + 2Education + 3Gender, where p is the binomial probability that a person voted for candidate Johnson, and gender is coded as the indicator for female. The R output is given below.

College Algebra
1st Edition
ISBN:9781938168383
Author:Jay Abramson
Publisher:Jay Abramson
Chapter6: Exponential And Logarithmic Functions
Section6.8: Fitting Exponential Models To Data
Problem 2TI: Sales of a video game released in the year 2000 took off at first, but then steadily slowed as time...
icon
Related questions
icon
Concept explainers
Question
  1. Can gender, educational level, and age predict the odds that someone votes for a particular candidate in the election? Over 1500 voters were selected, and data were col-lected on the highest year of school completed, their age, and their gender. We wish to t a logistic regression model: log(1 p p ) = 0 + 1Age + 2Education + 3Gender, where p is the binomial probability that a person voted for candidate Johnson, and gender is coded as the indicator for female. The R output is given below.

 

parameter

df

estimate

s.e

z

p-value

(Intercept)

1

.1119

.3481

.321

.748

Age

1

.0020

.0032

.613

.54

Education

1

-.0100

.0184

.547

.585

Gender

1

.4282

.1040

4.117

.000

Null deviance: 255.95 on 1499 degrees of freedom

 

Residual deviance: 220.80 on 1496 degrees of freedom

 

  • Write down the tted logistic regression and give a short summary about the data analysis . 

 

 

 

 

 

  • Calculate the probability of voting for Johnson for a 35-year-old male with 16 years of school?

 

 

 

 

 

  • Find the odds ratio of voting for Johnson between female and male while controlling age and education and interpret the odds ratio.

 

 

 

 

 

 

  • Find the 95% confidence interval for the odds ratio of voting for Johnson between female and male .

 

 

 

 

 

  • The researcher tted another model with Gender as the only predictor and get the result below. Test whether the two nonsigni cant terms (Age and Education) can be both removed from the model in (a), write down the H0, Ha, test statistic, p-value and conclusion:

parameter

df

estimate

s.e

z

p-value

(Intercept)

1

.1325

.3584

.370

.711

Gender

1

.6723

.1258

5.344

.000

 

 

Null deviance: 255.95 on 1499 degrees of freedom

 

Residual deviance: 227.39 on 1498 degrees of freedom

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill