Made with ScholarlyMake flashcards like these from your own notes
Question:What type of data are chi-square tests primarily used to analyze?
Answer:Categorical data, such as survey responses, age groups, or product preferences.
Question:What is the basic idea behind chi-square tests?
Answer:They compare observed counts to expected counts; large differences suggest something interesting is happening.
Question:What are the two main types of chi-square tests discussed?
Answer:Chi-square goodness-of-fit test and chi-square test of independence.
Question:What does the chi-square goodness-of-fit test assess for a single categorical variable?
Answer:Whether the observed distribution matches a claimed or expected distribution.
Question:What does the chi-square test of independence determine about two categorical variables?
Answer:Whether the two variables are related or independent.
Question:How is the chi-square test statistic calculated in both types of tests?
Answer:Sum over categories of (observed count minus expected count squared, divided by expected count).
Question:What does a larger chi-square value indicate about the data?
Answer:A bigger mismatch between observed and expected counts.
Question:Why are chi-square tests used in market-share studies?
Answer:To check if observed product preferences match expected proportions from claimed market shares.
Question:How are expected counts calculated in the goodness-of-fit test?
Answer:Expected count for each category equals total sample size times the claimed probability for that category.
Question:What is the null hypothesis for the chi-square goodness-of-fit test?
Answer:The population proportions match the claimed values.
Question:What is a multinomial experiment in the context of goodness-of-fit?
Answer:Fixed number of independent trials with several possible categories and constant category probabilities.
Question:What condition must expected counts usually meet for chi-square goodness-of-fit?
Answer:Expected counts should be at least 5 in each category; combine categories if necessary.
Question:How are degrees of freedom calculated for goodness-of-fit test?
Answer:Number of categories minus 1.
Question:Why might categories need to be combined in goodness-of-fit tests?
Answer:To ensure expected counts are at least 5 in each category for the test's validity.
Question:In the restaurant survey example, what was the sample size and p-value?
Answer:250 customers surveyed, p-value of 0.089.
Question:What conclusion was drawn from the restaurant survey chi-square test?
Answer:Do not reject the null hypothesis because p=0.089 > 0.05; observed close to expected.
Question:How are expected counts computed in the test of independence?
Answer:Row total times column total divided by the grand total for each cell.
Question:What is the null hypothesis for the chi-square test of independence?
Answer:The two categorical variables are independent.
Question:What is the alternative hypothesis for the test of independence?
Answer:The two categorical variables are related.
Question:How are degrees of freedom calculated for test of independence?
Answer:(number of rows minus 1) times (number of columns minus 1).
Question:Give an example of degrees of freedom for a contingency table.
Answer:A three-by-two table has 2 degrees of freedom.
Question:In what fields is the test of independence commonly used?
Answer:Health, marketing, and social science to check category connections.
Question:What was the chi-square statistic, df, and p-value in the fitness center example?
Answer:Chi-square = 14.945, 2 degrees of freedom, p-value = 0.001.
Question:What conclusion was reached in the fitness center chi-square test?
Answer:Reject independence because p=0.001 < 0.05; age group and enrollment are related.
Question:What were the observed enrollments by age group in the fitness study?
Answer:24 under age 30, 72 for ages 30 to 50, 44 over age 50.
Question:What is the sample size in the fitness center open-house study?
Answer:400 attendees grouped by age and enrollment status.
Question:How does the chi-square goodness-of-fit test differ from the test of independence?
Answer:Goodness-of-fit tests one variable against a claimed distribution; independence tests association between two variables using a contingency table.
Question:Why is the chi-square statistic adjusted by dividing by expected count?
Answer:To standardize the squared deviations, accounting for category size; larger categories tolerate bigger absolute gaps.
Question:If observed counts are close to expected, what happens to the chi-square p-value?
Answer:The p-value is large, supporting the null hypothesis (no rejection).
Question:If the chi-square p-value is below the significance level, what do we conclude for independence test?
Answer:The variables are associated; reject null of independence.
Question:Why use chi-square for weekday tutoring requests example?
Answer:To test if requests are evenly spread across the week (goodness-of-fit to uniform distribution).
Question:What practical implication from the fitness study chi-square result?
Answer:Enrollment likelihood varied by age group.
Question:How does chi-square turn raw counts into decisions?
Answer:By computing statistic from (O-E)^2/E, df, and p-value to assess if pattern is real or random variation.
Question:If chi-square p-value is large like 0.089, what does it mean for the distribution?
Answer:Observed ratings are close enough to expected; no strong evidence of difference.
Question:Why is the test statistic the sum across all categories or cells?
Answer:To aggregate all deviations into one overall measure of mismatch.
Question:What example illustrates goodness-of-fit in customer ratings?
Answer:Restaurant surveys 250 customers to see if satisfaction matches proposed distribution; p=0.089.
Question:How would a very small p-value like 0.001 affect the conclusion?
Answer:Strong evidence against null; reject claimed distribution or independence.
Question:What is the power of chi-square methods according to the lecture?
Answer:They turn raw counts into clear decisions about patterns versus random variation.
Question:If counts are far apart from expected, what happens to chi-square statistic?
Answer:The statistic becomes large, leading to small p-value.
Question:Why is chi-square goodness-of-fit called a structured way to ask about distribution?
Answer:It formally tests if one categorical variable matches the promised distribution using statistic and p-value.
Question:In a scenario where observed exactly equals expected, what is chi-square?
Answer:Chi-square = 0, p-value = 1, perfect fit to null.
Question:How does sample size n affect expected counts in GOF?
Answer:Larger n makes all expected counts larger proportionally via n * p_i.
Question:For a fitness-like scenario with p=0.001 <0.05, why reject independence?
Answer:Low p-value indicates observed table unlikely under independence assumption.
Question:What role do row and column totals play in independence expected counts?
Answer:They determine cell expectations under independence: E_ij = (row_i * col_j) / N.
Question:Why use chi-square in health studies with categorical variables?
Answer:To test if categories like treatment and outcome are independent or associated.
Question:If a contingency table has r=4 rows and c=3 columns, what is df?
Answer:(4-1)*(3-1) = 6 degrees of freedom.
Question:What does 'not enough evidence of relationship' mean if p > alpha?
Answer:Fail to reject null; cannot conclude association from data.
Question:How does chi-square help analyze survey data?
Answer:Tests categorical responses against expected distributions or associations between questions.
Question:Why is the fitness study a real-world case for independence test?
Answer:It used age (categorical) vs enrollment (yes/no) contingency table to detect relation.
Question:If expected count <5 in some cells, what action for validity?
Answer:Combine adjacent categories to meet the at least 5 rule.
Question:What makes chi-square suitable for product preferences analysis?
Answer:Tests if observed choices match expected proportions (goodness-of-fit).
Question:In what scenario would weekday tutoring use goodness-of-fit?
Answer:Testing if requests evenly distributed across 7 days (claimed equal probs).
Question:How does the lecture build intuition for chi-square?
Answer:By explaining observed vs expected gaps, formula, p-value logic, and examples.
Question:What is the workflow for chi-square tests once known?
Answer:Compute expected, chi-square statistic, df, p-value, compare to alpha for decision.
Question:Why can students analyze categorical data with confidence after learning chi-square?
Answer:The structured method provides clear p-value decisions on fits or associations.
Question:Compare expected calculation: GOF vs independence?
Answer:GOF: n * claimed p_i. Independence: row total * col total / grand total.
Question:If independence held perfectly, what would observed equal?
Answer:Observed would equal expected from margins in every cell.
Question:What is Janet Mwangi's role in the fitness example?
Answer:She studied 400 open-house attendees for age-enrollment relation using chi-square.