Difference between revisions of "Manuals/calci/PROB"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<div style="font-size:30px">'''PROB(xr,pr,ll,ul)'''</div><br/>
 
<div style="font-size:30px">'''PROB(xr,pr,ll,ul)'''</div><br/>
*<math>xr</math> is the array of x range is the value of the function.
+
*<math>xr</math> is the array of x range of values in the function.
 
*<math>pr</math> is the set of probabilities.
 
*<math>pr</math> is the set of probabilities.
*<math>ll</math> is the lower limit and <math>ul</math> is the upper limit value.
+
*<math>ll</math> is the lower limit
 
+
*<math>ul</math> is the upper limit value.
  
 
==Description==
 
==Description==
Line 9: Line 9:
 
*Probability is the likelihood that an event will occur.  
 
*Probability is the likelihood that an event will occur.  
 
*Probabilities can be used to describe frequencies of outcomes in random experiments.
 
*Probabilities can be used to describe frequencies of outcomes in random experiments.
*In <math>PROB(xr,pr,ll,ul)</math>, <math>xr</math> is the array of numeric values which there are associated probabilities,<math>pr</math> is a set of probabilities associated with <math> xr</math>, <math>ll</math> is the lower limit of the probability and <math>ul</math> is the upper limit of the probability.
+
*In <math>PROB(xr,pr,ll,ul)</math>, <math>xr</math> is the array of numeric values which there are associated probabilities, <math>pr</math> is a set of probabilities associated with <math> xr</math>, <math>ll</math> is the lower limit of the probability and <math>ul</math> is the upper limit of the probability.
*Here <math>ul</math> is optional.When we are omitting the value of <math>ul</math>, then the function simply returns the probability associated with the value of the given <math>ll</math>.
+
*Here <math>ul</math> is optional. When we are omitting the value of <math>ul</math>, then the function simply returns the probability associated with the value of the given <math>ll</math>.
 
*This function will return the result as error when  
 
*This function will return the result as error when  
 
  1.Any one of the value is non-numeric.
 
  1.Any one of the value is non-numeric.

Revision as of 03:23, 22 January 2014

PROB(xr,pr,ll,ul)


  • 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 xr} is the array of x range of values in the function.
  • 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 pr} is the set of probabilities.
  • 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 ll} is the lower limit
  • 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 ul} is the upper limit value.

Description

  • This function gives the probability that values in a range of given limits.
  • Probability is the likelihood that an event will occur.
  • Probabilities can be used to describe frequencies of outcomes in random experiments.
  • 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 PROB(xr,pr,ll,ul)} , 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 xr} is the array of numeric values which there are associated probabilities, 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 pr} is a set of probabilities associated with 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 xr} , 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 ll} is the lower limit of the probability 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 ul} is the upper limit of the probability.
  • Here 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 ul} is optional. When we are omitting the value 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 ul} , then the function simply returns the probability associated with the value of the given 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 ll} .
  • This function will return the result as error when
1.Any one of the value is non-numeric.
2.Any value 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  pr \le 0 }
 or 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 pr >1}

3.The values in the given   do not adding  up to 1
4.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 xr}
 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 pr}
 is of different number of data points.

Examples

x pr 0 0.3 1 0.5 2 0.2 =PROB(A2:A4,B2:B4,1) = 0.5 =PROB(A2:A4,B2:B4,1,3) = 0.7 x pr 1 0.2 2 0.2 3 0.1 4 0.5 =PROB(C1:C4,D1:D4,2) = 0.2 =PROB(C1:C4,D1:D4,2,4) = 0.8 x pr 0 0.3 1 0.7 2 0.1 =PROB(A1:A3,B1:B3,2) = NAN

See Also

References

Probability