lecture 19,20,21 Flashcards
what is a multinomial experiment?
qualitative data falling into more than 2 categories
properties of a multinomial experiment?
n identical trials
k possible outcomes (categories or cells)
probabilities are p1, p2, p3 and remain the same from trail to trial
independent trials
random variable interests are cell counts, n1, n2, of the # of observations that fall in each of the k classes
what is a one way table
consider a multinomial experiment with k outcomes that correspond to categories of a single qualitative variable. These results are summarized in a one way table
one way because only one variable is classified
what does a chi sqaured test measure?
the degree of disagreement between the data and null hypothesis
5 steps to solving a chi squared?
1 state null and alternative
2 test statistic (x^2= sum of (ni-npi,0)^2/npi,0)
3 Specify a
4 calculate test stat
5 determine whether to fail to reject or reject null and draw conclusions
rejection region for chi squared?
if x^2> x^2a, k-1; where k-1 is number of cells -1
conditions for x^2
multinomial experiment; satisfied by taking a random sample
n is large; satisfied if for every cell, Ei>5
what is the chi squared used to determine?
whether there is a significant difference between expected frequencies and observed frequencies in one or more categories
what is a two way contigency table?
multinomial experiment results summarized in 2-way table called a contigency table
probability totals are called marginal probabilites for each row and column
what happens in a contingency table analysis?
if the two classifications are independent, the probability that an item is classified in any particular cell of the table is the product of the corresponding marginal probabilities.
how to estimate probabilites?
phatci= Ri/n
phatci=Ci/n
as the number of degrees of freedom increases,?
the chi squared distribution becomes more symmetrical; values of x^2 are always positive. The distributions are positively skewed
finding expected cell counts for 2-way table
Ehat=RiCj/n
test stat for two way table?
x^2= sum of (nij-Ehatij)^2/Ehatij
pvalue
P(x^2>x^2a) where x^2a has (r-1)(c-1) df and x^2c is computed value of test stat