Microsoft Word - HW-3.docx.pdf 2 PART 2 (20 points) The data set kid.weights (Library: UsingR) contains age, weight, and height measurements for several children. (a) Fit the linear model shown below...

1 answer below »

View more »
Answered Same DayMar 28, 2021

Answer To: Microsoft Word - HW-3.docx.pdf 2 PART 2 (20 points) The data set kid.weights (Library: UsingR)...

Mohd answered on Mar 29 2021
154 Votes
---
title: "Untitled"
author: '-'
date: "3/29/2021"
output: word_document
---
PART 2 (20 points)
The data set kid.weights (Library: UsingR) contains age, weight, and height measurements fo
r several children.
(a) Fit the linear model shown below and report summary of the model.
weight = b0 + b1age + b2height + b3height2 + b4height3 + b5height4
```{r}
#install.packages("UsingR")
#library(UsingR)
#kid.weights
mod2<-lm(weight~age+height+I(height^2)+I(height^3)+I(height^4),data=kid.weights)
summary(mod2)
```
(b) Use the partial F-test to select between this model and the nested models found by using only first-, second-,
and third-degree polynomials for height.
```{r}
mod21<-lm(weight~height+I(height^2)+I(height^3),data=kid.weights)
anova(mod21,mod2)
```
PART 3 (20 points)
(Use TermLife.csv data file) Term Life Insurance: Here we examine the 2004 Survey of Consumer Finances
(SCF), a nationally representative sample that contains extensive information on assets, liabilities, income, and
demographic characteristics of those sampled (potential U.S. customers). We study a random sample of 500
families with positive incomes. From the sample of 500, we initially consider a subsample of n = 275 families
that purchased term life insurance.
Note: For n = 275, we want you to subset the data so that you are only looking at rows where FACE > 0. Also,
variable LNFACE = log of the face variable and LNINCOME = log of the income variable.
(a) Fit a linear regression model of LNINCOME, EDUCATION, NUMHH, MARSTAT, AGE, and
GENDER on LNFACE.
(b) Check if multicollinearity is present.
(c) Briefly explain the idea of collinearity and a variance inflation factor. What constitutes a large variance
inflation factor?
(d) Supplement the variance inflation factor statistics with a table of correlations of explanatory variables.
Given these statistics, is collinearity an issue with this fitted model? Why or why...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here
April
January
February
March
April
May
June
July
August
September
October
November
December
2025
2025
2026
2027
SunMonTueWedThuFriSat
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
00:00
00:30
01:00
01:30
02:00
02:30
03:00
03:30
04:00
04:30
05:00
05:30
06:00
06:30
07:00
07:30
08:00
08:30
09:00
09:30
10:00
10:30
11:00
11:30
12:00
12:30
13:00
13:30
14:00
14:30
15:00
15:30
16:00
16:30
17:00
17:30
18:00
18:30
19:00
19:30
20:00
20:30
21:00
21:30
22:00
22:30
23:00
23:30