Difference between revisions of "Manuals/calci/STEYX"

From ZCubes Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
==Examples==
 
==Examples==
1.y={6,8,10,13,15,5}
+
1.
x={1,4,9,11,20,3}
+
{| class="wikitable"
STEYX(G1:G6,H1:H6)=1.4350701130
+
|+Spreadsheet
2.y={2,9,1,8,17}
+
|-
x={10,4,11,2,6}
+
! !! A !! B !! C !! D!! E !!F
STEYX(A1:A5,B1:B5)=5.944184833375
+
|-
3.y={1,2,4,5,8}
+
! 1
 +
| 6 || 8 || 10 ||13 || 15 ||5
 +
|-
 +
! 2
 +
| 1 || 4 || 8 || 11 || 20 ||3
 +
|}
 +
 
 +
=STEYX(A1:F1,A2:F2)=1.4350701130
 +
2.
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C !! D!! E
 +
|-
 +
! 1
 +
| 2 || 9 || 1 ||8 || 17  
 +
|-
 +
! 2
 +
| 10 || 4 || 11 || 2 || 6  
 +
|}
 +
 
 +
=STEYX(A1:E1,A2:E2))=5.944184833375
 +
3.
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C !! D!! E
 +
|-
 +
! 1
 +
| 1 || 2 || 4 ||5 || 8
 +
|-
 +
! 2
 +
| 10 || 4 || 7 || 5 ||
 +
|}
 +
y={1,2,4,5,8}
 
x={10,4,7,5}
 
x={10,4,7,5}
STEYX(A1:A5,B1:B4)=NAN
+
=STEYX(A1:A5,B1:B4)=NAN
  
 
==See Also==
 
==See Also==

Revision as of 04:55, 30 January 2014

STEYX(y,x)


  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} is set of dependent values.
  • Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } is the set of independent values.

Description

  • This function gives the standard error of the regression, which also is known as the standard error of the estimate.
  • It is calculates the standard error for the straight line of best fit through a supplied set of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y } values.
  • The standard error for this line provides a measure of the error in the prediction of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y } for an individual Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } .
  • The equation for the standard error of the predicted Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y } is:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sqrt{\frac{1}{(n-2)}\left [ \sum(y-\bar{y})^2-\frac{[\sum(x-\bar{x})(y-\bar{y})]^2}{\sum(x-\bar{x})^2} \right ]}} where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bar{x}} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \bar{y}} are the sample mean Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y } .

  • In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle STEYX(y,x)} , is the array of the numeric dependent values and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } is the array of the independent values.
  • The arguments can be be either numbers or names, array,constants or references that contain numbers.
  • Suppose the array contains text,logical values or empty cells, like that values are not considered.
  • This function will return the result as error when
  1. Any one of the argument is non-numeric. 
  2. Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x}
 and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y }
 are empty or that have less than three data points.
  3. Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x}
 and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y }
 have a different number of data points.

Examples

1.

Spreadsheet
A B C D E F
1 6 8 10 13 15 5
2 1 4 8 11 20 3
=STEYX(A1:F1,A2:F2)=1.4350701130

2.

Spreadsheet
A B C D E
1 2 9 1 8 17
2 10 4 11 2 6
=STEYX(A1:E1,A2:E2))=5.944184833375

3.

Spreadsheet
A B C D E
1 1 2 4 5 8
2 10 4 7 5

y={1,2,4,5,8} x={10,4,7,5}

=STEYX(A1:A5,B1:B4)=NAN

See Also

References