Difference between revisions of "Manuals/calci/CHIINV"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''CHIINV(probability,degreesoffreedom)'''</div><br/>
+
<div style="font-size:30px">'''CHIINV (probability,degrees_freedom,Accuracy,DivisionDepthArray)'''</div><br/>
 
*Where <math>probability</math> is the  value associated with the Chi-squared Distribution
 
*Where <math>probability</math> is the  value associated with the Chi-squared Distribution
*<math>degreesoffreedom</math> is the number of Degrees of Freedom
+
*<math>degrees freedom</math> is the number of Degrees of Freedom.
 +
*<math>Accuracy</math> is the correct decimal places of the result.
  
 
==Description==
 
==Description==
Line 10: Line 11:
 
*The <math>\chi^2</math> static used to compare the observed value in each table to the value which would be the expected  under the assumption.
 
*The <math>\chi^2</math> static used to compare the observed value in each table to the value which would be the expected  under the assumption.
 
*If <math>X</math> has the chi-squared distribution with n degrees of freedom, then according to the definition, <math>\frac{1}{X}</math> has the Inverse-chi-squared distribution with <math>n</math> degrees of freedom;
 
*If <math>X</math> has the chi-squared distribution with n degrees of freedom, then according to the definition, <math>\frac{1}{X}</math> has the Inverse-chi-squared distribution with <math>n</math> degrees of freedom;
*If <math>CHIDIST(x,df)=prob</math>, then <math>CHIINV(prob,df)= x</math>.  
+
*If <math>CHIDIST (Number,DegreeOfFreedom)=probability</math>, then <math>CHIINV (probability,degrees_freedom,Accuracy,DivisionDepthArray)= Number</math>.  
 
*CHIINV use the iterating method to find the value of <math>x</math>.suppose the iteration has not converged after 100 searches, then the function gives the error result.  
 
*CHIINV use the iterating method to find the value of <math>x</math>.suppose the iteration has not converged after 100 searches, then the function gives the error result.  
 
*This function will give the error result when   
 
*This function will give the error result when   
 
  1.Any one of the arguments are non-numeric
 
  1.Any one of the arguments are non-numeric
  2.<math> df</math> value is not an integer
+
  2.<math> degrees freedom</math> value is not an integer
  3.<math> df < 1 </math>or <math>df>10^{10}</math>
+
  3.<math> degrees freedom < 1 </math>or <math>degrees freedom>10^{10}</math>
  4.Also <math> prob < 0 </math> or <math>prob>1</math>.
+
  4.Also <math> probability < 0 </math> or <math>probability>1</math>.
  
 
==ZOS==
 
==ZOS==
*The syntax is to calculate CHIINV in ZOS is <math>CHIINV(probability,degreesoffreedom)</math>.
+
*The syntax is to calculate CHIINV in ZOS is <math>CHIINV (probability,degrees_freedom,Accuracy,DivisionDepthArray)</math>.
 
**Where <math>probability</math> is the  value associated with the Chi-squared Distribution
 
**Where <math>probability</math> is the  value associated with the Chi-squared Distribution
**<math>degreesoffreedom</math> is the number of Degrees of Freedom
+
**<math>degrees freedom</math> is the number of Degrees of Freedom
 
*For e.g.,CHIINV(0.0257,3)
 
*For e.g.,CHIINV(0.0257,3)
 
{{#ev:youtube|sfB2dLFPu1U|280|center|Inverse Chi-Squared Distribution}}
 
{{#ev:youtube|sfB2dLFPu1U|280|center|Inverse Chi-Squared Distribution}}

Revision as of 14:38, 14 June 2018

CHIINV (probability,degrees_freedom,Accuracy,DivisionDepthArray)


  • Where is the value associated with the Chi-squared Distribution
  • is the number of Degrees of Freedom.
  • is the correct decimal places of the result.

Description

  • This function gives the inverse value of One_tailed probability of the Chi-squared Distribution.
  • It is called Inverted-Chi-square Distribution and it is a Continuous Probability Distribution of a positive-valued random variable.
  • Degrees of freedom =.
  • The static used to compare the observed value in each table to the value which would be the expected under the assumption.
  • If has the chi-squared distribution with n degrees of freedom, then according to the definition, has the Inverse-chi-squared distribution with degrees of freedom;
  • If , then .
  • CHIINV use the iterating method to find the value of .suppose the iteration has not converged after 100 searches, then the function gives the error result.
  • This function will give the error result when
1.Any one of the arguments are non-numeric
2. value is not an integer
3.or 
4.Also  or .

ZOS

  • The syntax is to calculate CHIINV in ZOS is .
    • Where is the value associated with the Chi-squared Distribution
    • is the number of Degrees of Freedom
  • For e.g.,CHIINV(0.0257,3)
Inverse Chi-Squared Distribution

Examples

  1. CHIINV(0.0001234098,2) = 18
  2. CHIINV(0.2547876,5) = 6.5669999999999655
  3. CHIINV(0.157299207050,1) = 1.9991000000000005
  4. CHIINV(0.6785412,-1) = NAN

Related Videos

Chi-Square Test

See Also

References

Inverse-chi-squared Distribution