Midterm Review Session

Slides:



Advertisements
Similar presentations
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Advertisements

Inferential Statistics
Parametric/Nonparametric Tests. Chi-Square Test It is a technique through the use of which it is possible for all researchers to:  test the goodness.
Section 9.3 Inferences About Two Means (Independent)
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Nonparametric tests and ANOVAs: What you need to know.
How do I know which distribution to use?
Testing means, part III The two-sample t-test. Sample Null hypothesis The population mean is equal to  o One-sample t-test Test statistic Null distribution.
Making Inferences for Associations Between Categorical Variables: Chi Square Chapter 12 Reading Assignment pp ; 485.
PSY 307 – Statistics for the Behavioral Sciences
The Normal Distribution. n = 20,290  =  = Population.
9-1 Hypothesis Testing Statistical Hypotheses Statistical hypothesis testing and confidence interval estimation of parameters are the fundamental.
Chapter Goals After completing this chapter, you should be able to:
Final Review Session.
PSYC512: Research Methods PSYC512: Research Methods Lecture 19 Brian P. Dyre University of Idaho.
Correlation. Two variables: Which test? X Y Contingency analysis t-test Logistic regression Correlation Regression.
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 10 Notes Class notes for ISE 201 San Jose State University.
4-1 Statistical Inference The field of statistical inference consists of those methods used to make decisions or draw conclusions about a population.
Inferences About Process Quality
BCOR 1020 Business Statistics
5-3 Inference on the Means of Two Populations, Variances Unknown
Hypothesis Testing Using The One-Sample t-Test
Comparing Population Parameters (Z-test, t-tests and Chi-Square test) Dr. M. H. Rahbar Professor of Biostatistics Department of Epidemiology Director,
Chapter 9 Title and Outline 1 9 Tests of Hypotheses for a Single Sample 9-1 Hypothesis Testing Statistical Hypotheses Tests of Statistical.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
AM Recitation 2/10/11.
Estimation and Hypothesis Testing Faculty of Information Technology King Mongkut’s University of Technology North Bangkok 1.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
1/2555 สมศักดิ์ ศิวดำรงพงศ์
Things that I think are important Chapter 1 Bar graphs, histograms Outliers Mean, median, mode, quartiles of data Variance and standard deviation of.
- Interfering factors in the comparison of two sample means using unpaired samples may inflate the pooled estimate of variance of test results. - It is.
More About Significance Tests
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Comparing Means: t-tests Wednesday 22 February 2012/ Thursday 23 February 2012.
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Copyright © 2008 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 22 Using Inferential Statistics to Test Hypotheses.
Statistical Review We will be working with two types of probability distributions: Discrete distributions –If the random variable of interest can take.
Week 8 Chapter 8 - Hypothesis Testing I: The One-Sample Case.
Chapter 9 Hypothesis Testing and Estimation for Two Population Parameters.
Chapter 10 Comparing Two Means Target Goal: I can use two-sample t procedures to compare two means. 10.2a h.w: pg. 626: 29 – 32, pg. 652: 35, 37, 57.
Mid-Term Review Final Review Statistical for Business (1)(2)
9-1 Hypothesis Testing Statistical Hypotheses Definition Statistical hypothesis testing and confidence interval estimation of parameters are.
Testing means, part II The paired t-test. Outline of lecture Options in statistics –sometimes there is more than one option One-sample t-test: review.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Associate Professor Arthur Dryver, PhD School of Business Administration, NIDA url:
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Chapter 11: Inference for Distributions of Categorical Data Section 11.1 Chi-Square Goodness-of-Fit Tests.
Introduction Many experiments result in measurements that are qualitative or categorical rather than quantitative. Humans classified by ethnic origin Hair.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
AP STATS EXAM REVIEW Chapter 8 Chapter 13 and 14 Chapter 11 and 12 Chapter 9 and Chapter 10 Chapter 7.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
Fitting probability models to frequency data. Review - proportions Data: discrete nominal variable with two states (“success” and “failure”) You can do.
CHI SQUARE TESTS.
Inferential Statistics. Coin Flip How many heads in a row would it take to convince you the coin is unfair? 1? 10?
Chapter Outline Goodness of Fit test Test of Independence.
N318b Winter 2002 Nursing Statistics Specific statistical tests Chi-square (  2 ) Lecture 7.
© Copyright McGraw-Hill 2004
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Objectives (BPS chapter 12) General rules of probability 1. Independence : Two events A and B are independent if the probability that one event occurs.
11.1 Chi-Square Tests for Goodness of Fit Objectives SWBAT: STATE appropriate hypotheses and COMPUTE expected counts for a chi- square test for goodness.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Statistical principles: the normal distribution and methods of testing Or, “Explaining the arrangement of things”
Hypothesis Testing Review
Presentation transcript:

