chi-squared and t- test Flashcards
what is the chi- square test?
- test of difference among categorical (nominal/ ordinal) variables
what are the two types of chi- squared tests?
- chi- square goodness- of- fit test
- chi- square test of association
what does the chi- square goodness- of- fit test?
- tests proportions with more than two levels
- how the proportions in data fit to fixed (expected) proportions
what are binomial tests limited to? how does this differ to chi- square?
- binomial test limited to dichotomous variables (heads/ tails, success/ fail)
- chi- square test can test more than two categories
what is the null hypothesis of a dice in chi- square goodness of fit test?
- the dice is fair i.e., each face (1-6) has 1/6 probability
what is Benford’s law?
- frequency of first digits of naturally occuring numerical data (prices, populations, lengths, etc) follow a particular proportion
what does chi- square test for Benford’s law test?
- tests whether the frequency of first- digits of the data follow the known proportion
what is the null hypothesis of Benford’s law?
- Benford’s law is persevered
i.e., numbers are naturally occurring
what happens if the null hypothesis of Benford’s law is rejected?
- it is likely that the data set is fabricated
what is Benford’s law used in?
- various fraud detection scenarios
e.g., accounting, election, and scientific reports
how do you report results of chi- square goodness- of - fit test?
- explain the experiment
- X2 value for df (degree of freedom)
- p value
what does the x2 value show?
- bigger x2= bigger difference
what does the chi- square test of association test?
- compares proportions across two or more groups
- how proportions of two data sets are associated (test of independence)
what variables does chi- square test of association check association between?
- two nominal/ ordinal variables
how are descriptive tendencies for chi-square test of association summarised?
- summarised into a contingency table
how is chi- square test of association reported?
- reported by chi- square value with df and N (number of samples)
- followed by p- value
what do the one sample, independent and paired sample t- tests correspond to?
- corresponds to the test for nominal/ ordinal variables
what test does one sample t- test correspond to?
- binomial or chi- square goodness of fit test
what does independent (unpaired) samples t- test correspond to?
- chi- square test of association
what does paired samples t- test correspond to?
- McNemar’s test
what does the one sample t- test compare?
-compares the mean of one sample group against a fixed value