Review of Central Tendency & Dispersion

Slides:



Advertisements
Similar presentations
Statistics Hypothesis Testing.
Advertisements

Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Hypothesis Testing An introduction. Big picture Use a random sample to learn something about a larger population.
Is it statistically significant?
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
Inference Sampling distributions Hypothesis testing.
Our goal is to assess the evidence provided by the data in favor of some claim about the population. Section 6.2Tests of Significance.
Probability & Statistical Inference Lecture 6
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Statistical Significance What is Statistical Significance? What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant?
Hypothesis Testing: One Sample Mean or Proportion
Fundamentals of Hypothesis Testing. Identify the Population Assume the population mean TV sets is 3. (Null Hypothesis) REJECT Compute the Sample Mean.
Cal State Northridge  320 Ainsworth Sampling Distributions and Hypothesis Testing.
Statistical Significance What is Statistical Significance? How Do We Know Whether a Result is Statistically Significant? How Do We Know Whether a Result.
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Introduction to Hypothesis Testing CJ 526 Statistical Analysis in Criminal Justice.
Hypothesis Testing For a Single Population Mean. Example: Grade inflation? Population of 5 million college students Is the average GPA 2.7? Sample of.
Hypothesis Testing For a Single Population Mean. Example: Grade inflation? Population of 5 million college students Is the average GPA 2.7? Sample of.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 11 Introduction to Hypothesis Testing.
Statistical Inference Dr. Mona Hassan Ahmed Prof. of Biostatistics HIPH, Alexandria University.
AM Recitation 2/10/11.
Overview Definition Hypothesis
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 9 Introduction to Hypothesis Testing.
Testing Hypotheses About Proportions
Testing Hypotheses Tuesday, October 28. Objectives: Understand the logic of hypothesis testing and following related concepts Sidedness of a test (left-,
1 Today Null and alternative hypotheses 1- and 2-tailed tests Regions of rejection Sampling distributions The Central Limit Theorem Standard errors z-tests.
Chapter 8 Hypothesis Testing I. Chapter Outline  An Overview of Hypothesis Testing  The Five-Step Model for Hypothesis Testing  One-Tailed and Two-Tailed.
Hypothesis Tests In statistics a hypothesis is a statement that something is true.
Hypothesis Testing: One Sample Cases. Outline: – The logic of hypothesis testing – The Five-Step Model – Hypothesis testing for single sample means (z.
Chapter 9 Hypothesis Testing II: two samples Test of significance for sample means (large samples) The difference between “statistical significance” and.
Copyright © 2012 by Nelson Education Limited. Chapter 7 Hypothesis Testing I: The One-Sample Case 7-1.
Introduction to Hypothesis Testing: One Population Value Chapter 8 Handout.
A Broad Overview of Key Statistical Concepts. An Overview of Our Review Populations and samples Parameters and statistics Confidence intervals Hypothesis.
1 Lecture 19: Hypothesis Tests Devore, Ch Topics I.Statistical Hypotheses (pl!) –Null and Alternative Hypotheses –Testing statistics and rejection.
Chapter 20 Testing hypotheses about proportions
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Hypothesis Testing – A Primer. Null and Alternative Hypotheses in Inferential Statistics Null hypothesis: The default position that there is no relationship.
Statistical Inference Statistical Inference involves estimating a population parameter (mean) from a sample that is taken from the population. Inference.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Chapter 20 Testing Hypothesis about proportions
Statistical Inference for the Mean Objectives: (Chapter 9, DeCoursey) -To understand the terms: Null Hypothesis, Rejection Region, and Type I and II errors.
Statistical Inference An introduction. Big picture Use a random sample to learn something about a larger population.
1 Hypothesis Testing A criminal trial is an example of hypothesis testing. In a trial a jury must decide between two hypotheses. The null hypothesis is.
Chapter 8 Hypothesis Testing I. Significant Differences  Hypothesis testing is designed to detect significant differences: differences that did not occur.
A review of key statistical concepts. An overview of the review Populations and parameters Samples and statistics Confidence intervals Hypothesis testing.
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
Education 793 Class Notes Inference and Hypothesis Testing Using the Normal Distribution 8 October 2003.
Welcome to MM207 Unit 7 Seminar Dr. Bob Hypothesis Testing and Excel 1.
Chapter 12 Tests of Hypotheses Means 12.1 Tests of Hypotheses 12.2 Significance of Tests 12.3 Tests concerning Means 12.4 Tests concerning Means(unknown.
BIOL 582 Lecture Set 2 Inferential Statistics, Hypotheses, and Resampling.
Today: Hypothesis testing p-value Example: Paul the Octopus In 2008, Paul the Octopus predicted 8 World Cup games, and predicted them all correctly Is.
Slide 20-1 Copyright © 2004 Pearson Education, Inc.
Chapter 20 Testing Hypotheses About Proportions. confidence intervals and hypothesis tests go hand in hand:  A confidence interval shows us the range.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7 th Edition Chapter 9 Hypothesis Testing: Single.
Module 10 Hypothesis Tests for One Population Mean
Hypothesis Testing: One-Sample Inference
Hypothesis Testing: One Sample Cases
Testing Hypotheses About Proportions
Statistics for Managers using Excel 3rd Edition
Hypothesis Testing: Hypotheses
When we free ourselves of desire,
Testing Hypotheses about Proportions
Chapter 11: Introduction to Hypothesis Testing Lecture 5b
Chapter 9: Hypothesis Tests Based on a Single Sample
Introduction to Inductive Statistics
Testing Hypotheses About Proportions
Psych 231: Research Methods in Psychology
Last Update 12th May 2011 SESSION 41 & 42 Hypothesis Testing.
Chapter 9 Hypothesis Testing: Single Population
Presentation transcript:

Review of Central Tendency & Dispersion

Central Tendency & dispersion Mean 𝑥 = 1 𝑛 × 𝑖=1 𝑛 𝑥 𝑖 Median – Mid value after ranking Range Quartiles Range between Q1-Q3 capture what % of data? Calculated around the Median or Mean?

Dispersion – Cont… Variance – 𝑠 2 = 𝑖=1 𝑛 ( 𝑥 𝑖 − 𝑥 ) 2 𝑛−1 What is a drawback of using variance to describe dispersion? Standard Deviation - 𝑠= 𝑖=1 𝑛 ( 𝑥 𝑖 − 𝑥 ) 2 𝑛−1 What % of a sample is described by 2s? Which sample is more Variable?

Population statistics Parameter Mean 𝑥 µ Variance 𝑠 2 𝜎 2 Standard deviation 𝑠 𝜎

Exercise Provide the range, and 1st and 3rd quartiles for your dataset Manually calculate in excel the standard deviation for your sample of soil values. Using the stdev formula in excel calculate the standard deviations for all the sample sets How variable are the standard deviations? Which of the datasets comes closest to the population variance? (70.24 g.kg-1)

Hypotheses

Hypothesis A statistical hypothesis is a hypothesis that is testable on the basis of observing a process that is modelled via a set of random variables. Commonly two statistical datasets are compared, or a dataset obtained by sampling is compared against a synthetic dataset from an idealized model.

Hypothesis “a proposed explanation for a phenomenon.” (Wikipedia) Specifically a scientific hypothesis requires that the scientific method can be applied to test it.

Hypothesis Variety of test are available: Selection of the test will be based upon: The question / hypothesis to be tested. The data available to perform the tests. The assumptions of the tests and whether the data available meets the requirements.

Null & Alternative Hypothesis A hypothesis is proposed for the statistical relationship between two datasets , and this is compared as an alternative to an idealised null hypothesis that proposes no relationship between the two datasets. The Null hypothesis (Ho) states no difference The Alternate hypothesis (Ha) states the expected difference

Hypothesis example 1 “Because of high reflectance in the NIR region of the spectrum when looking at green vegetation I expect the mean reflectance value of healthy vegetation to be higher than urban structures.” Ha: There is no difference in the mean reflectance of vegetation and urban settlements in the NIR region of the spectrum Ho: Vegetation spectra have a higher reflectance in the NIR region c.f. Urban spectra

Is normal body temperature really 98.6 degrees F? Or it is lower? Example 2 Is normal body temperature really 98.6 degrees F? Or it is lower? The researcher starts assuming that the average adult body temp was 98.6 F degrees. The researcher selects a random sample of 130 adults. The average body temp. of the 130 sampled adults is 98.25. Make a decision about this assumption: likely or unlikely. Likely  the researcher does not reject this initial assumption (there is not enough evidence to do otherwise) Unlikely  either the researcher’s initial assumption is correct and he experienced a very unusual event or the researcher initial assumption is incorrect.

Example 3 Our criminal justice system assumes “the defendant is innocent until proven guilty” In the practice of statistics, we make our initial assumption when we state our two competing hypothesis (the null hypothesis (Ho) and the alternative hypothesis (Ha). The defendant is not guilty (Ho). The defendant is guilty (Ha) In statistics we always assume that the null hypothesis is true. If the jury finds sufficient evidence to make the assumption of innocence refutable. The jury rejects the null hypothesis and deems the defendant guilty. If there is insufficient evidence, then the jury does not reject the null hypothesis.

Errors in Hypothesis testing We make our decision based on the evidence not on 100% guaranteed proof. If we reject the null hypothesis, we do not prove that the alternative hypothesis is true. If we do not reject the null hypothesis, we do not prove that the null hypothesis is true.

Errors in Hypothesis testing We merely state that there is enough evidence to behave one way or the other. In statistics there is always a chance that we make an error. Two types of errors: Type I error: The null hypothesis is rejected when it is true. Type II error: The null hypothesis is not rejected when it is false.

Errors in Hypothesis testing Lets review the two types of errors that can be made in criminal trials: Truth Jury Decision Not guilty Guilty OK Error

Errors in Hypothesis testing Correspondence to the two types of errors in the hypothesis testing. Truth Decision Null Hypothesis Alternative Hypothesis Do not reject null OK Error II Reject null Error I Two types of errors: Type I error: The null hypothesis is rejected when it is true. Type II error: The null hypothesis is not rejected when it is false.

Making a decision It is likely or unlikely that we would observe the evidence we did given to the initial assumption. If it is likely, we don’t reject the null hypothesis. If it is unlikely, we reject the null hypothesis in favor of an alternative hypothesis.

Making a decision Look at each of the following hypothesis tests about the population mean. Type Null Alternative Right - tailed H0 : μ = 3 HA : μ > 3 Left- tailed HA : μ < 3 Two- tailed HA : μ ≠ 3 In practice: We would want to conduct the first hypothesis test if we were interested in conduct that the average grade point of the group is more than 3. We would want to conduct the second hypothesis if we were interested in concluding that the average grade point of the group is less than 3. We would want to conduct the third hypothesis test if we were only interested in concluding that the average grade point of the group differs from 3 (without caring whether it is more or less than 3)

Exercise Generate a couple of sensible hypotheses based on the population of Windhoek (either Whk on its own or comparison to the other Namibian cities) E.g. related to employment, or mode of transport, or education Generate a coupe of sensible hypotheses based on NUST student population E.g. related to evening and daytime students, or graduate and post-graduate, and current employment status

References References: http://www.r-tutor.com http://www.cyclismo.org/tutorial/R/types.html https://www.ijsr.net/archive/v3i8/MDIwMTU0ODU=.pdf Chun and Griffith (2013). Spatial Statistics and Geostatistics (Book)