The degrees of freedom is critical to computing the p-value for the chi-square goodness of fit. We will discuss the p-value in the next lab. The degrees of freedom for the Chi-Square goodness of fit is equal to (the number of non-zero rows in the table) - 1. The number of non-zero rows is the number of expected values that are non-zero. For example: Phenotype ... Expected ... Disease ... 234 ... Wild-type ... 6743 ...
The degrees of freedom is critical to computing the p-value for the chi-square goodness of fit. We will discuss the p-value in the next lab. The degrees of freedom for the Chi-Square goodness of fit is equal to (the number of non-zero rows in the table) - 1. The number of non-zero rows is the number of expected values that are non-zero. For example: Phenotype ... Expected ... Disease ... 234 ... Wild-type ... 6743 ...
The degrees of freedom is critical to computing the p-value for the chi-square goodness of fit. We will discuss the p-value in the next lab. The degrees of freedom for the Chi-Square goodness of fit is equal to (the number of non-zero rows in the table) - 1. The number of non-zero rows is the number of expected values that are non-zero. For example: Phenotype ... Expected ... Disease ... 234 ... Wild-type ... 6743 ...
The degrees of freedom is critical to computing the p-value for the chi-square goodness of fit. We will discuss the p-value in the next lab. The degrees of freedom for the Chi-Square goodness of fit is equal to (the number of non-zero rows in the table) - 1. The number of non-zero rows is the number of expected values that are non-zero. For example:
Phenotype
...
Expected
...
Disease
...
234
...
Wild-type
...
6743
...
has two rows where the Expected value is non-zero. So the degrees of freedom is 2-1 = 1.
Another example:
Phenotype
...
Expected
...
Disease
...
2374
...
Wild-type
...
0
...
has one row where the Expected value is non-zero. So the degrees of freedom is 1-1 = 0. With 0 degrees of freedom, the chi-square test cannot be calculated.
A third example (sex-linked):
Phenotype
...
Expected
...
Disease-Male
...
2374
...
Disease-Female
...
9456
Wild-type-Male
...
1001
...
Wild-type-Female
...
235
...
has four rows where the Expected values are non-zero. So the degrees of freedom is 4-1 = 3
Video Video
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.