Midterm Review Session

Things to Review Concepts Basic formulae Statistical tests

Things to Review Concepts Basic formulae Statistical tests

Populations <-> Parameters; Samples <-> Estimates

Nomenclature Population Parameter Sample Statistics Mean  Variance  Standard Deviation  s

In a random sample, each member of a population has an equal and independent chance of being selected.

Review - types of variables Nominal Categorical variables Numerical variables Ordinal Discrete Continuous

Reality Ho true Ho false Result Reject Ho correct Type I error Do not reject Ho correct Type II error

Sampling distribution of the mean, n=10

Things to Review Concepts Basic formulae Statistical tests

Things to Review Concepts Basic formulae Statistical tests

Sample Null hypothesis Test statistic Null distribution compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

Statistical tests Binomial test Chi-squared goodness-of-fit Proportional, binomial, poisson Chi-squared contingency test t-tests One-sample t-test Paired t-test Two-sample t-test

Statistical tests Binomial test Chi-squared goodness-of-fit Proportional, binomial, poisson Chi-squared contingency test t-tests One-sample t-test Paired t-test Two-sample t-test

Quick reference summary: Binomial test What is it for? Compares the proportion of successes in a sample to a hypothesized value, po What does it assume? Individual trials are randomly sampled and independent Test statistic: X, the number of successes Distribution under Ho: binomial with parameters n and po. Formula: P = 2 * Pr[xX] P(x) = probability of a total of x successes p = probability of success in each trial n = total number of trials

Binomial test Null hypothesis Pr[success]=po Sample Test statistic x = number of successes Null distribution Binomial n, po compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

Binomial test

Statistical tests Binomial test Chi-squared goodness-of-fit Proportional, binomial, poisson Chi-squared contingency test t-tests One-sample t-test Paired t-test Two-sample t-test

Quick reference summary: 2 Goodness-of-Fit test What is it for? Compares observed frequencies in categories of a single variable to the expected frequencies under a random model What does it assume? Random samples; no expected values < 1; no more than 20% of expected values < 5 Test statistic: 2 Distribution under Ho: 2 with df=# categories - # parameters - 1 Formula:

Discrete distribution 2 goodness of fit test Null hypothesis: Data fit a particular Discrete distribution Sample Calculate expected values Test statistic Null distribution: 2 With N-1-param. d.f. compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

2 Goodness-of-Fit test

Possible distributions Pr[x] = n * frequency of occurrence

Proportional Binomial Poisson Given a number of categories Probability proportional to number of opportunities Days of the week, months of the year Proportional Number of successes in n trials Have to know n, p under the null hypothesis Punnett square, many p=0.5 examples Binomial Number of events in interval of space or time n not fixed, not given p Car wrecks, flowers in a field Poisson

Statistical tests Binomial test Chi-squared goodness-of-fit Proportional, binomial, poisson Chi-squared contingency test t-tests One-sample t-test Paired t-test Two-sample t-test

Quick reference summary: 2 Contingency Test What is it for? Tests the null hypothesis of no association between two categorical variables What does it assume? Random samples; no expected values < 1; no more than 20% of expected values < 5 Test statistic: 2 Distribution under Ho: 2 with df=(r-1)(c-1) where r = # rows, c = # columns Formulae:

2 Contingency Test Null hypothesis: Sample No association between variables Sample Calculate expected values Test statistic Null distribution: 2 With (r-1)(c-1) d.f. compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

2 Contingency test

Statistical tests Binomial test Chi-squared goodness-of-fit Proportional, binomial, poisson Chi-squared contingency test t-tests One-sample t-test Paired t-test Two-sample t-test

Quick reference summary: One sample t-test What is it for? Compares the mean of a numerical variable to a hypothesized value, μo What does it assume? Individuals are randomly sampled from a population that is normally distributed. Test statistic: t Distribution under Ho: t-distribution with n-1 degrees of freedom. Formula:

One-sample t-test Null hypothesis The population mean is equal to o Sample Null distribution t with n-1 df Test statistic compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

