#### wuzamarine

##### New member

- Joined
- Dec 17, 2018

- Messages
- 1

94 hurricanes

* Assume that the sample data satisfies all assumptions for linear regression.

> summary(model)

Call:

lm(formula = Damage ~ Landfall.Windspeed)

Residuals:

Min 1Q Median 3Q Max

-9294 -4782 -1996 -531 90478

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) -10041.78 6064.29 -1.656 0.1012

Landfall.Windspeed 142.07 56.65 2.508 0.0139 *

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 12280 on 92 degrees of freedom

Multiple R-squared: [ A ], Adjusted R-squared: 0.05381

F-statistic: 6.289 on 1 and 92 DF, p-value: 0.01391

(1) Write the equation for the linear model using the variables Damages and

Landfall.Windspeed, taking the results of the t-tests into account.

(2) Pearson’s correlation coefficient for Damages and Landfall.Windspeed

is 0.2529438. Calculate and interpret the value of R 2 in relation to the predictor and

response variables.

................................

Part 1

The question is worded in such a way as to use RStudio but in Rstudio

summary(model)

Error in summary(model) : object 'model' not found

I do not understand how to get the equation without any x or y data.

I am sure I am supposed to reverse it out somehow but I cannot figure out how.

y^ = 142.07 -10041.78x

but that is incorrect because I am not using real data, thats estimated.

Question 2 boils down to the same issue.

How do I reverse my x and y data from the provided data in the question so I can produce the proper equation?