Linear regression where am i going wrong?

Scarpetta
Messages
3
Reaction score
0
linear regression where am i going wrong??

Linear regression using least square fit method for the
determination of cocaine sample
Cocaine (mg/ml) Peak height
X= 2.75 Y=27377 X squared=0.9625 X x Y=3241.272

M = 10 x 3241.272 – 2.75 x 27377 / 10 x 0.9625 – 7.5625

= -42874.03 / 2.0625 = -20787.39 ?

I should be getting m = 267.25 according to graph
Can anyone tell me where I am going wrong please
 
Last edited:
Physics news on Phys.org
Hey! Is helping you on this problem going to get us in trouble with the DEA?

Carl
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top