newspapers Name: September 19, 2015

Size: px
Start display at page:

Download "newspapers Name: September 19, 2015"

Transcription

1 newspapers Name: September 19, 2015 newspapers reference: Peck, 1/e, ex The report Audience Insights: Communicating to Teens (aged 12 17) ( 2009) described teens attitudes about traditional media, such as TV, movies, and newspapers. In a representative sample of American teenage girls, 41% said newspapers were boring. In a representative sample of American teenage boys, 44% said newspapers were boring. Sample sizes were not given in the report. a. Suppose that the percentages reported were based on samples of 58 girls and 41 boys. Is there convincing evidence that the proportion of those who think that newspapers are boring is different for teenage girls and boys? Carry out a hypothesis test using α =.05. b. Suppose that the percentages reported were based on samples of 2,000 girls and 2,500 boys. Is there convincing evidence that the proportion of those who think that newspapers are boring is different for teenage girls and boys? Carry out a hypothesis test using α =.05. c. Explain why the hypothesis tests in Parts (a) and (b) resulted in different conclusions. [1] [1] Peck, Roxy ( ). Statistics: Learning from Data (with JMP Printed Access Card) (Page 479). Cengage Learning. Kindle Edition. newspapers For an HT for the difference of two proportions: Define p 1, p 2, ˆp 1, n 1, ˆp 2, n 2 Calculate ˆp 1, n 1, ˆp 2, n 2 # p1.hat # n1 # p2.hat # n2 # Check that the necessary conditions are satisfied. 1

2 # check sample-size conditions for HT or CI for the difference of two proportions # p1 and p2 are unknown so use p1.hat and p2.hat conditions.two.proportions <- function(p1.hat, n1, p2.hat, n2){ category <- c("p1.hat * n1", "(1 - p1.hat) * n1", "p2.hat * n2", "(1 - p2.hat) * n2") count <- c(p1.hat * n1, (1 - p1.hat) * n1, p2.hat * n2, (1 - p2.hat) * n2) condition <- count >= 10 results <- data.frame(category, count, condition) return(results) } State H 0, H a and α Calculate the point estimate point.estimate, SE, the test statistic z, and the P-value p.value # point.estimate # p.c <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) # combined estimate # se <- sqrt(p.c * (1 - p.c) * (1 / n1 + 1 / n2)) # z # p.value # On a sketch of the normal probability distribution, locate z and shade the region whose area is p.value State the formal conclusion of the HT and explain how you reached that conclusion State the conclusion in context. Mention the level of confidence. small samples Check For an HT for the difference of two proportions: Define p 1, p 2, ˆp 1, n 1, ˆp 2, n 2 p = proportion who think newspapers are boring Calculate ˆp 1, n 1, ˆp 2, n 2 2

3 n.boys <- 41 n.girls <- 58 p.boys < # proportion of boys p.girls < # proportion of girls Rename variables. p1.hat <- p.boys p2.hat <- p.girls n1 <- n.boys n2 <- n.girls Barplot. barplot(c(p1.hat, p2.hat), las=1, col=c("palegreen", "turquoise"), names.arg=c("boys", "Girls"), ylab="proportion", main="newspapers") Newspapers 0.4 Proportion Boys Girls Check that the necessary conditions are satisfied. conditions.two.proportions(p1.hat, n1, p2.hat, n2) category count condition 1 p1.hat * n TRUE 2 (1 - p1.hat) * n TRUE 3 p2.hat * n TRUE 4 (1 - p2.hat) * n TRUE 3

4 State H 0, H a and α H 0 : p boys p girls = 0 H 0 : p boys p girls 0 alpha < Calculate the point estimate point.estimate, SE, the test statistic z, and the P-value p.value # point.estimate point.estimate <- p1.hat - p2.hat point.estimate [1] 0.03 # se p.c <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) # combined estimate se <- sqrt(p.c * (1 - p.c) * (1 / n1 + 1 / n2)) # z z <- point.estimate / se z [1] # p.value p.value <- 2 * (1 - pnorm(z)) p.value [1] HT for the difference of two proportions # alternative = "two.sided", "less", "greater" ht.two.proportions <- function(p1.hat, n1, p2.hat, n2, alternative){ p.hat.diff <- p1.hat - p2.hat p.pooled <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) se.diff <- sqrt(p.pooled * (1 - p.pooled) * (1 / n1 + 1 / n2)) z <- p.hat.diff / se.diff if (alternative=="two.sided") p.value <- 2 * (1 - pnorm(abs(z))) else if (alternative=="greater") p.value <- 1 - pnorm(z) else if (alternative=="less") p.value <- pnorm(z) return(list(p.hat.diff=p.hat.diff, se.diff=se.diff, z=z, p.value=p.value)) } 4

5 alternative <- "two.sided" ht.results <- ht.two.proportions(p1.hat, n1, p2.hat, n2, alternative) ht.results $p.hat.diff [1] 0.03 $se.diff [1] $z [1] $p.value [1] On a sketch of the normal probability distribution, locate z and shade the region whose area is p.value library(openintro) x.max <- 5.0 y.max <- 0.4 z <- round(ht.results$z, 3) mu <- 0 sigma <- 1 p.value <- round(ht.results$p.value, 3) title <- "Hypothesis Test for the Difference\nof Two Proportions (two-tailed)" draw.normal(x.max, y.max, z, mu, sigma, p.value, title) Hypothesis Test for the Difference of Two Proportions (two tailed) N(0, 1) p = z =

