Question

In: Statistics and Probability

Question 4 A simple linear regression model was used in order to predict y, duration of...

Question 4

A simple linear regression model was used in order to predict y, duration of relief from allergy, from x, dosage of medication. A total of n=10 subjects were given varying doses, and their recovery times noted. Here is the R output.

summary(lmod4)

##
## Call:
## lm(formula = y ~ x)
##
## Residuals:
##     Min      1Q Median      3Q     Max
## -3.6180 -1.9901 -0.4798 2.2048 3.7385
##
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)   
## (Intercept) -0.3997     2.7372 -0.146 0.887521   
## x             2.6399     0.4389   6.015 0.000318 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 2.807 on 8 degrees of freedom
## Multiple R-squared: 0.8189, Adjusted R-squared: 0.7963
## F-statistic: 36.18 on 1 and 8 DF, p-value: 0.000318

Compute 95% confidence intervals for β0 and β1. Give them in the form (Lower Bound, Upper Bound) NOT in the form estimate ± error margin. Also give the value of t that you used

β0: CI ( ________ , ________) ; β1: CI ( _________ , _________) ; t = __________

If the total sum of squares is TSS=348.05 and the residual sum of squares is RSS=63.02, find

R2= _____0.8189___________ ; Radj2 = _________0.7963___________

Solutions

Expert Solution

Coefficients:

Intercept β0 = -0.3997 with t value -0.146 and p valuee 0.887521. p value is relatively higher which means β0 is not significant enough. CI for β0 : (-3.1369 , 2.3375)

Coefficient β1 =2.6399 with t value 6.015 and p value 0.000318. this means this is highly significant.

CI = (2.201 , 3.079)

Model is: y = -0.3997 + 2.6399x which means with unit change in x, y changes 2.6399 times.

the Residual standard error: 2.807, meaning that the observed y values deviate from the predicted values by approximately2.807 units in average.

From the output above, the R2 is 0.8189, meaning that the observed and the predicted outcome values are highly correlated, which is very good for the data.

An Adjusted R2 that is close to 1 indicates that a large proportion of the variability in the outcome has been explained by the regression model whereas close to 0 0 indicates that the regression model did not explain much of the variability in the outcome. Adjusted R-squared: 0.7963 , which is good.

Larger F-statistic corresponds to a statistically significant p-value (if p < 0.05). Here the F-statistic: 36.18 on 1 and 8 DF, p-value: 0.000318, which is highly significant.

Model is fitted good.


Related Solutions

            Develop a simple linear regression model to predict the price of a house based upon...
            Develop a simple linear regression model to predict the price of a house based upon the living area (square feet) using a 95% level of confidence.             Write the reqression equation             Discuss the statistical significance of the model as a whole using the appropriate regression statistic at a 95% level of confidence.              Discuss the statistical significance of the coefficient for the independent variable using the appropriate regression statistic at a 95% level of confidence.             Interpret the...
Develop a simple linear regression model to predict a person’s income (INCOME) based on their age...
Develop a simple linear regression model to predict a person’s income (INCOME) based on their age (AGE) using a 95% level of confidence. a. Write the regression equation. Discuss the statistical significance of the model as whole using the appropriate regression statistic at a 95% level of confidence. Discuss the statistical significance of the coefficient for the independent variable using the appropriate regression statistic at a 95% level of confidence. Interpret the coefficient for the independent variable. What percentage of...
. Develop a simple linear regression model to predict a person’s income (INCOME) based upon their...
. Develop a simple linear regression model to predict a person’s income (INCOME) based upon their years of education (EDUC) using a 95% level of confidence. a. Write the reqression equation. b. Discuss the statistical significance of the model as a whole using the appropriate regression statistic at a 95% level of confidence. c. Discuss the statistical significance of the coefficient for the independent variable using the appropriate regression statistic at a 95% level of confidence. d. Interpret the coefficient...
6. In the simple linear regression model, the y-intercept represents the: a. change in y per...
6. In the simple linear regression model, the y-intercept represents the:a. change in y per unit change in x.b. change in x per unit change in y.c. value of y when x=0.d. value of x when y=07. In the simple linear regression model, the slope represents the:a. value of y when x=0.b. average change in y per unit change in x.c. value of x when y=0.d. average change in x per unit change in y.8. In regression analysis, the residuals...
A least-squares simple linear regression model was fit predicting duration (in minutes) of a dive from...
A least-squares simple linear regression model was fit predicting duration (in minutes) of a dive from depth of the dive (in meters) from a sample of 45 penguins' diving depths and times. Calculate the F-statistic for the regression by filling in the ANOVA table. SS df MS F-statistic Regression Residual 1628.4056 Total 367385.9237
You are developing a simple linear regression analysis model. The simple correlation coefficient between y and...
You are developing a simple linear regression analysis model. The simple correlation coefficient between y and x is -0.72. What do you know must be true about b1. The least squares estimator of B1? Why? In a multiple linear regression analysis with k = 3. From the t test associated with B1, you conclude that B1 = 0. When you do the f test will you reject or fail to reject the null hypothesis? Why? In a simple bilinear regression...
Use Excel to estimate a simple linear regression model for the following data (Y is a...
Use Excel to estimate a simple linear regression model for the following data (Y is a dependent variable and X is an independent variable): Y X 0 -2 0 -1 1 0 1 1 3 2 Fill in Multiple Blanks: What is the slope of the estimated line?  In your answer, show one (1) digit to the right of the decimal point, for example, 1.0, 1.2. Apply the appropriate rounding rule if necessary. What is the Y-intercept?
Develop a simple linear regression model to predict the Cost of Living Index based upon Restaurant...
Develop a simple linear regression model to predict the Cost of Living Index based upon Restaurant Price Index using a 95% level of confidence. Write the reqression equation. Discuss the statistical significance of the model as a whole using the appropriate regression statistic at a 95% level of confidence. Discuss the statistical significance of the coefficient for the independent variable using the appropriate regression statistic at a 95% level of confidence. Interpret the coefficient for the independent variable. What percentage...
The following linear regression model can be used to predict ticket sales at a popular water...
The following linear regression model can be used to predict ticket sales at a popular water park (the correlation is significant). Ticket sales per hour = -631.25 + 11.25(current temperature in °F) Choose the statement that best reflects the meaning of the slope in this context. Group of answer choices The slope is slippery. The slope tells us that a one degree increase in temperature is associated with an average increase in ticket sales of 11.25 tickets. The slope tells...
Question 3 Suppose that the estimated simple linear regression of a response Y on a predictor...
Question 3 Suppose that the estimated simple linear regression of a response Y on a predictor X based on n = 6 observations produces the following residuals: resid <- c(-0.09, 0.18, -0.27, 0.16, -0.06, 0.09) Note: For this question, all of the computations should be performed “by-hand”. (a) (1 point) What is the estimate of σ 2? (b) (2 points) Further, you know that the estimated regression parameters are βˆ 0 = −0.54 and βˆ 1 = 0.08. Additionally, the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT