Performs an F test to compare the variances of two samples, which are assumed to be normally distributed.
Technical details
Description
An F-test of equality of variances is used to test for the null hypothesis that two normal populations have the same variance.
Inputs
A numeric outcome variable and a categorical variable with two groups you wish to compare.
- Outcome The variable to analyze.
- Group Variable specifying the group that each observation comes from. Where this variable is numeric, it is automatically grouped into two approximately-equally-sized groups, using the median.
Output
Acknowledgements
Uses the var.test function from the stats R package.
Method
- In Displayr: How to do an F-Test to Compare Two Variances
- In Q: Create > Test > Variance > F-Test to Compare Two Variances