Linear Regression CASIO
Linear Regression CASIO
WORKSHEET:
When we investigate statistical information, we often find there are connections
between sets of data. When working with two variables ( x ; y ) this is considered
working with bivariate data.
101,2
101
Atmospheric Pressure
100,8
100,6
100,4
100,2
0 5 10 15 20 25 30 35
100
99,8
99,6
Temperature
It is clear from the graph that the points tend to form a pattern which resembles a
straight line
Enter the data into the table: Input x-values, use the arrows to move the cursor to the
y-column & then input y-values
10=15=20=25=30=R$100.3=1
00.5=101=101.1=101.4=
Cq1 5
Breakdown of Regression sub menu
Key Menu Item Explanation
5: Reg 1. Regression co-efficient of A
2. Regression co-efficient of B
3. Correlation co-efficient r
4. Estimated value of x
5. Estimated value of y
3=
There is a strong, positive linear correlation between temperature and atmospheric
pressure.
Once it is determined that – 0,7 < r < – 1 OR 0,7 < r < 1 we can calculate the line of
best fit, which helps us to predict future values.
y = A + Bx where A is the y-intercept and B is the gradient/slope
2. CALCULATE THE VALUES OF A & B
• Calculate A Cq151=
• Calculate B Cq152=
Cq1 4
2=
Cq145=
Once you plot the linear equation you can then make projections.
101,4
101,2
Atmospheric Pressure
101
100,8
100,6
100,4
100,2
100 0 5 10 15 20 25 30 35
99,8
99,6
Temperature
C100q154=
Extrapolation: value predicted lies outside the domain and range of the
data set given
B. What is the approximate atmospheric pressure when the temperature is 18°C.
C18q155=
Interpolation: value predicted lies within the domain and range of the data
set given
Select a random sample of 6 numbers, between 1 and 49, to play the lotto:
Q.1q)49)=
*NOTE*
• The calculator will give a different string of numbers each time
• Integers are repeated
• This function can be used to flip a coin (1,2)
• This function can be used to throw a die (1,6)
LINEAR REGRESSION ACTIVITY
The following table shows the age and mass of ten babies:
Age (in weeks) 4 5 12 10 6 1 9 13 2 7
Mass (in kg) 3,3 3,8 5,5 5 4 3 4,2 5 3,5 4,7
4,5
Mass (in kg)
3,5
2,5
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Select
REFERENCES:
RADMASTE Centre, ACE – Data Handling and Probability FET (2010) University
of the Witwatersrand, SA.