t3 = n∑x22 - (∑x2)2 t4 = n∑yx1 - ∑y∑x1
t5 = n∑x1x2 - ∑x1∑x2 t6 = n∑x12 - (∑x1)2
t7 = n∑x22 - (∑x2)2
β1 = (t1*t2 - t3*t4)/(t5*t5 - t6*t7)
β2 = (t4 - β1*t6)/t2
α = (∑y - β1∑x1 - β2∑x2)/n
Enter corresponding values of arrays y, x1 and x2 (separate each value with a comma; maximum string length is 300 characters).
ECHO OF INPUT:
n =
x1(1) = . >
x2(1) = . >
OUTPUT:
α = β1 = β2 =
Your request was processed at 07:09:38 am on October 30th, 2024 [ 241030 07:09:38 ].