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

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?
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
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
977
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