Question

all data is built in in R

4. For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility as5. 1 Run Reset Create a 99% confidence interval for the coefficient for Catholic. Report the upper bound of this interval. En7. 1 Run Reset Create a 95% confidence interval for the average Fertility for a Swiss province in 1888 with: 40% of males inv8. 1 Run Reset Create a 95% prediction interval for the Fertility of a Swiss province in 1888 with: 40% of males involved in9. 1 Run Reset Report the value of the F statistic for the significance of regression test. Enter answer here 10. 1 Run Reset11. 1 Run Reset Consider a model that only uses the predictors Education, Catholic, and Infant.Mortality. Use an F test to co

4. For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility as the response and the remaining variables as predictors. You should use ?swiss to learn about the background of this dataset 1 Run Reset Use your fitted model to make a prediction for a Swiss province in 1888 with: 54% of males involved in agriculture as occupation 23% of draftees receiving highest mark on army examination 13% of draftees obtaining education beyond primary school 60% of the population identifying as Catholic 24% of live births that live less than a year Enter answer here
5. 1 Run Reset Create a 99% confidence interval for the coefficient for Catholic. Report the upper bound of this interval. Enter answer here 6. 1 Run Reset 0 vs HBExamination Calculate the p-value of the test Ho : BExamination 0. Enter answer here
7. 1 Run Reset Create a 95% confidence interval for the average Fertility for a Swiss province in 1888 with: 40% of males involved in agriculture as occupation 28% of draftees receiving highest mark on army examination 10% of draftees obtaining education beyond primary school of the population identifying as Catholic 27% of live births that live less than a year Report the lower bound of this interval. Enter answer here
8. 1 Run Reset Create a 95% prediction interval for the Fertility of a Swiss province in 1888 with: 40% of males involved in agriculture as occupation 28% of draftees receiving highest mark on army examination 10% of draftees obtaining education beyond primary school 42% of the population identifying as Catholic 27% of live births that live less than a year Report the lower bound of this interval. Enter answer here
9. 1 Run Reset Report the value of the F statistic for the significance of regression test. Enter answer here 10. 1 Run Reset Carry out the significance of regression test using a = 0.01. What decision do you make? Fail to reject Ho Reject Ho Reject H1 Not enough information
11. 1 Run Reset Consider a model that only uses the predictors Education, Catholic, and Infant.Mortality. Use an F test to compare this with the model that uses all predictors. Report the p-value of this test. Enter answer here
0 0
Add a comment Improve this question Transcribed image text
Answer #1

4)


data(swiss)
model <- lm(Fertility ~. , data= swiss)
summary(model)

summary(model)

Call:
lm(formula = Fertility ~ ., data = swiss)

Residuals:
     Min       1Q   Median       3Q      Max 
-15.2743  -5.2617   0.5032   4.1198  15.3213 

Coefficients:
                 Estimate Std. Error t value Pr(>|t|)    
(Intercept)      66.91518   10.70604   6.250 1.91e-07 ***
Agriculture      -0.17211    0.07030  -2.448  0.01873 *  
Examination      -0.25801    0.25388  -1.016  0.31546    
Education        -0.87094    0.18303  -4.758 2.43e-05 ***
Catholic          0.10412    0.03526   2.953  0.00519 ** 
Infant.Mortality  1.07705    0.38172   2.822  0.00734 ** 
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 7.165 on 41 degrees of freedom
Multiple R-squared:  0.7067,    Adjusted R-squared:  0.671 
F-statistic: 19.76 on 5 and 41 DF,  p-value: 5.594e-10

>

66.91518-0.17211*54 - 0.25801 * 23 -0.87094 * 13 + 0.10412 * 60 + 1.07705 * 24
[1] 72.46119

>

= 77.46119

6)
p-value = 0.3155


9)
F = 19.76

10)
p-value = 0.0000
we reject Ho
option B)

Please post rest questions again

You can use predict function for these question

Add a comment
Know the answer?
Add Answer to:
all data is built in in R 4. For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear re...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility...

    For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility as the response and the remaining variables as predictors. You should use ?swiss to learn about the background of this dataset. 7. 1 Run Reset Create a 95% confidence interval for the average Fertility for a Swiss province in 1888 with: 40% of males involved in agriculture as occupation 28% of draftees receiving highest mark on army examination 10% of...

  • For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility...

    For Questions 4-11, use the swiss dataset, which is built into R. Fit a multiple linear regression model with Fertility as the response and the remaining variables as predictors. You should use ?swiss to learn about the background of this dataset. 9. 1 Run Reset Report the value of the F statistic for the significance of regression test. Enter answer here point 10. 1 Run Reset 0.01. What decision do Carry out the significance of regression test using a you...

  • For this exercise we will run a regression using Swiss demographic data from around 1888. The...

    For this exercise we will run a regression using Swiss demographic data from around 1888. The sample is a cross-section of French speaking counties in Switzerland This data come with the R package datasets. The first step is to load the package into your current environment by typing the command libraryldatasets) in to the R console. This loads a number of datasets including one called swiss. Type help/swiss) in the console for additional details. The basic variable definitions are as...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT