# CHISQ.DIST.RT

The `CHISQ.DIST.RT` function returns the right-tailed probability of the chi-squared distribution. This function is commonly used in hypothesis testing and to calculate confidence intervals for the variance of a normal distribution. The chi-squared distribution is often used in goodness-of-fit tests and tests of independence in contingency tables.

## Usage

Use the `CHISQ.DIST.RT` formula with the syntax shown below, it has 2 required parameters:

Parameters:
1. x (required):
The value at which to evaluate the distribution.
2. degrees_freedom (required):
The degrees of freedom for the distribution. Must be a positive integer.

## Examples

Here are a few example use cases that explain how to use the `CHISQ.DIST.RT` formula in Google Sheets.

### Calculating confidence intervals

The CHISQ.DIST.RT function can be used to calculate confidence intervals for the variance of a normal distribution. This is useful in statistics when trying to estimate the range of values that a population parameter is likely to fall within.

### Goodness-of-fit tests

The chi-squared distribution is often used in goodness-of-fit tests to compare an observed distribution to a theoretical distribution. The CHISQ.DIST.RT function can be used to calculate the probability of obtaining a test statistic as large as or larger than the observed value, given the null hypothesis.

### Tests of independence in contingency tables

The chi-squared distribution is commonly used in tests of independence in contingency tables, which are used to examine the relationship between two categorical variables. The CHISQ.DIST.RT function can be used to calculate the probability of obtaining a test statistic as large as or larger than the observed value, given the null hypothesis of independence.

## Common Mistakes

`CHISQ.DIST.RT` not working? Here are some common mistakes people make when using the `CHISQ.DIST.RT` Google Sheets Formula:

### Incorrect number of arguments

Users often provide the wrong number of arguments to the CHISQ.DIST.RT formula. It requires two arguments: x (the value at which to evaluate the distribution) and degrees_freedom (the degrees of freedom for the distribution). Double-check that you have provided both arguments.

### Invalid input type

The CHISQ.DIST.RT formula requires numeric input for both the x value and degrees of freedom. If you provide a non-numeric value for either argument, the formula will return an error. Verify that you have entered numeric input for both arguments.

### Incorrect degrees of freedom

The degrees of freedom for the CHISQ.DIST.RT formula must be a positive integer. If you provide a non-integer or negative value for degrees_freedom, the formula will return an error. Check that you have entered a positive integer for degrees_freedom.

The following functions are similar to `CHISQ.DIST.RT` or are often used with it in a formula:

• `CHISQ.DIST`

The `CHISQ.DIST` function calculates the probability density function or the cumulative distribution function of a chi-squared distribution. This function is commonly used in hypothesis testing to determine the significance of the difference between expected and observed values. The output of this function can be used to make decisions about the null hypothesis.

• `CHISQ.INV`

The CHISQ.INV function returns the inverse of the right-tailed probability of the chi-squared distribution. It is commonly used in hypothesis testing where the null hypothesis is that the observed data follows a chi-squared distribution. The function returns the value of the chi-squared random variable at which the cumulative distribution function equals the given probability. This function is useful for finding critical values after performing a chi-squared test.

• `CHISQ.INV.RT`

The `CHISQ.INV.RT` function returns the inverse of the right-tailed probability of the chi-squared distribution. It is commonly used in hypothesis testing and goodness-of-fit analysis to determine whether an observed set of data is significantly different from a theoretical distribution. The function takes two arguments: the probability and the degrees of freedom.

• `T.DIST.RT`

The `T.DIST.RT` function returns the right-tailed Student's t-distribution of a given value, given the degrees of freedom. It is commonly used in hypothesis testing to determine the probability of observing a value as extreme or more extreme than a test statistic under the null hypothesis.

• `NORM.S.INV`

The `NORM.S.INV` function is a statistical function in Google Sheets that returns the inverse of the standard normal cumulative distribution function for a specified value. In other words, it returns the z-score that corresponds to a given probability. This function is commonly used in hypothesis testing, confidence interval estimation, and other statistical analyses.

You can learn more about the `CHISQ.DIST.RT` Google Sheets function on Google Support.