Goodness of fit tests Flashcards
what do goodness of fit tests compare
an observed frequency distribution with a theoretical expectation
what is a limit of binomial tests
limited to categorical variables with only TWO outcomes
what is the probability model
frequency of an event is proportional to the number of opportunities
what type of model is the proportional probability under
NULL model
what is the chai goodness of fit test
test that compares frequency data to a model stated by the null hypothesis UNDER THE PROPORTION PROBABILITY MODEL
observed vs expected frequency
observed - frequency based on actual data collected
expected - frequency based on null hypothesis generated by the proportion probability model
how to find the expected frequency in data
take the observed frequency and divide by total observations THEN multiply that proportion by the sample size (n)
how do calculate based on chai squared test
what is the test statistic for the chai squared test
measure of discrepancy between observed and expected frequencies
what is the formula for the test statistic for this test
does chai squared work on absolute or relative frequencies
absolute frequency (counted)
degrees of freedom specifies
which chai squared distribution to use as the null distribution
define degrees of freedom
the number of values in the calculations of a test statistic that may be varied independently
how to calculate degrees of freedom for Chai squared test
what is the P-value
the probability of getting a result as extreme or more extreme than the observed result under null hypothesis