6 State the formal conclusion of the HT and explain how you reached that conclusion reject.h0 <- p.value <= alpha reject.h0 [1] FALSE State the conclusion in context. Mention the level of confidence. large samples For an HT for the difference of two proportions: Define p 1, p 2, ˆp 1, n 1, ˆp 2, n 2 Calculate ˆp 1, n 1, ˆp 2, n 2 # p1.hat # n1 # p2.hat # n2 # Check that the necessary conditions are satisfied. # check sample-size conditions for HT or CI for the difference of two proportions # p1 and p2 are unknown so use p1.hat and p2.hat conditions.two.proportions <- function(p1.hat, n1, p2.hat, n2){ category <- c("p1.hat * n1", "(1 - p1.hat) * n1", "p2.hat * n2", "(1 - p2.hat) * n2") count <- c(p1.hat * n1, (1 - p1.hat) * n1, p2.hat * n2, (1 - p2.hat) * n2) condition <- count >= 10 results <- data.frame(category, count, condition) return(results) } State H 0, H a and α Calculate the point estimate point.estimate, SE, the test statistic z, and the P-value p.value 6

7 # point.estimate # p.c <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) # combined estimate # se <- sqrt(p.c * (1 - p.c) * (1 / n1 + 1 / n2)) # z # p.value # On a sketch of the normal probability distribution, locate z and shade the region whose area is p.value State the formal conclusion of the HT and explain how you reached that conclusion State the conclusion in context. Mention the level of confidence. Check For an HT for the difference of two proportions: Define p 1, p 2, ˆp 1, n 1, ˆp 2, n 2 Calculate ˆp 1, n 1, ˆp 2, n 2 n.boys < n.girls < p.boys < # proportion of boys p.girls < # proportion of girls alternative <- "two.sided" alpha < Rename variables. p1.hat <- p.boys p2.hat <- p.girls n1 <- n.boys n2 <- n.girls Check that the necessary conditions are satisfied. conditions.two.proportions(p1.hat, n1, p2.hat, n2) category count condition 1 p1.hat * n TRUE 2 (1 - p1.hat) * n TRUE 3 p2.hat * n2 820 TRUE 4 (1 - p2.hat) * n TRUE 7

8 State H 0, H a and α H 0 : p boys p girls = 0 H 0 : p boys p girls 0 alpha < Calculate the point estimate point.estimate, SE, the test statistic z, and the P-value p.value # point.estimate point.estimate <- p1.hat - p2.hat point.estimate [1] 0.03 # se p.c <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) # combined estimate se <- sqrt(p.c * (1 - p.c) * (1 / n1 + 1 / n2)) # z z <- point.estimate / se z [1] # p.value p.value <- 2 * (1 - pnorm(z)) p.value [1] Check. HT for the difference of two proportions # alternative = "two.sided", "less", "greater" ht.two.proportions <- function(p1.hat, n1, p2.hat, n2, alternative){ p.hat.diff <- p1.hat - p2.hat p.pooled <- (p1.hat * n1 + p2.hat * n2) / (n1 + n2) se.diff <- sqrt(p.pooled * (1 - p.pooled) * (1 / n1 + 1 / n2)) z <- p.hat.diff / se.diff if (alternative=="two.sided") p.value <- 2 * (1 - pnorm(abs(z))) else if (alternative=="greater") p.value <- 1 - pnorm(z) else if (alternative=="less") p.value <- pnorm(z) return(list(p.hat.diff=p.hat.diff, se.diff=se.diff, z=z, p.value=p.value)) } 8

9 alternative <- "two.sided" ht.results <- ht.two.proportions(p1.hat, n1, p2.hat, n2, alternative) ht.results $p.hat.diff [1] 0.03 $se.diff [1] $z [1] $p.value [1] On a sketch of the normal probability distribution, locate z and shade the region whose area is p.value library(openintro) x.max <- 5.0 y.max <- 0.4 z <- round(ht.results$z, 3) mu <- 0 sigma <- 1 p.value <- round(ht.results$p.value, 3) title <- "Hypothesis Test for the Difference\nof Two Proportions (two-tailed)" draw.normal(x.max, y.max, z, mu, sigma, p.value, title) Hypothesis Test for the Difference of Two Proportions (two tailed) N(0, 1) p = z =

10 State the formal conclusion of the HT and explain how you reached that conclusion reject.h0 <- p.value <= alpha reject.h0 [1] TRUE State the conclusion in context. Mention the level of confidence. Conclusion. The two HTs gave very different results because the large samples resulted in a much smaller SE, so the z test statistic was larger. 10

margarine Name:

margarine Name: margarine Name: 2017-04-24 Contents margarine 1 data analysis............................................. 1 ANOVA F test for equality of means................................ 3 multiple comparisons.........................................

More information

STAT 113: Lab 9. Colin Reimer Dawson. Last revised November 10, 2015

