100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

BUSI 1301 INTRODUCTION TO BUSINESS (MGMT 105) HOMEWORK 7 TEXAS A& M UNIVERSITY

Rating
-
Sold
-
Pages
10
Uploaded on
14-11-2024
Written in
2024/2025

BUSI 1301 INTRODUCTION TO BUSINESS (MGMT 105) HOMEWORK 7 TEXAS A& M UNIVERSITY

Institution
BUSI 1301
Course
BUSI 1301

Content preview

BUSI 1301 INTRODUCTION TO
BUSINESS (MGMT 105)
HOMEWORK 7 TEXAS A& M
UNIVERSITY

, lOMoAR cPSD| 19857451




1. Predicting wins (revisited).

a. Read in the baseball data set from Homework 4.

Ans. > baseball<-read.csv("baseball.csv")

b. Fit a linear regression model to predict Wins using HRs.

Ans. > model1<-lm(Wins~HRs, data=baseball)
> model1

Call:
lm(formula = Wins ~ HRs, data = baseball)

Coefficients:
(Intercept) HRs
54.2839 0.1624

> summary(model1)

Call:
lm(formula = Wins ~ HRs, data = baseball)

Residuals:
Min 1Q Median 3Q Max
-23.0003 -6.6780 0.4157 7.2763 22.9847

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 54.28389 10.24539 5.298 1.23e-05 ***
HRs 0.16244 0.06112 2.658 0.0128 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 10.85 on 28 degrees of freedom
Multiple R-squared: 0.2015, Adjusted R-squared: 0.1729
F-statistic: 7.064 on 1 and 28 DF, p-value: 0.01285

The model shows that on an average the team will have 0.16 more wins for each additional
home runs.

c. Calculate the Cook's Distance for each point and plot it.

Ans. > cook<-cooks.distance(model1)
> plot(cook, ylab = "Cook's Distance", main = "Cook's Distance Plot")

Written for

Institution
BUSI 1301
Course
BUSI 1301

Document information

Uploaded on
November 14, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
saraciousstuvia WALDEN UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
560
Member since
3 year
Number of followers
380
Documents
11349
Last sold
1 week ago
BRIGHTEST IDEAS EDUCATIONAL WORLD

Welcome to the best educational world with the brightest,amazing and all complete study materials. I wish you great,easy learning and success through out your course. Kindly message me if you cant find your tutorials

4.0

114 reviews

5
61
4
20
3
17
2
3
1
13

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions