Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Statistics - Least Squares

  1. Feb 19, 2012 #1
    How do I calculate least squares? The way it's described is confusing to me. [itex]\hat{β}[/itex]= r* sy/sx . sx and sy is the standard deviation of x and y, correct ? So let's say I have sets of numbers such as (16,19),(18,17) etc... 16 and 18 would be x and 19 and 17 would be y. So I have to calculate the variance first to get the SD , right? Then I would be the values for sy/sx. But what's r here?
    The I go on to calculate [itex]\alpha[/itex], which is [itex]\hat{\alpha}[/itex]= [itex]\bar{y}[/itex]-[itex]\hat{β}[/itex]*[itex]\bar{x}[/itex]. Then I just plu in the previously calculated values.
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Threads - Statistics Least Squares Date
B The Drunkard's Walk: A Discussion of the Text Mar 8, 2018
A Interpreting Chi Squared ... backward Feb 11, 2018
A Confused about Weighted Least Squares Jan 27, 2018
I R-squared statistic for goodness-of-fit Nov 28, 2017