STAT 113: Lab 9. Colin Reimer Dawson. Last revised November 10, 2015 STAT 113: Lab 9 Colin Reimer Dawson Last revised November 10, 2015 We will do some of the following together. The exercises with a (*) should be done and turned in as part of HW9. Before we start, let

More information

STA215 Inference about comparing two populations

STA215 Inference about comparing two populations STA215 Inference about comparing two populations Al Nosedal. University of Toronto. Summer 2017 June 22, 2017 Two-sample problems The goal of inference is to compare the responses to two treatments or

More information

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0

Package infer. July 11, Type Package Title Tidy Statistical Inference Version 0.3.0 Type Package Title Tidy Statistical Inference Version 0.3.0 Package infer July 11, 2018 The objective of this package is to perform inference using an epressive statistical grammar that coheres with the

More information

POL 345: Quantitative Analysis and Politics

POL 345: Quantitative Analysis and Politics POL 345: Quantitative Analysis and Politics Precept Handout 9 Week 11 (Verzani Chapter 10: 10.1 10.2) Remember to complete the entire handout and submit the precept questions to the Blackboard 24 hours

More information

Statistical Tests for Variable Discrimination

Statistical Tests for Variable Discrimination Statistical Tests for Variable Discrimination University of Trento - FBK 26 February, 2015 (UNITN-FBK) Statistical Tests for Variable Discrimination 26 February, 2015 1 / 31 General statistics Descriptional:

More information

Chapters 5-6: Statistical Inference Methods

