Straight, with weight

Storyboard

>Model

ID:(1197, 0)



Straight, with weight

Storyboard

Variables

Symbol
Text
Variable
Value
Units
Calculate
MKS Value
MKS Units

Calculations


First, select the equation:   to ,  then, select the variable:   to 

Symbol
Equation
Solved
Translated

Calculations

Symbol
Equation
Solved
Translated

 Variable   Given   Calculate   Target :   Equation   To be used



Equations


Examples

To fit data (x_i, y_i) to a line of the type

y = ax + b

the values a and b must be calculated such that the difference of the squares

equation

be a minimum, where w_i is the weighting of the i coordinates.

If it is derived

equation=9438

with respect to a and the result is equal to zero the equation is obtained:

S_{xy}+aS_{xx}+bS_x=0

where

S_x=\sum_iw_ix_i, S_{xx}=\sum_iw_ix_i^2, S_{xy}=\sum_iw_ix_iy_i and S_N=\sum_iw_i

If the operation is repeated for b the equation is obtained:

bS_N-S_y+aS_x=0

with S_y=\sum_iw_iy_i.

The solution of the equations leads to the slope being

equation

If it is derived

equation=9438

with respect to a and the result is equal to zero the equation is obtained:

S_{xy}+aS_{x2}+bS_x=0

where

S_{x,n,y,m}=\sum_iw_ix_i^ny_i^m

that in the case that n or m are zero the factor x or y is not written and in the case of the unit the number is not included.

If the operation is repeated for b the equation is obtained:

bS_N-S_y+aS_x=0

The solution of the equations leads to the constant b being

equation

The regression is calculated based on which

equation=9438

be a minimum. If the square is developed and the root of this value is divided by the mean value, a measure of the mean deviation of the regression is obtained:

equation


>Model

ID:(1197, 0)