Regression Analysis: Predict The Value of The Dependent Variable Given The Value of The Independent Variable
Regression Analysis: Predict The Value of The Dependent Variable Given The Value of The Independent Variable
ANALYSIS
𝒓 =𝟎 . 𝟗𝟏𝟖𝟑
-The computed r is 0.9183 indicating a very high positive correlation
STEP 3. Test the significance of r
using the formula:
√
In the given data,
𝒏−𝟐
𝒕=𝒓 𝟐
𝟏−𝒓
STEP 4. Compare the computed
t-value to the critical value.
𝑛 𝛴 𝑥𝑦 −(𝛴 𝑥)(𝛴 𝑦)
𝑏0 = 2
𝑛 𝛴 𝑥 −¿ ¿
𝛴 𝑦 −𝑏0 𝛴 𝑥
𝑏1=
𝑛
Using the values obtained in Step 2, we have
the following:
𝑛 𝛴 𝑥𝑦 −(𝛴 𝑥)(𝛴 𝑦) 𝛴 𝑦 − 𝑏0 𝛴 𝑥
𝑏0 = 2 𝑏1 =
𝑛 𝛴 𝑥 −¿ ¿ 𝑛
6( 42) −(13)(16) 16 − (1 . 0732)(13 )
𝑏0 = 𝑏1=
6(35) −¿ ¿ 6
𝒃𝟎 =𝟏 .𝟎𝟕𝟑𝟐 𝒃𝟏 =𝟎 . 𝟑𝟒𝟏𝟒
STEP 6. Form the regression equation.
2. y′ = 4.11𝑥 + 5.62
a. What is the value of y if x = 10? b. What is the value of y if x = 16?
Exercise 2:
Directions: Read and analyze the problem. Your task is to answer the questions
posted after each item
1. A sorbetes vendor observed that whenever the temperature was high, his sales also increased.
He recorded the data so that he could predict his future sales. This data areshown in the table.
Temperature in ℃(x) Sorbetes Sales in Php (y) a. Predict the sales of the sorbetes
33 1300 vendor on the day that the
36 1540
temperature is 37℃.
38 1890
40 2300
b. How many sales does he have if
35 1600 the temperature drops to 26℃?
30 1150 c. Estimate the amount of sales if
28 980 the temperature is 37℃?
2. The table below shows the titles, number of
chapters and the total number of pages of
Harry Potter books.
a. Use this data to predict how many chapters the author could make if the book had
345 pages.
b. Based on the data, estimate the number of pages of a Harry Potter book with 33
chapters.
c. Predict how many pages are there in a 23-chapter book.