Chapters 5-6: Statistical Inference Methods Chapters 5-6: Statistical Inference Methods Chapter 5: Estimation (of population parameters) Ex. Based on GSS data, we re 95% confident that the population mean of the variable LONELY (no. of days in past

More information

Let s go through some examples of applying the normal distribution in practice.

Let s go through some examples of applying the normal distribution in practice. Let s go through some examples of applying the normal distribution in practice. 1 We will work with gestation period of domestic cats. Suppose that the length of pregnancy in cats (which we will denote

More information

Section 7.2: Applications of the Normal Distribution

Section 7.2: Applications of the Normal Distribution Section 7.2: Applications of the Normal Distribution Objectives By the end of this lesson, you will be able to... 1. find and interpret the area under a normal curve 2. find the value of a normal random

More information

Z-TEST / Z-STATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown

Z-TEST / Z-STATISTIC: used to test hypotheses about. µ when the population standard deviation is unknown Z-TEST / Z-STATISTIC: used to test hypotheses about µ when the population standard deviation is known and population distribution is normal or sample size is large T-TEST / T-STATISTIC: used to test hypotheses

More information

Chapter 8. Interval Estimation

Chapter 8. Interval Estimation Chapter 8 Interval Estimation We know how to get point estimate, so this chapter is really just about how to get the Introduction Move from generating a single point estimate of a parameter to generating

More information

Package binmto. February 19, 2015

Package binmto. February 19, 2015 Type Package Package binmto February 19, 2015 Title Asymptotic simultaneous confidence intervals for many-to-one comparisons of proportions Version 0.0-6 Date 2013-09-30 Author Maintainer

More information

Stat 204 Sample Exam 1 Name:

Stat 204 Sample Exam 1 Name: Stat 204 Sample Exam 1 Name: 1. (Peck, 1.75, p.214) Consider the following study: Two hundred people were randomly selected from a list of all people living in Minneapolis who receive Social Security.

More information

The binmto Package. August 25, 2007

The binmto Package. August 25, 2007 The binmto Package August 25, 2007 Type Package Title Asymptotic simultaneous confdence intervals for many-to-one comparisons of proportions Version 0.0-3 Date 2006-12-29 Author Maintainer

More information

BIOS: 4120 Lab 11 Answers April 3-4, 2018

BIOS: 4120 Lab 11 Answers April 3-4, 2018 BIOS: 4120 Lab 11 Answers April 3-4, 2018 In today s lab we will briefly revisit Fisher s Exact Test, discuss confidence intervals for odds ratios, and review for quiz 3. Note: The material in the first

More information

Table Of Contents. Table Of Contents

Table Of Contents. Table Of Contents Statistics Table Of Contents Table Of Contents Basic Statistics... 7 Basic Statistics Overview... 7 Descriptive Statistics Available for Display or Storage... 8 Display Descriptive Statistics... 9 Store

More information

for use of fraction eg or P1 for complete process

for use of fraction eg or P1 for complete process Paper 1M: 3F 1 2100 B1 2 (a) 7x B1 (b) 8y 2 B1 3 1230 for start to process eg. 6760 3879 1241 (=1640) for use of fraction eg. 1640 4 or 1 3 1 = 4 4 4 (a) (3, 5) B1 (b) Plotted B1 (c) eg. (5,6) plotted

More information

Unit4: Inferencefornumericaldata. 2. Bootstrapping

Unit4: Inferencefornumericaldata. 2. Bootstrapping Announcements Unit4: Inferencefornumericaldata 2. Bootstrapping Sta 101 - Fall 2015 Duke University, Department of Statistical Science Feedback from midterm evaluation: n = 10 :( or :)? Majority think

More information

August Tracking Survey 2011 Final Topline 8/30/2011

August Tracking Survey 2011 Final Topline 8/30/2011 August Tracking Survey 2011 Final Topline 8/30/2011 Data for July 25 August 26, 2011 Princeton Survey Research Associates International for the Pew Research Center s Internet & American Life Project Sample:

More information

Unit4: Inferencefornumericaldata. 2. Bootstrapping. Sta Fall Duke University, Department of Statistical Science

Unit4: Inferencefornumericaldata. 2. Bootstrapping. Sta Fall Duke University, Department of Statistical Science Unit4: Inferencefornumericaldata 2. Bootstrapping Sta 101 - Fall 2015 Duke University, Department of Statistical Science Dr. Çetinkaya-Rundel Slides posted at http://bit.ly/sta101_f15 Outline 1. Housekeeping

More information

Chapter 3. Bootstrap. 3.1 Introduction. 3.2 The general idea

Chapter 3. Bootstrap. 3.1 Introduction. 3.2 The general idea Chapter 3 Bootstrap 3.1 Introduction The estimation of parameters in probability distributions is a basic problem in statistics that one tends to encounter already during the very first course on the subject.

More information

Geometry Formative Assessment for Chapter 7 (Sections ) * Required

Geometry Formative Assessment for Chapter 7 (Sections ) * Required Geometry Formative Assessment for Chapter 7 (Sections 7.1 7.4) * Required Page 1 Find ratios and make predictions as indicated. 1. 1. In Mr. Davis's geometry class, there are 15 girls and 10 boys. Find

More information

Distributions of random variables

Distributions of random variables Chapter 3 Distributions of random variables 31 Normal distribution Among all the distributions we see in practice, one is overwhelmingly the most common The symmetric, unimodal, bell curve is ubiquitous

More information

Problem Set #8. Econ 103

Problem Set #8. Econ 103 Problem Set #8 Econ 103 Part I Problems from the Textbook No problems from the textbook on this assignment. Part II Additional Problems 1. For this question assume that we have a random sample from a normal

More information

Chapter 6 Normal Probability Distributions

Chapter 6 Normal Probability Distributions Chapter 6 Normal Probability Distributions 6-1 Review and Preview 6-2 The Standard Normal Distribution 6-3 Applications of Normal Distributions 6-4 Sampling Distributions and Estimators 6-5 The Central

More information

Chapter 6. THE NORMAL DISTRIBUTION

Chapter 6. THE NORMAL DISTRIBUTION Chapter 6. THE NORMAL DISTRIBUTION Introducing Normally Distributed Variables The distributions of some variables like thickness of the eggshell, serum cholesterol concentration in blood, white blood cells

More information

Interval Estimation. The data set belongs to the MASS package, which has to be pre-loaded into the R workspace prior to use.

Interval Estimation. The data set belongs to the MASS package, which has to be pre-loaded into the R workspace prior to use. Interval Estimation It is a common requirement to efficiently estimate population parameters based on simple random sample data. In the R tutorials of this section, we demonstrate how to compute the estimates.

More information

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal

Econ 3790: Business and Economics Statistics. Instructor: Yogesh Uppal Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal Email: yuppal@ysu.edu Chapter 8: Interval Estimation Population Mean: Known Population Mean: Unknown Margin of Error and the Interval

More information

The Mobile Consumer Lifestyle. Implications for Marketers

The Mobile Consumer Lifestyle. Implications for Marketers The Mobile Consumer Lifestyle Implications for Marketers June 12, 2012 The mobile web is changing user behavior By 2015, more people in the US will be going online via a mobile device than on a computer

More information

Unit4: Inferencefornumericaldata. 2. Bootstrapping

Unit4: Inferencefornumericaldata. 2. Bootstrapping Announcements Unit4: Inferencefornumericaldata 2. Bootstrapping Sta 101 - Summer 2017 Duke University, Department of Statistical Science Project Description now posted on course page Project time in lab

More information

Chapter 2 Modeling Distributions of Data

Chapter 2 Modeling Distributions of Data Chapter 2 Modeling Distributions of Data Section 2.1 Describing Location in a Distribution Describing Location in a Distribution Learning Objectives After this section, you should be able to: FIND and

More information

Introduction to the Practice of Statistics using R: Chapter 6

Introduction to the Practice of Statistics using R: Chapter 6 Introduction to the Practice of Statistics using R: Chapter 6 Ben Baumer Nicholas J. Horton March 10, 2013 Contents 1 Estimating with Confidence 2 1.1 Beyond the Basics.....................................

More information

CHAPTER 2 Modeling Distributions of Data

CHAPTER 2 Modeling Distributions of Data CHAPTER 2 Modeling Distributions of Data 2.2 Density Curves and Normal Distributions The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers Density Curves

More information

Confidence Interval of a Proportion

Confidence Interval of a Proportion Confidence Interval of a Proportion FPP 20-21 Using the sample to learn about the box Box models and CLT assume we know the contents of the box (the population). In real-world problems, we do not. In random

More information

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution Name: Date: Period: Chapter 2 Section 1: Describing Location in a Distribution Suppose you earned an 86 on a statistics quiz. The question is: should you be satisfied with this score? What if it is the

More information

The parametric equation below represents a ball being thrown straight up. x(t) = 3 y(t) = 96t! 16t 2

The parametric equation below represents a ball being thrown straight up. x(t) = 3 y(t) = 96t! 16t 2 1 TASK 3.1.2: THROWING Solutions The parametric equation below represents a ball being thrown straight up. x(t) = 3 y(t) = 96t! 16t 2 1. What do you think the graph will look like? Make a sketch below.

More information

Chapter 6. THE NORMAL DISTRIBUTION

Chapter 6. THE NORMAL DISTRIBUTION Chapter 6. THE NORMAL DISTRIBUTION Introducing Normally Distributed Variables The distributions of some variables like thickness of the eggshell, serum cholesterol concentration in blood, white blood cells

More information

Cpk: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc.

Cpk: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc. C: What is its Capability? By: Rick Haynes, Master Black Belt Smarter Solutions, Inc. C is one of many capability metrics that are available. When capability metrics are used, organizations typically provide

More information

9.2 Types of Errors in Hypothesis testing

9.2 Types of Errors in Hypothesis testing 9.2 Types of Errors in Hypothesis testing 1 Mistakes we could make As I mentioned, when we take a sample we won t be 100% sure of something because we do not take a census (we only look at information

More information

Applying the Generalized t-test: Some Examples Psychology 311 Spring, 2015

Applying the Generalized t-test: Some Examples Psychology 311 Spring, 2015 Applying the Generalized t-test: Some Examples Psychology 311 Spring, 2015 We begin by establishing some bare bones code for the generalized t statistic. t.test.p.value

More information

Lesson 8 - Practice Problems

Lesson 8 - Practice Problems Lesson 8 - Practice Problems Section 8.1: A Case for the Quadratic Formula 1. For each quadratic equation below, show a graph in the space provided and circle the number and type of solution(s) to that

More information

STATS PAD USER MANUAL

STATS PAD USER MANUAL STATS PAD USER MANUAL For Version 2.0 Manual Version 2.0 1 Table of Contents Basic Navigation! 3 Settings! 7 Entering Data! 7 Sharing Data! 8 Managing Files! 10 Running Tests! 11 Interpreting Output! 11

More information

Announcements. Unit 4: Inference for Numerical Data Lecture 1: Bootstrapping. Rotten horrors. Data

Announcements. Unit 4: Inference for Numerical Data Lecture 1: Bootstrapping. Rotten horrors. Data Housekeeping Announcements Unit 4: Inference for Numerical Data Lecture 1: Statistics 101 Mine Çetinkaya-Rundel October 9, 2014 Midterms will be distributed at the end of class. Extra credit opportunity:

More information

R-package simctest A Short Introduction

R-package simctest A Short Introduction R-package simctest A Short Introduction Axel Gandy and Patrick Rubin-Delanchy March 23, 2017 This document describes briefly how to use the R-package which implements the methods from Sequential implementation

More information

LINEAR PROGRAMMING: A GEOMETRIC APPROACH. Copyright Cengage Learning. All rights reserved.

LINEAR PROGRAMMING: A GEOMETRIC APPROACH. Copyright Cengage Learning. All rights reserved. 3 LINEAR PROGRAMMING: A GEOMETRIC APPROACH Copyright Cengage Learning. All rights reserved. 3.1 Graphing Systems of Linear Inequalities in Two Variables Copyright Cengage Learning. All rights reserved.

More information

Lab 5 - Risk Analysis, Robustness, and Power

Lab 5 - Risk Analysis, Robustness, and Power Type equation here.biology 458 Biometry Lab 5 - Risk Analysis, Robustness, and Power I. Risk Analysis The process of statistical hypothesis testing involves estimating the probability of making errors

More information

Geometry Assessment - Chapter 7 (Sections ) * Required

Geometry Assessment - Chapter 7 (Sections ) * Required Geometry Assessment - Chapter 7 (Sections 7.1-7.5) * Required Page 1 - Find ratios and make predictions as indicated. 1. 1. In Mr. Davis's geometry class, there are 15 girls and 10 boys. Find the ratio

More information

Stat 411/511 MULTIPLE COMPARISONS. Charlotte Wickham. stat511.cwick.co.nz. Nov

Stat 411/511 MULTIPLE COMPARISONS. Charlotte Wickham. stat511.cwick.co.nz. Nov Stat 411/511 MULTIPLE COMPARISONS Nov 16 2015 Charlotte Wickham stat511.cwick.co.nz Thanksgiving week No lab material next week 11/24 & 11/25. Labs as usual this week. Lectures as usual Mon & Weds next

More information

Elementary Statistics: Looking at the Big Picture

Elementary Statistics: Looking at the Big Picture Excel 2007 Technology Guide for Elementary Statistics: Looking at the Big Picture 1st EDITION Nancy Pfenning University of Pittsburgh Prepared by Nancy Pfenning University of Pittsburgh Melissa M. Sovak

More information

Introductory Applied Statistics: A Variable Approach TI Manual

Introductory Applied Statistics: A Variable Approach TI Manual Introductory Applied Statistics: A Variable Approach TI Manual John Gabrosek and Paul Stephenson Department of Statistics Grand Valley State University Allendale, MI USA Version 1.1 August 2014 2 Copyright

More information

HW3 Solutions. Answer: Let X be the random variable which denotes the number of packets lost.

HW3 Solutions. Answer: Let X be the random variable which denotes the number of packets lost. HW3 Solutions 1. (20 pts.) Packets Over the Internet n packets are sent over the Internet (n even). Consider the following probability models for the process: (a) Each packet is routed over a different

More information

Slides 11: Verification and Validation Models

Slides 11: Verification and Validation Models Slides 11: Verification and Validation Models Purpose and Overview The goal of the validation process is: To produce a model that represents true behaviour closely enough for decision making purposes.

More information

Macros and ODS. SAS Programming November 6, / 89

Macros and ODS. SAS Programming November 6, / 89 Macros and ODS The first part of these slides overlaps with last week a fair bit, but it doesn t hurt to review as this code might be a little harder to follow. SAS Programming November 6, 2014 1 / 89

More information

STAT 2607 REVIEW PROBLEMS Word problems must be answered in words of the problem.

STAT 2607 REVIEW PROBLEMS Word problems must be answered in words of the problem. STAT 2607 REVIEW PROBLEMS 1 REMINDER: On the final exam 1. Word problems must be answered in words of the problem. 2. "Test" means that you must carry out a formal hypothesis testing procedure with H0,

More information

Simulation and resampling analysis in R

Simulation and resampling analysis in R Simulation and resampling analysis in R Author: Nicholas G Reich, Jeff Goldsmith, Andrea S Foulkes, Gregory Matthews This material is part of the statsteachr project Made available under the Creative Commons

More information

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved. SECTION 4.6 Indirect Argument: Contradiction and Contraposition Copyright Cengage Learning. All

More information

Common R commands used in Data Analysis and Statistical Inference

Common R commands used in Data Analysis and Statistical Inference Common R commands used in Data Analysis and Statistical Inference 1 One numerical variable summary(x) # most summary statitstics at once mean(x) median(x) sd(x) hist(x) boxplot(x) # horizontal = TRUE for

More information

Condence Intervals about a Single Parameter:

Condence Intervals about a Single Parameter: Chapter 9 Condence Intervals about a Single Parameter: 9.1 About a Population Mean, known Denition 9.1.1 A point estimate of a parameter is the value of a statistic that estimates the value of the parameter.

More information

Package distdichor. R topics documented: September 24, Type Package

Package distdichor. R topics documented: September 24, Type Package Type Package Package distdichor September 24, 2018 Title Distributional Method for the Dichotomisation of Continuous Outcomes Version 0.1-1 Author Odile Sauzet Maintainer Odile Sauzet

More information

1 Simple Linear Regression

1 Simple Linear Regression Math 158 Jo Hardin R code 1 Simple Linear Regression Consider a dataset from ISLR on credit scores. Because we don t know the sampling mechanism used to collect the data, we are unable to generalize the

More information

2.1 Symbols and Terminology

2.1 Symbols and Terminology 2.1 Symbols and Terminology A is a collection of objects or things. The objects belonging to the are called the, or. - : there is a way of determining for sure whether a particular item is an element of

More information

Minitab Guide for MA330

Minitab Guide for MA330 Minitab Guide for MA330 The purpose of this guide is to show you how to use the Minitab statistical software to carry out the statistical procedures discussed in your textbook. The examples usually are

More information

BIOL Gradation of a histogram (a) into the normal curve (b)

BIOL Gradation of a histogram (a) into the normal curve (b) (التوزيع الطبيعي ( Distribution Normal (Gaussian) One of the most important distributions in statistics is a continuous distribution called the normal distribution or Gaussian distribution. Consider the

More information

Bayesian Methods. David Rosenberg. April 11, New York University. David Rosenberg (New York University) DS-GA 1003 April 11, / 19

Bayesian Methods. David Rosenberg. April 11, New York University. David Rosenberg (New York University) DS-GA 1003 April 11, / 19 Bayesian Methods David Rosenberg New York University April 11, 2017 David Rosenberg (New York University) DS-GA 1003 April 11, 2017 1 / 19 Classical Statistics Classical Statistics David Rosenberg (New

More information

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #06 Loops: Operators

Introduction to Programming in C Department of Computer Science and Engineering. Lecture No. #06 Loops: Operators Introduction to Programming in C Department of Computer Science and Engineering Lecture No. #06 Loops: Operators We have seen comparison operators, like less then, equal to, less than or equal. to and

More information

Other operators. Some times a simple comparison is not enough to determine if our criteria has been met.

Other operators. Some times a simple comparison is not enough to determine if our criteria has been met. Lecture 6 Other operators Some times a simple comparison is not enough to determine if our criteria has been met. For example: (and operation) If a person wants to login to bank account, the user name

More information

Selected Introductory Statistical and Data Manipulation Procedures. Gordon & Johnson 2002 Minitab version 13.

Selected Introductory Statistical and Data Manipulation Procedures. Gordon & Johnson 2002 Minitab version 13. Minitab@Oneonta.Manual: Selected Introductory Statistical and Data Manipulation Procedures Gordon & Johnson 2002 Minitab version 13.0 Minitab@Oneonta.Manual: Selected Introductory Statistical and Data

More information

MINITAB 17 BASICS REFERENCE GUIDE

MINITAB 17 BASICS REFERENCE GUIDE MINITAB 17 BASICS REFERENCE GUIDE Dr. Nancy Pfenning September 2013 After starting MINITAB, you'll see a Session window above and a worksheet below. The Session window displays non-graphical output such

More information

L E A R N I N G O B JE C T I V E S

L E A R N I N G O B JE C T I V E S 2.2 Measures of Central Location L E A R N I N G O B JE C T I V E S 1. To learn the concept of the center of a data set. 2. To learn the meaning of each of three measures of the center of a data set the

More information

Introduction to the Bootstrap and Robust Statistics

Introduction to the Bootstrap and Robust Statistics Introduction to the Bootstrap and Robust Statistics PSY711/712 Winter Term 2009 1 t-based Confidence Intervals This document shows how to calculate confidence intervals for a sample mean using the t statistic

More information

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1 SUMMER REVIEW PACKET FOR STUDENTS ENTERING ALGEBRA Dear Students, Welcome to Ma ayanot. We are very happy that you will be with us in the Fall. The Math department is looking forward to working with you

More information

Stat 528 (Autumn 2008) Density Curves and the Normal Distribution. Measures of center and spread. Features of the normal distribution

Stat 528 (Autumn 2008) Density Curves and the Normal Distribution. Measures of center and spread. Features of the normal distribution Stat 528 (Autumn 2008) Density Curves and the Normal Distribution Reading: Section 1.3 Density curves An example: GRE scores Measures of center and spread The normal distribution Features of the normal

More information

Unit 8 SUPPLEMENT Normal, T, Chi Square, F, and Sums of Normals

Unit 8 SUPPLEMENT Normal, T, Chi Square, F, and Sums of Normals BIOSTATS 540 Fall 017 8. SUPPLEMENT Normal, T, Chi Square, F and Sums of Normals Page 1 of Unit 8 SUPPLEMENT Normal, T, Chi Square, F, and Sums of Normals Topic 1. Normal Distribution.. a. Definition..

More information

Homework 2. Due: March 2, 2018 at 7:00PM. p = 1 m. (x i ). i=1

Homework 2. Due: March 2, 2018 at 7:00PM. p = 1 m. (x i ). i=1 Homework 2 Due: March 2, 2018 at 7:00PM Written Questions Problem 1: Estimator (5 points) Let x 1, x 2,..., x m be an i.i.d. (independent and identically distributed) sample drawn from distribution B(p)

More information

n 1 x i = xn 1 x 1. i= (2n 1) = n 2.

n 1 x i = xn 1 x 1. i= (2n 1) = n 2. Questions 1. Use mathematical induction to prove that, for any n 1 n 1 x i = xn 1 x 1. (Recall that I proved it in a different way back in lecture 2.) 2. Use mathematical induction to prove that, for all

More information

STAT 5200 Handout #24: Power Calculation in Mixed Models

STAT 5200 Handout #24: Power Calculation in Mixed Models STAT 5200 Handout #24: Power Calculation in Mixed Models Statistical power is the probability of finding an effect (i.e., calling a model term significant), given that the effect is real. ( Effect here

More information

5. Introduction to the Lambda Calculus. Oscar Nierstrasz

5. Introduction to the Lambda Calculus. Oscar Nierstrasz 5. Introduction to the Lambda Calculus Oscar Nierstrasz Roadmap > What is Computability? Church s Thesis > Lambda Calculus operational semantics > The Church-Rosser Property > Modelling basic programming

More information

1 Algorithm and Proof for Minimum Vertex Coloring

1 Algorithm and Proof for Minimum Vertex Coloring Solutions to Homework 7, CS 173A (Fall 2018) Homework 7 asked you to show that the construction problems Maximum Independent Set, Minimum Vertex Coloring, and Maximum Clique could all be solved in polynomial

More information

Confidence Intervals. Dennis Sun Data 301

Confidence Intervals. Dennis Sun Data 301 Dennis Sun Data 301 Statistical Inference probability Population / Box Sample / Data statistics The goal of statistics is to infer the unknown population from the sample. We ve already seen one mode of

More information

ISyE 6416: Computational Statistics Spring Lecture 13: Monte Carlo Methods

ISyE 6416: Computational Statistics Spring Lecture 13: Monte Carlo Methods ISyE 6416: Computational Statistics Spring 2017 Lecture 13: Monte Carlo Methods Prof. Yao Xie H. Milton Stewart School of Industrial and Systems Engineering Georgia Institute of Technology Determine area

More information

Propositional Logic Formal Syntax and Semantics. Computability and Logic

Propositional Logic Formal Syntax and Semantics. Computability and Logic Propositional Logic Formal Syntax and Semantics Computability and Logic Syntax and Semantics Syntax: The study of how expressions are structured (think: grammar) Semantics: The study of the relationship

More information

74 Wyner Math Academy I Spring 2016

74 Wyner Math Academy I Spring 2016 74 Wyner Math Academy I Spring 2016 CHAPTER EIGHT: SPREADSHEETS Review April 18 Test April 25 Spreadsheets are an extremely useful and versatile tool. Some basic knowledge allows many basic tasks to be

More information

Box Plots. OpenStax College

Box Plots. OpenStax College Connexions module: m46920 1 Box Plots OpenStax College This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License 3.0 Box plots (also called box-and-whisker

More information

and denominators of two fractions. For example, you could use

and denominators of two fractions. For example, you could use Learning Goal denominators. Open Question and denominators of two fractions. For example, you could use and 0. Make sure that some of your fractions are improper and some are proper. Make sure that some

More information

Table of Contents (As covered from textbook)

Table of Contents (As covered from textbook) Table of Contents (As covered from textbook) Ch 1 Data and Decisions Ch 2 Displaying and Describing Categorical Data Ch 3 Displaying and Describing Quantitative Data Ch 4 Correlation and Linear Regression

More information

Assignment 5.5. Nothing here to hand in

Assignment 5.5. Nothing here to hand in Assignment 5.5 Nothing here to hand in Load the tidyverse before we start: library(tidyverse) ## Loading tidyverse: ggplot2 ## Loading tidyverse: tibble ## Loading tidyverse: tidyr ## Loading tidyverse:

More information

ISyE8843A, Brani Vidakovic Handout 14

ISyE8843A, Brani Vidakovic Handout 14 ISyE8843A, Brani Vidakovic Handout 4 BUGS BUGS is freely available software for constructing Bayesian statistical models and evaluating them using MCMC methodology. BUGS and WINBUGS are distributed freely

More information

Lab 2: Introduction to data

Lab 2: Introduction to data Lab 2: Introduction to data Some define statistics as the field that focuses on turning information into knowledge. The first step in that process is to summarize and describe the raw information - the

More information

Common Sta 101 Commands for R. 1 One quantitative variable. 2 One categorical variable. 3 Two categorical variables. Summary statistics

Common Sta 101 Commands for R. 1 One quantitative variable. 2 One categorical variable. 3 Two categorical variables. Summary statistics Common Sta 101 Commands for R 1 One quantitative variable summary(x) # most summary statitstics at once mean(x) median(x) sd(x) hist(x) boxplot(x) # horizontal = TRUE for horizontal plot qqnorm(x) qqline(x)

More information

Lecture 2 :: Decision Trees Learning

Lecture 2 :: Decision Trees Learning Lecture 2 :: Decision Trees Learning 1 / 62 Designing a learning system What to learn? Learning setting. Learning mechanism. Evaluation. 2 / 62 Prediction task Figure 1: Prediction task :: Supervised learning

More information

Confidence Intervals: Estimators

Confidence Intervals: Estimators Confidence Intervals: Estimators Point Estimate: a specific value at estimates a parameter e.g., best estimator of e population mean ( ) is a sample mean problem is at ere is no way to determine how close

More information

Factorial ANOVA with SAS

Factorial ANOVA with SAS Factorial ANOVA with SAS /* potato305.sas */ options linesize=79 noovp formdlim='_' ; title 'Rotten potatoes'; title2 ''; proc format; value tfmt 1 = 'Cool' 2 = 'Warm'; data spud; infile 'potato2.data'

More information

The Effects of Outliers on Support Vector Machines

The Effects of Outliers on Support Vector Machines The Effects of Outliers on Support Vector Machines Josh Hoak jrhoak@gmail.com Portland State University Abstract. Many techniques have been developed for mitigating the effects of outliers on the results

More information

CHAPTER 2 Modeling Distributions of Data

CHAPTER 2 Modeling Distributions of Data CHAPTER 2 Modeling Distributions of Data 2.2 Density Curves and Normal Distributions The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers HW 34. Sketch

More information

Section 3.2 Measures of Central Tendency MDM4U Jensen

Section 3.2 Measures of Central Tendency MDM4U Jensen Section 3.2 Measures of Central Tendency MDM4U Jensen Part 1: Video This video will review shape of distributions and introduce measures of central tendency. Answer the following questions while watching.

More information

The bingroup Package

The bingroup Package The bingroup Package February 11, 2007 Title Evaluation and experimental design for binomial group testing Version 0.3-1 Author Frank Schaarschmidt Confidence intervals and tests for a single binomial

More information

Title. Description. Menu. Remarks and examples. stata.com. stata.com. PSS Control Panel

Title. Description. Menu. Remarks and examples. stata.com. stata.com. PSS Control Panel Title stata.com GUI Graphical user interface for power and sample-size analysis Description Menu Remarks and examples Also see Description This entry describes the graphical user interface (GUI) for the

More information

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users BIOSTATS 640 Spring 2018 Review of Introductory Biostatistics STATA solutions Page 1 of 13 Key Comments begin with an * Commands are in bold black I edited the output so that it appears here in blue Unit

More information

Quantitative - One Population

Quantitative - One Population Quantitative - One Population The Quantitative One Population VISA procedures allow the user to perform descriptive and inferential procedures for problems involving one population with quantitative (interval)

More information

Quadratics Functions: Review

Quadratics Functions: Review Quadratics Functions: Review Name Per Review outline Quadratic function general form: Quadratic function tables and graphs (parabolas) Important places on the parabola graph [see chart below] vertex (minimum

More information