Week-3-codes
pdf
keyboard_arrow_up
School
The Chinese University of Hong Kong *
*We aren’t endorsed by this school
Course
5570
Subject
Statistics
Date
Nov 24, 2024
Type
Pages
2
Uploaded by nkc.alanng529
MGEC11 Week 3 Codes
Yue Yu
Fall 2023
library
(wooldridge)
Determinants of College GPA
data
(
gpa1
)
ols1
<-
lm
(colGPA
~
hsGPA
+
ACT,
data =
gpa1)
summary
(ols1)
##
## Call:
## lm(formula = colGPA ~ hsGPA + ACT, data = gpa1)
##
## Residuals:
##
Min
1Q
Median
3Q
Max
## -0.85442 -0.24666 -0.02614
0.28127
0.85357
##
## Coefficients:
##
Estimate Std. Error t value Pr(>|t|)
## (Intercept) 1.286328
0.340822
3.774 0.000238 ***
## hsGPA
0.453456
0.095813
4.733 5.42e-06 ***
## ACT
0.009426
0.010777
0.875 0.383297
## ---
## Signif. codes:
0
***
0.001
**
0.01
*
0.05
.
0.1
1
##
## Residual standard error: 0.3403 on 138 degrees of freedom
## Multiple R-squared:
0.1764, Adjusted R-squared:
0.1645
## F-statistic: 14.78 on 2 and 138 DF,
p-value: 1.526e-06
Q1: What’s the impact of high school GPA on college GPA?
Holding all the other factors constant, an increase in high school GPA by one point leads to an increase in
college GPA by 0.45.
Q2: Is 0.45 a dramatic increase?
Compare the effect with the difference between 25 percentile and 75 percentile:
summary
(gpa1
$
colGPA)
##
Min. 1st Qu.
Median
Mean 3rd Qu.
Max.
##
2.200
2.800
3.000
3.057
3.300
4.000
College GPA at 75 percentile is 3.3 and college GPA at 25 percentile is 2.8. A 0.45 point increase in college
GPA moves one from 25 percentile to (almost) 75 percentile.
1
Q3: What’s the impact of ACT on college GPA?
Holding all the other factors constant, an increase in ACT by one point raises college GPA by only 0.01 point.
Compared to 0.5 or 0.37, this is a relatively small effect.
Q4: How much of the variation in college GPA can be explained by ACT and high school GPA?
Joint together, these two factors can explain 17.6% of the total variation in college GPA.
Q5: How to interpret the intercept?
The intercept 1.29 is the predicted college GPA if high school GPA and ACT are both set at zero. Since
no one who attends college has either a zero high school GPA or a zero on the ACT, the intercept in this
equation is not very meaningful.
2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
Correlational designs have one independent variable and one dependent variable
true or false?
arrow_forward
Reading is fundamental to a teenager's ability to perform well in school. Assume a researcher is
interested in the ability of the number of books read over the summer to predict ACT Reading
scores. Using a random sample of 10 random high school students the researchers recorded the
number of books read over the summer and the students' ACT Reading scores.
Books Read (X) ACT Score (Y) (X- Xmean)
(Y - Ymean)
(X-Xmean)(Y-Ymean) (X-Xmean)?
(Y - Ymean)?
2
16
-5.4
-14.9
81
29
221
2
19
-5.4
-11.9
64
29
141
3
17
-4.4
-13.9
61
20
192
4
25
-3.4
-5.9
20
12
34
21
-3.4
-9.9
34
12
97
24
-1.4
-6.9
10
2
47
6
21
-1.4
-9.9
14
2
97
8
24
0.6
-6.9
-4
47
7
27
-0.4
-3.9
2
15
10
22
2.6
-8.9
-23
7
78
Total
52
216
259.1
113.3
969.3
МEAN
7.4
30.9
a. Identify the regression line using the number of books read to predict ACT Reading
score. Use a = .05 to evaluate the quality of the prediction of the regression line.
b. What is the predicted ACT Reading score when 5 books are read?
arrow_forward
ec2
arrow_forward
Use the table to answer the question
In Equation 2, what variables are NOT significantly related to the dependent variable? The dependent variable is health
arrow_forward
What are Dependent Variables?
arrow_forward
A company provides maintenance service for water-filtration systems throughout southern Florida. Customers contact the company with requests for maintenance service on their water-filtration systems. To estimate the service time and the service cost, the company's managers want to predict the repair time necessary for each maintenance request. Hence, repair time in hours is the dependent variable. Repair time is believed to be related to three factors, the number of months since the last maintenance service, the type of repair problem (mechanical or electrical), and the repairperson who performed the service. Data for a sample of 10 service calls are reported in the table below.
Repair Timein Hours
Months SinceLast Service
Type of Repair
Repairperson
2.9
2
Electrical
Dave Newton
3.0
6
Mechanical
Dave Newton
4.8
8
Electrical
Bob Jones
1.8
3
Mechanical
Dave Newton
2.5
2
Electrical
Dave Newton
4.9
7
Electrical
Bob Jones
4.6
9
Mechanical
Bob Jones
4.8
8
Mechanical
Bob…
arrow_forward
A company provides maintenance service for water-filtration systems throughout southern Florida. Customers contact the company with requests for maintenance service on their water-filtration systems. To estimate the service time and the service cost, the company's
managers want to predict the repair time necessary for each maintenance request. Hence, repair time in hours is the dependent variable. Repair time is believed to be related to three factors, the number of months since the last maintenance service, the type of repair
problem (mechanical or electrical), and the repairperson who performed the service. Data for a sample of 10 service calls are reported in the table below.
Repair Time Months Since
in Hours
Last Service
2.9
3.0
4.8
1.8
2.5
4.9
4.2
4.8
4.4
4.5
2
6
8
3
2
7
9
8
4
6
Type of Repair Repairperson
Electrical
Mechanical
Electrical
Mechanical
Electrical
Electrical
Mechanical
Mechanical
Electrical
Electrical
Dave Newton
ŷ =
X
Check which variable(s)/term(s) should be in your…
arrow_forward
Why would the male lifespan not be the dependent variable?
arrow_forward
which scatter plot shows a non linear association between the two variables
arrow_forward
College GPA and Salary. Do students with higher college grade point averages (GPAs) earn more than those graduates with lower GPAs (CivicScience)? Consider the college GPA and salary data (10 years after graduation) provided in the file GPASalary.
Develop a scatter diagram for these data with college GPA as the independent variable. PLEASE MAKE SIMPLE GRAPH. What does the scatter diagram indicate about the relationship between the two variables?
Use these data to develop an estimated regression equation that can be used to predict annual salary 10 years after graduation given college GPA.
At the .05 level of significance, does there appear to be a significant statistical relationship between the two variables?
GPA
Salary
2.21
71000
2.28
49000
2.56
71000
2.58
63000
2.76
87000
2.85
97000
3.11
134000
3.35
130000
3.67
156000
3.69
161000
arrow_forward
My first variable is Social media use. My second variable is stress among adults 18-35
arrow_forward
What are Independent variables?
arrow_forward
MAPEH-10-Q3-Week-4.pdfX
Filipino-10-Q3-Week-4.pdf X
TLE CSS 10 Quarter3 Week X
ESP-10-03-Weeks-3-4.pdf
Math 10 Q3 Week 5.p
sers/L%20E%2ON%200%20V%200%20-%20P%20C/Downloads/Math%2010%20Q3%20Week%205.pdf
Facebook
- +
E| D Page view A Read aloud | Draw
E Highlight
b. 362 880
b. 181 440
C. 60 480
d. 30 240
3. Abby is selecting 3 desserts from 10 possible choices displayed on the dessert cart at a restaurant. How
many selections are there?
b. 120
b. 240
C. 360
d. 720
4. A mother, a father, and their 4 children will dine in a restaurant with circular tables. In how many ways
can the family be seated in a table?
b. 24
b. 56
C. 120
d. 720
5. From a Grade 10 class of 28 students, five representatives are to be chosen for academic competition.
In how many ways can students be chosen to represent their class?
b. 12 285
b. 19 565
C. 49 140
d. 98 280
6. Mr. Reyes has a vault with four-digit combination lock. He can set the combination himself. He can use
the digits 0 - 9. Each digit can be used…
arrow_forward
Suppose that in a research it was discovered that those who majored in math, engineering, or computer science scored higher on tests measuring "problem-solving" ability at the end of 4 years of college than did those students who did not major in these fields.
What is the dependent variable in this study? Is the dependent variable clearly defined?
arrow_forward
Tire pressure (psi) and mileage (mpg) were recorded for a random sample of seven cars of thesame make and model. The extended data table (left) and fit model report (right) are based on aquadratic model
What is the predicted average mileage at tire pressure x = 31?
arrow_forward
Explain the Chain Rule for two independent Variables ?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Related Questions
- Correlational designs have one independent variable and one dependent variable true or false?arrow_forwardReading is fundamental to a teenager's ability to perform well in school. Assume a researcher is interested in the ability of the number of books read over the summer to predict ACT Reading scores. Using a random sample of 10 random high school students the researchers recorded the number of books read over the summer and the students' ACT Reading scores. Books Read (X) ACT Score (Y) (X- Xmean) (Y - Ymean) (X-Xmean)(Y-Ymean) (X-Xmean)? (Y - Ymean)? 2 16 -5.4 -14.9 81 29 221 2 19 -5.4 -11.9 64 29 141 3 17 -4.4 -13.9 61 20 192 4 25 -3.4 -5.9 20 12 34 21 -3.4 -9.9 34 12 97 24 -1.4 -6.9 10 2 47 6 21 -1.4 -9.9 14 2 97 8 24 0.6 -6.9 -4 47 7 27 -0.4 -3.9 2 15 10 22 2.6 -8.9 -23 7 78 Total 52 216 259.1 113.3 969.3 МEAN 7.4 30.9 a. Identify the regression line using the number of books read to predict ACT Reading score. Use a = .05 to evaluate the quality of the prediction of the regression line. b. What is the predicted ACT Reading score when 5 books are read?arrow_forwardec2arrow_forward
- Use the table to answer the question In Equation 2, what variables are NOT significantly related to the dependent variable? The dependent variable is healtharrow_forwardWhat are Dependent Variables?arrow_forwardA company provides maintenance service for water-filtration systems throughout southern Florida. Customers contact the company with requests for maintenance service on their water-filtration systems. To estimate the service time and the service cost, the company's managers want to predict the repair time necessary for each maintenance request. Hence, repair time in hours is the dependent variable. Repair time is believed to be related to three factors, the number of months since the last maintenance service, the type of repair problem (mechanical or electrical), and the repairperson who performed the service. Data for a sample of 10 service calls are reported in the table below. Repair Timein Hours Months SinceLast Service Type of Repair Repairperson 2.9 2 Electrical Dave Newton 3.0 6 Mechanical Dave Newton 4.8 8 Electrical Bob Jones 1.8 3 Mechanical Dave Newton 2.5 2 Electrical Dave Newton 4.9 7 Electrical Bob Jones 4.6 9 Mechanical Bob Jones 4.8 8 Mechanical Bob…arrow_forward
- A company provides maintenance service for water-filtration systems throughout southern Florida. Customers contact the company with requests for maintenance service on their water-filtration systems. To estimate the service time and the service cost, the company's managers want to predict the repair time necessary for each maintenance request. Hence, repair time in hours is the dependent variable. Repair time is believed to be related to three factors, the number of months since the last maintenance service, the type of repair problem (mechanical or electrical), and the repairperson who performed the service. Data for a sample of 10 service calls are reported in the table below. Repair Time Months Since in Hours Last Service 2.9 3.0 4.8 1.8 2.5 4.9 4.2 4.8 4.4 4.5 2 6 8 3 2 7 9 8 4 6 Type of Repair Repairperson Electrical Mechanical Electrical Mechanical Electrical Electrical Mechanical Mechanical Electrical Electrical Dave Newton ŷ = X Check which variable(s)/term(s) should be in your…arrow_forwardWhy would the male lifespan not be the dependent variable?arrow_forwardwhich scatter plot shows a non linear association between the two variablesarrow_forward
- College GPA and Salary. Do students with higher college grade point averages (GPAs) earn more than those graduates with lower GPAs (CivicScience)? Consider the college GPA and salary data (10 years after graduation) provided in the file GPASalary. Develop a scatter diagram for these data with college GPA as the independent variable. PLEASE MAKE SIMPLE GRAPH. What does the scatter diagram indicate about the relationship between the two variables? Use these data to develop an estimated regression equation that can be used to predict annual salary 10 years after graduation given college GPA. At the .05 level of significance, does there appear to be a significant statistical relationship between the two variables? GPA Salary 2.21 71000 2.28 49000 2.56 71000 2.58 63000 2.76 87000 2.85 97000 3.11 134000 3.35 130000 3.67 156000 3.69 161000arrow_forwardMy first variable is Social media use. My second variable is stress among adults 18-35arrow_forwardWhat are Independent variables?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage

Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage