23
Null-hypothesis for a Chi-Square Goodness of Fit Test

Null hypothesis for a chi-square goodness of fit test

Embed Size (px)

DESCRIPTION

Null hypothesis for a chi-square goodness of fit test

Citation preview

Page 1: Null hypothesis for a chi-square goodness of fit test

Null-hypothesis for a Chi-Square Goodness of Fit Test

Page 2: Null hypothesis for a chi-square goodness of fit test

With hypothesis testing we are setting up a null-hypothesis –

Page 3: Null hypothesis for a chi-square goodness of fit test

With hypothesis testing we are setting up a null-hypothesis – the probability that there is no effect or relationship –

Page 4: Null hypothesis for a chi-square goodness of fit test

With hypothesis testing we are setting up a null-hypothesis – the probability that there is no effect or relationship – and then we collect evidence that leads us to either accept or reject that null hypothesis.

Page 5: Null hypothesis for a chi-square goodness of fit test

As you may recall, a Chi-square Goodness of Fit test is a method that tests the degree to which the distribution of a nominal variable (e.g., gender, political affiliation, ethnic group, levels of age, etc.) from a sample fits the hypothesized distribution.

Page 6: Null hypothesis for a chi-square goodness of fit test

Example

Page 7: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 50/50. To what degree does the sample distribution fit the expected distribution?

Page 8: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 50/50. To what degree does the sample distribution fit the expected distribution?

Page 9: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

Results are shown in the table below.

The expectation is that the distribution would be even or 50/50. To what degree does the sample distribution fit the expected distribution?

Page 10: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

Results are shown in the table below.

The expectation is that the distribution would be even or 50/50. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

Page 11: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

Page 12: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

Page 13: Null hypothesis for a chi-square goodness of fit test

Here is a template for writing a null-hypothesis for a Chi-square Goodness of Fit Test:

Page 14: Null hypothesis for a chi-square goodness of fit test

Here is a template for writing a null-hypothesis for a Chi-square Goodness of Fit Test:

The [Insert Category Heading] of [Insert Nominal Variable] occur with a [Insert Probability].

Page 15: Null hypothesis for a chi-square goodness of fit test

Let’s go back to our problem:

Page 16: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

Page 17: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

The null-hypothesis: The [Insert Category Heading] of [Insert Categories] occur at a [Insert Hypothesized Probability] probability in Connecticut.

Page 18: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

The null-hypothesis: The [Insert Category Heading] of [Insert Categories] occur at a [Insert Hypothesized Probability] probability in Connecticut.

Page 19: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

The null-hypothesis: The party affiliation of [Insert Categories] occur at a [Insert Hypothesized Probability] probability in Connecticut.

Page 20: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

The null-hypothesis: The party affiliation of Republican / Democrat occur at a [Insert Hypothesized Probability] probability in Connecticut.

Page 21: Null hypothesis for a chi-square goodness of fit test

ProblemA public opinion poll surveyed a simple random sample of 1000 voters in the blue state of Connecticut. Respondents were asked to share their party affiliation (Republican or Democrat)

Results are shown in the table below.

The expectation is that the distribution would be even or 40/60. To what degree does the sample distribution fit the expected distribution?

Party AffiliationRepublican Democrat

320 680

The null-hypothesis: The party affiliation of Republican / Democrat occur at a .4/.6 probability in Connecticut.

Page 22: Null hypothesis for a chi-square goodness of fit test

Here is a template:

Page 23: Null hypothesis for a chi-square goodness of fit test

Here is a template:

The null-hypothesis: The [Insert Category Heading] of [Insert Categories] occur at a [Insert Hypothesized Probability] probability.