Introduction Prepare an introduction briefly describing the importance/relevance o Objectives At the end of the exercise, the student must be able to: 1. Show great skill or proficiency on computing problems relat regression and correlation. 2. To solve and explain the coefficient of Determination (R²) and be a the relationship between two variables. (Linear Regression)

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Laboratory Exercise No 3
Simple Linear Regression and Correlation
1.
Introduction
Prepare an introduction briefly describing the importance/relevance of the activity.
I.
Objectives
At the end of the exercise, the student must be able to:
1. Show great skill or proficiency on computing problems related to linear
regression and correlation.
2. To solve and explain the coefficient of Determination (R2) and be able to explain
the relationship between two variables. (Linear Regression)
3. To solve for the correlation and test the significance of r. (Simple Linear
Correlation)
II.
Discussion/Calculation
A. Linear Regression
It is believed that the number of units enrolled by a student in a semester causes
the average grade of the same student for that semester. Twenty (20) students
were randomly selected from CMU and USM and data were gathered from
them. Using the simple data: (show your solutions)
a. Derive the regression equation
b. Solve the coefficient of determination R? and explain.
Case #
Grade (Y)
Units(X)
1
2.46
21
2
1.51
18
2.54
18
4
2.67
16
1.55
16
6.
2.67
18
7
2.99
20
2.8
22
1.25
16
10
1.55
12
11
1.67
16
12
1.56
18
13
1.25
16
14
1.44
18
15
1.88
16
16
1.55
18
17
1.64
16
18
1.92
21
19
1.56
16
20
1.56
16
Transcribed Image Text:Laboratory Exercise No 3 Simple Linear Regression and Correlation 1. Introduction Prepare an introduction briefly describing the importance/relevance of the activity. I. Objectives At the end of the exercise, the student must be able to: 1. Show great skill or proficiency on computing problems related to linear regression and correlation. 2. To solve and explain the coefficient of Determination (R2) and be able to explain the relationship between two variables. (Linear Regression) 3. To solve for the correlation and test the significance of r. (Simple Linear Correlation) II. Discussion/Calculation A. Linear Regression It is believed that the number of units enrolled by a student in a semester causes the average grade of the same student for that semester. Twenty (20) students were randomly selected from CMU and USM and data were gathered from them. Using the simple data: (show your solutions) a. Derive the regression equation b. Solve the coefficient of determination R? and explain. Case # Grade (Y) Units(X) 1 2.46 21 2 1.51 18 2.54 18 4 2.67 16 1.55 16 6. 2.67 18 7 2.99 20 2.8 22 1.25 16 10 1.55 12 11 1.67 16 12 1.56 18 13 1.25 16 14 1.44 18 15 1.88 16 16 1.55 18 17 1.64 16 18 1.92 21 19 1.56 16 20 1.56 16
B. Simple Correlation
The monthly income of a person (y) is related to the age of the person(x). Along
with higher age of a person goes also higher monthly income. But while there is
a positive correlation between age and income, we cannot say that age causes
the income of a person. Further, we cannot say the income of a person depends
on that person's age. Given the sample data below: (show your solutions)
a. Solve for the correlationr
b. Test the significance of r
Case #
Y
(Income) in
(Age) in
thousands
years
28
1
9.
18
44
20
62
4
12
32
15
27
2/3
25
55
7
10
24
8.
12
26
9
17
35
10
16
37
Total
154
370
C. Give an example for each of the following:
a. Two variables in which you have enough reasons to explain their cause-and-
effect relationship. State the independent (x) and dependent variable (y).
Provide also description of the cause-and-effect relationship.
b. Two variables from which a considerable possible nature of linear correlation
may exist. Explain briefly the possible nature of the relationship. State both
variables and give a short description of their relationship.
IV.
Conclusion
Make appropriate conclusion in reference to the Calculation & Discussion.
V.
Citation
Cite properly the works of others and sources that have been made reference of
your work.
Transcribed Image Text:B. Simple Correlation The monthly income of a person (y) is related to the age of the person(x). Along with higher age of a person goes also higher monthly income. But while there is a positive correlation between age and income, we cannot say that age causes the income of a person. Further, we cannot say the income of a person depends on that person's age. Given the sample data below: (show your solutions) a. Solve for the correlationr b. Test the significance of r Case # Y (Income) in (Age) in thousands years 28 1 9. 18 44 20 62 4 12 32 15 27 2/3 25 55 7 10 24 8. 12 26 9 17 35 10 16 37 Total 154 370 C. Give an example for each of the following: a. Two variables in which you have enough reasons to explain their cause-and- effect relationship. State the independent (x) and dependent variable (y). Provide also description of the cause-and-effect relationship. b. Two variables from which a considerable possible nature of linear correlation may exist. Explain briefly the possible nature of the relationship. State both variables and give a short description of their relationship. IV. Conclusion Make appropriate conclusion in reference to the Calculation & Discussion. V. Citation Cite properly the works of others and sources that have been made reference of your work.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman