MHB Linear Equation Help: Plot, Find Eq., Approx Y for X=5

AI Thread Summary
To solve the problem of finding the equation of the best fit line and approximating y for x = 5, the data points provided (x: 0, 2, 4, 6, 7 and y: 2, 7, 14, 17, 20) should first be organized into a table. The regression equation can be derived using the formulas for the coefficients b0 and b1, which involve calculating the means of x and y, as well as the sums Sxy and Sxx. Users are encouraged to show their calculations for better assistance. The discussion emphasizes the importance of understanding the regression process to find the best fit line.
chanimal
Messages
2
Reaction score
0
Hello,
i have been studying for finals and i am stuck on a question on my study guide. the question is to make a scatter plot of a set of data, find the equation of the best fit line, and approximate the value of y for x = 5.
the data is like this: x: 0 2 4 6 7
and the y is like : y: 2 7 14 17 20
if someone could help that would be great
 
Mathematics news on Phys.org
Hello and welcome to MHB! (Wave)

This question is better suited for our basic statistics forum, and so I will move it there when I finish posting.

We also ask that our users show what they have tried, so we can see where they are stuck and then we can provide better help that way.

First, let's represent the given ordered pairs in tabular form for improved readability:

[table="width: 100, class: grid, align: left"]
[tr]
[td]$x$[/td]
[td]$y$[/td]
[/tr]
[tr]
[td]0[/td]
[td]2[/td]
[/tr]
[tr]
[td]2[/td]
[td]7[/td]
[/tr]
[tr]
[td]4[/td]
[td]14[/td]
[/tr]
[tr]
[td]6[/td]
[td]17[/td]
[/tr]
[tr]
[td]7[/td]
[td]20[/td]
[/tr]
[/table]

Okay, now we need the following formula:

[box=blue]
Regression Equation

$$\hat{y}=b_0+b_1x\tag{1}$$

where:

$$b_1=\frac{S_{xy}}{S_{xx}},\quad b_0=\frac{1}{n}\left(\sum y-b_1\sum x\right)$$

$$S_{xx}=\sum(x-\overline{x})^2,\quad S_{xy}=\sum\left((x-\overline{x})(y-\overline{y})\right)$$
[/box]

I would begin by computing $\overline{x}$ and $\overline{y}$...what do you get?
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
1
Views
1K
Replies
4
Views
2K
Replies
3
Views
1K
Replies
18
Views
4K
Replies
3
Views
1K
Replies
1
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
Back
Top