Question: Using R: Problem 5a: SLR model for Charges vs. Smoker For the insurance data frame, use simple linear regression of charges against age for smokers

Using R:

Problem 5a: SLR model for Charges vs. Smoker

For the insurance data frame, use simple linear regression of charges against age for smokers (people with smoker = 1)

Assuming that the simple linear regression model is appropriate, find the p-value for a t-test of the null hypothesis that the regression coefficient for age as a predictor of charges for smokers is zero. -Round to 2 digits, like 1.23e-45

Problem 5b Based on the preceding t-test and p-value, what is the smallest significance level at which you would reject (or be indifferent between accepting and rejecting) the null hypothesis?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!