Call:
lm(formula = launch_speed ~ launch_angle, data = muncy)
Residuals:
Min 1Q Median 3Q Max
-64.802 -9.009 2.401 10.821 20.709
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 86.95164 0.78064 111.385 < 2e-16 ***
launch_angle 0.20804 0.02865 7.261 1.77e-12 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 13.74 on 438 degrees of freedom
Multiple R-squared: 0.1074, Adjusted R-squared: 0.1054
F-statistic: 52.72 on 1 and 438 DF, p-value: 1.769e-12
a) Use R the R output to write the equation of the regression line.
b) Use part a to predict the hit distance of a ball with a launch speed of 106 mph, hit at a launch angle of 30+ degrees. Use the standard error to explain why such a ball traveling 350 feet would not be an unreasonable outcome.
Solutiona:
From output
slope=0.20804
y intercept=86.95164
the equation of the regression line is
launch_speed=86.95164+0.20804*launch_angle
Solutionb:
launch_speed=86.95164+0.20804*launch_angle
Given launch angle =30
launch_speed=86.95164+0.20804*30
=93.19284
predicted launch speed=93.19284
Call: lm(formula = launch_speed ~ launch_angle, data = muncy) Residuals: Min 1Q Median 3Q Max...
> summaryCls) Call: Lm(formula y X) Residuals: -0.20283 -0.146910.02255 0.06655 0.44541 Coefficients: (Intercept) 0.36510 0.09904 3.686 0.003586 ** Min 1Q Median 3Q Max Estimate Std. Error t value Pr(>ltl) 0.96683 0.18292 5.286 0.000258*** Signif. codes: 00.001*0.010.050.11 Residual standard error: 0.1932 on 11 degrees of freedom Multiple R-squared 0.7175, Adjusted R-squared: 0.6918 F-statistic: 27.94 on 1 and 11 DF, p-value: 0.0002581 > anovaCls) Analysis of Variance Table Response : y Df Sum Sq Mean Sq F value PrOF) 1 1.04275 1.04275...
Using R output provided
1). Perform hypothesis testing for B(beta)1=2 using
A(alpha)=0.05
> summary(ls) Call: Residuals: Min 1Q Median 3Q Max 0.20283 -0.14691 -0.02255 0.06655 0.44541 Coefficients: (Intercept) 0.365100.099043.686 0.003586 ** Signif. codes: 0 '***' 0.001 '0.01 '*'0.05 '.' 0.1''1 Estimate Std. Error t value Pr>Itl) 0.96683 0.18292 5.286 0.000258** Residual standard error: 0.1932 on 11 degrees of freedom Multiple R-squared 0.7175, Adjusted R-squared: 0.6918 F-statistic: 27.94 on 1 and 11 DF, p-value: 0.0002581 anovaCLs) Analysis of Variance Table Response:...
2.-Interpret the following regression model Call: lm(formula = Sale.Price ~ Lot.Size + Square.Feet + Num.Baths + API.2011 + dis_coast + I(dis_fwy * dis_down * dis_coast) + Pool, data = Training) Residuals: Min 1Q Median 3Q Max -920838 -84637 -19943 68311 745239 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) -7.375e+05 7.138e+04 -10.332 < 2e-16 *** Lot.Size -5.217e-01 1.139e-01 -4.581 5.34e-06 *** Square.Feet 1.124e+02 1.086e+01 10.349 < 2e-16 *** Num.Baths 3.063e+04 9.635e+03 3.179 0.00153 ** API.2011 1.246e+03 8.650e+01 14.405 < 2e-16...
Call: formula -MoiveS8ookSales MoiveS8oxOfficeReceipts+ Moi veSProductionCosts+ MoiveSPronotionalCosts) Residuals Min 1Q Median 3 Max 4.883-2.511 -1.528 1.560 6.721 Coefficients: Estimate Std. Error t value Pr(>ltl) 0.9996 4.7607 0.210 0.841 (Intercept) MoiveS8oxOfficeReceipts 0.3487 .2218 1.536 0.175 MoiveSProductionCosts -0.7565 1.1564 -0.654 0.537 MoiveSPromotionalCosts 2.7566 1.9605 -1.486 8.209 Residual standard error: 4.836 on 6 degrees of freedon Multiple R-squared: 0.4175, Adjusted R-squared: 0.1263 F-statistic: 1.434 on 3 and 6 DF. p-value: 8.3229 13. Given alpha 0.05, based on the output, which of the following...
It has been established for a long time that height has a positive correlation with weight. As people gets taller their weight increases. In a research study, a linear regression model was proposed to predict weight based on height. R output below provides the analysis. Interpret it, list any strengths and limitations of the result. Call: lm(formula = Weight ~ Height) Residuals: Min 1Q Median 3Q Max -6.7104 -2.9217 0.4276 2.3973 7.8586 Coefficients: Estimate Std. Error t value...
please show your explanation thanks!
## ## Call: ## Im(formula = mpg ~ disp + hp + wt + osec, data = mtcars.train.df) ## ## Residuals: Min 1Q Median ## -4.3442 -1.1687 -0.4033 3Q Max 1.0519 5.9623 ## ## Coefficients: Estimate Std. Error t value Pr>t) ## (Intercept) 31.204891 10.909916 2.860 0.00967 ** ## disp 0.009432 0.012308 0.766 0.45245 ## hp -0.032908 0.025528 -1.289 0.21208 ## wt -4.978374 1.434757 -3.470 0.00242 ** ## qsec 0.434043 0.576267 0.753 0.46011 ## ---...
Regression Analysis Question: is there any relationship between the economic growth rate(GDP) and unemployment rate(Unemp_Rates), Poverty (Poverty_Rates), Technological and science workforce(ech_Scien_Wforce), high school graduate (HS_Grad_Rates) , and housing cost( Housing_Cost) This is a regression analysis result : Call: lm(formula = GDP_Rate ~ Unemp_Rates + Poverty_Rates + Tech_Scien_Wforce + HS_Grad_Rates + Housing_Cost) Residuals: Min 1Q Median 3Q Max -1.5562 -0.3988 -0.1126 0.4971 1.6748 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 15.822486 5.424619 2.917 0.00555 ** Unemp_Rates -0.053450 0.136427 -0.392...
Q) The CO2 dataset in R has data on plants from Quebec
and Mississippi (denoted by the variable name ‘Type’) that were
subjected to two different treatments (denoted by the variable name
“Treatment”), chilled or nonchilled. I ran two regression models to
see what variables best describe CO2 uptake of plants, given
different conditions, with the output below:
What are the regression equations for models 1 and
2?
What kind of variable is “Treatment”?
What does the sign of the...
What is the dependent variable in this analysis? What are the independent variables in this analysis? Draw a diagram representing the model being tested. What are the assumptions which need to be met PRIOR to interpreting the results of the analysis? What do you conclude about the quality of the model? What do you conclude about each of the predictors? Interpret the coefficient for any significant predictors. ## ## Call: ## lm(formula = Ought_Score ~ Inherence_Bias + Ought_Score + educ...
Question 2: Hypothesis testing (30 pts) Consider the following simple linear regression model with E[G-0 and var(G)-σ2. The output of linear where €1, €2, . . . ,en regression from R takes the form are i.i.d. errors Cal1: lm(formula y ~ x + 1) Residuals: Min 1Q Median 3Q Max 2.0606-0.3287-0.1148 0.5902 1.2809 Coefficients: Estimate Std. Error t value Prlt (Intercept) 0.507932 0.340896 1.49 0.147 0.049656 0.003455 14.37 1.89e-14 Signif. codes: 0.0010.010.05 .'0.1''1 Residual standard error: 0.7911 on 28 degrees...