One-sample t-test Ho: The population mean is equal to o Ha: The population mean is not equal to o

Paired vs. 2 sample comparisons

Quick reference summary: Paired t-test What is it for? To test whether the mean difference in a population equals a null hypothesized value, μdo What does it assume? Pairs are randomly sampled from a population. The differences are normally distributed Test statistic: t Distribution under Ho: t-distribution with n-1 degrees of freedom, where n is the number of pairs Formula:

*n is the number of pairs Paired t-test Null hypothesis The mean difference is equal to o Sample Null distribution t with n-1 df *n is the number of pairs Test statistic compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

Paired t-test Ho: The mean difference is equal to 0 Ha: The mean difference is not equal 0

Quick reference summary: Two-sample t-test What is it for? Tests whether two groups have the same mean What does it assume? Both samples are random samples. The numerical variable is normally distributed within both populations. The variance of the distribution is the same in the two populations Test statistic: t Distribution under Ho: t-distribution with n1+n2-2 degrees of freedom. Formulae:

Two-sample t-test Null hypothesis The two populations have the same mean 12 Sample Null distribution t with n1+n2-2 df Test statistic compare How unusual is this test statistic? P > 0.05 P < 0.05 Reject Ho Fail to reject Ho

Two-sample t-test Ho: The means of the two populations are equal Ha: The means of the two populations are not equal

Which test do I use?

Methods for a single variable 1 How many variables am I comparing? 2 Methods for comparing two variables

Methods for one variable Is the variable categorical or numerical? Categorical Comparing to a single proportion po or to a distribution? Numerical po distribution One-sample t-test 2 Goodness- of-fit test Binomial test

Methods for two variables X Y

Methods for two variables X Contingency analysis Logistic regression Y t-test Regression

Methods for two variables Is the response variable categorical or numerical? Categorical Numerical Contingency analysis t-test

How many variables am I comparing? 2 1 t-test Is the response variable Is the variable categorical or numerical? Is the response variable categorical or numerical? Categorical Comparing to a single proportion po or to a distribution? Numerical Numerical Categorical po distribution Contingency analysis t-test 2 Goodness- of-fit test One-sample t-test Binomial test

Sample Problems An experiment compared the testes sizes of four experimental populations of monogamous flies to four populations of polygamous flies: a. What is the difference in mean testes size for males from monogamous populations compared to males from polyandrous populations? What is the 95% confidence interval for this estimate? b. Carry out a hypothesis test to compare the means of these two groups. What conclusions can you draw?

Sample Problems In Vancouver, the probability of rain during a winter day is 0.58, for a spring day 0.38, for a summer day 0.25, and for a fall day 0.53. Each of these seasons lasts one quarter of the year. What is the probability of rain on a randomly-chosen day in Vancouver?

Sample problems A study by Doll et al. (1994) examined the relationship between moderate intake of alcohol and the risk of heart disease. 410 men (209 "abstainers" and 201 "moderate drinkers") were observed over a period of 10 years, and the number experiencing cardiac arrest over this period was recorded and compared with drinking habits. All men were 40 years of age at the start of the experiment. By the end of the experiment, 12 abstainers had experienced cardiac arrest whereas 9 moderate drinkers had experienced cardiac arrest. Test whether or not relative frequency of cardiac arrest was different in the two groups of men.

Sample Problems An RSPCA survey of 200 randomly-chosen Australian pet owners found that 10 said that they had met their partner through owning the pet. A. Find the 95% confidence interval for the proportion of Australian pet owners who find love through their pets. B. What test would you use to test if the true proportion is significantly different from 0.01? Write the formula that you would use to calculate a P-value.

Sample Problems One thousand coins were each flipped 8 times, and the number of heads was recorded for each coin. Here are the results: Does the distribution of coin flips match the distribution expected with fair coins? ("Fair coin" means that the probability of heads per flip is 0.5.) Carry out a hypothesis test.

Sample problems Vertebrates are thought to be unidirectional in growth, with size either increasing or holding steady throughout life. Marine iguanas from the Galápagos are unusual in a number of ways, and a team of researchers has suggested that these iguanas might actually shrink during the low food periods caused by El Niño events (Wikelski and Thom 2000). During these events, up to 90% of the iguana population can die from starvation. Here is a plot of the changes in body length of 64 surviving iguanas during the 1992-1993 El Niño event. The average change in length was −5.81mm, with standard deviation 19.50mm. Test the hypothesis that length did not change on average during the El Niño event.