brian
VIP Member
If anyone is an excel guru a little help would be appreciated
Im trying to get regression on one line of an excel sheet. I have the x and y values on A1:A11 and B1:B11
The regression formula is
n*(sum(ln(y))*sum(x^2))-(sum(x*ln(y))*(sum(x))
Thats just half of it but I can figure the rest out if I get the excel formula. For all the sum, its all the x and y values.
The best Ive got was
=(SUMPRODUCT(H1:H11)*SUMPRODUCT(F1:F11))-(SUMPRODUCT(I1:I11)*SUMPRODUCT(A1:A11))
where H1:H11 was the ln(y) for all the valuse and F1:F11 was x*ln(y) Im looking to simplify that without using F and H.
TIA
Im trying to get regression on one line of an excel sheet. I have the x and y values on A1:A11 and B1:B11
The regression formula is
n*(sum(ln(y))*sum(x^2))-(sum(x*ln(y))*(sum(x))
Thats just half of it but I can figure the rest out if I get the excel formula. For all the sum, its all the x and y values.
The best Ive got was
=(SUMPRODUCT(H1:H11)*SUMPRODUCT(F1:F11))-(SUMPRODUCT(I1:I11)*SUMPRODUCT(A1:A11))
where H1:H11 was the ln(y) for all the valuse and F1:F11 was x*ln(y) Im looking to simplify that without using F and H.
TIA