STAC51: Categorical data Analysis

Size: px
Start display at page:

Download "STAC51: Categorical data Analysis"

Transcription

1 STAC51: Categorical data Aalysis Mahida Samarakoo Jauary 28, 2016 Mahida Samarakoo STAC51: Categorical data Aalysis 1 / 35

2 Table of cotets Iferece for Proportios 1 Iferece for Proportios Mahida Samarakoo STAC51: Categorical data Aalysis 2 / 35

3 Commo Steps i Statistical Studies Statistical studies usually ivolves the followig steps. Clearly state the problem or questio you are tryig to aswer Thik about what kid of data will help you aswer the questio Decide o a appropriate statistical model for the data Collect data Clea data (remove outliers etc) ad examie data: data summaries, displays Use the data to estimate parameters of the model Carryout appropriate tests that will aswer your questio. Sometimes you may have to recosider the model ad re-estimate the parameters, redo tests Draw coclusios about your questio Mahida Samarakoo STAC51: Categorical data Aalysis 3 / 35

4 Commo Steps i Statistical Studies: A simple example We wat to kow if a coi is fair. i.e. P(H) = 0.5 (This is our questio) Data: Toss the coi may times ad observe the outcomes Model for data: A Beroulli model? What is the parameter? π Data Collectio: Decide ad toss the coi times ad recored the outcomes Parameter estimatio: Use the data to estimate the parameter Appropriate hypotheses: H 0 : π = 0.5 agaist H a : π 0.5. Use the data (ad may be the parameter estimates above) to do the tests Draw coclusios: i.e. Does the test above idicate that coi is ot fair? Mahida Samarakoo STAC51: Categorical data Aalysis 4 / 35

5 Iferece for Proportios Let Y be the umber of successes (i.e. 1 s) i idepedet Beroulli trials with success probability π. The probability of a success π is usually a ukow parameter ad we estimate it by the sample proportio of successes: ˆπ = Y Some properties of ˆπ 1 ˆπ is a ubiased estimator of π (i.e. E(ˆπ) = π). 2 Var(ˆπ) = π(1 π) 3 ˆπ Pr π by WLLN 4 ˆπ approx N(π, π(1 π) ) for large, by CLT Mahida Samarakoo STAC51: Categorical data Aalysis 5 / 35

6 Estimatio of π: Likelihood fuctio Defiitio (Page 9, text): The likelihood fuctio is the probability of the observed data, expressed as a fuctio of the parameter value. Example: We toss a coi twice (i.e. = 2) ad observe oe head (ad oe tail). P(H) = π, ukow. Fid the likelihood fuctio. Aswer: The umber of heads whe a coi if is tossed twice has a Bi( = 2, π) distributio ad so the likelihood fuctio is l(π) = ( 2 1) π 1 (1 π) 2 1 = 2π(1 π) Mahida Samarakoo STAC51: Categorical data Aalysis 6 / 35

7 Estimatio of π: Maximum Likelihood Estimator (MLE) Defiitio (MLE): The maximum likelihood estimate (MLE) is the parameter value at which the likelihood fuctio takes its maximum. Example: We toss a coi twice (i.e. = 2) ad observe oe head (ad oe tail). P(H) = π, ukow. Fid the MLE. Aswer: The umber of heads whe a coi if is tossed twice has a Bi( = 2, π) distributio ad so the likelihood fuctio is l(π) = ( 2 1) π 1 (1 π) 2 1 = 2π(1 π). l(π) is maximized whe π = 0.5 ad so the MLE of π is 0.5. Mahida Samarakoo STAC51: Categorical data Aalysis 7 / 35

8 Some Properties of MLEs If Y 1, Y 2,..., Y are i.i.d. Normal (or may other distributios, such as Poisso), ML estimate of the populatio mea is the sample mea ˆµ = Ȳ. I ordiary regressio (Y Normal) least squares estimates are MLEs. For large, MLEs have approximate ormal samplig distributios (uder weak coditios) Mahida Samarakoo STAC51: Categorical data Aalysis 8 / 35

9 Example 2 (MLE) Iferece for Proportios A coi with P(H) = π was tossed 20 times ad observed 13 heads. Fid the likelihood fuctio Aswer: l(π) = π 13 (1 π) (20 13) = π 13 (1 π) 7. Plot the likelihood fuctio fid the value value of π that maximizes l(π). Mahida Samarakoo STAC51: Categorical data Aalysis 9 / 35

10 Example 2 (MLE): R code ad output > #R code for fidig the MLE of pi where Y~Bi(20, pi) > # ad obsered y = 13 > likelihood <- fuctio(pi) { (pi^13)*((1-pi)^7) } > curve(likelihood, from=0, to=1,, xlab="pi", ylab="likelihood(pi)") > optimize(likelihood, iterval=c(0, 1), maximum=true) $maximum [1] $objective [1] e-06 > ablie(v=(seq(0,1,by=0.02)), col="blue", lty="dotted") > ablie(h=(seq(0,2.5e-6,0.25e-6)), col="blue", lty="dotted Mahida Samarakoo STAC51: Categorical data Aalysis 10 / 35

11 Example 2 (MLE) Iferece for Proportios Figure: Likelihood Fuctio Mahida Samarakoo STAC51: Categorical data Aalysis 11 / 35

12 Sigificace Tests for biomial parameter (i.e proportios) Let Y Bi(, π). We are iterested i testig the ull hypotheses H 0 : π = π 0. Example We toss a coi = 10 times ad observe y = 3 heads. P(H) = π. Test the ull hypothesis H 0 : π = 0.5 agaist H 1 : π < 0.5 Aswer: p value = P(Y = 3) + P(Y = 2) + P(Y = 1) + P(Y = 0) ( ) ( ) = (0.5) 3 (1 0.5) (0.5) 2 (1 0.5) ( ) ( ) (0.5) 1 (1 0.5) (0.5) 0 (1 0.5) = p-value > 0.05 ad so we do ot reject the ull hypothesis. Note: I this case, p- value = P(Y y obs ) Mahida Samarakoo STAC51: Categorical data Aalysis 12 / 35

13 Sigificace Tests for biomial parameter (i.e proportios) Example We toss a coi = 10 times ad observe y = 8 heads. P(H) = π. Test the ull hypothesis H 0 : π = 0.6 agaist H 1 : π > 0.6. Aswer: p value = P(Y = 8) + P(Y = 9) + P(Y = 10) ( ) ( ) = (0.6) 8 (1 0.6) (0.6) 9 (1 0.6) ( ) 10 + (0.6) 1 0(1 0.6) = p-value > 0.05 ad so we do ot reject the ull hypothesis. Note: I this case, p- value = P(Y y obs ) Mahida Samarakoo STAC51: Categorical data Aalysis 13 / 35

14 Sigificace Tests for biomial parameter (i.e proportios) Example We toss a coi = 10 times ad observe y = 8 heads. P(H) = π. Test the ull hypothesis H 0 : π = 0.6 agaist H 1 : π 0.6. I this case we take p-value = 2 mi (P(Y y obs ), P(Y y obs )). I the previous example, we foud that P(Y y obs ) = P(Y y obs ) = P(Y = 8) + P(Y = 7) + + P(Y = 0) ( ) ( ) = (0.6) 8 (1 0.6) (0.6) 7 (1 0.6) ( ) (0.6) 0 (1 0.6) = p-value = 2 mi( , ) = = > 0.05 ad so we do ot reject the ull hypothesis. Mahida Samarakoo STAC51: Categorical data Aalysis 14 / 35

15 Sigificace Tests for biomial parameter (i.e proportios) I the p-value for two-tailed test p-value = 2 mi (P(Y y obs ), P(Y y obs )), we iclude y obs i both terms. This sometimes gives p-values greater tha 1. I that case we will take p-value as 1. Example We toss a coi = 10 times ad observe y = 8 heads. P(H) = π. Test the ull hypothesis H 0 : π = 0.76 agaist H 1 : π P(Y y obs ) = P(Y = 8) + P(Y = 7) + + P(Y = 0) ( ) ( = (0.76) 8 (1 0.76) = ( 10 0 ) (0.76) 0 (1 0.76) 10 0 ) (0.76) 7 (1 0 Mahida Samarakoo STAC51: Categorical data Aalysis 15 / 35

16 Sigificace Tests for biomial parameter (i.e proportios) P(Y y obs ) = P(Y = 8) + P(Y = 9) + P(Y = 10) ( ) ( ) = (0.76) 8 (1 0.76) (0.76) 9 ( ( ) 10 + (0.76) 1 0(1 0.76) = p-value = 2 mi( , ) = = Mahida Samarakoo STAC51: Categorical data Aalysis 16 / 35

17 Large sample tests Iferece for Proportios For testig the ull hypothesis H 0 : π = π 0, we ca use the test statistic Z = ˆπ π 0 π 0 (1 π 0 ) (1) uder the ull hypothesis ad for large eough sample size Z approx N(0, 1). This result ca be used to calculate the p-value for the test of H 0 : π = π 0. A large sample 100(1 α) percet cofidece iterval for π is ˆπ(1 ˆπ) give by ˆπ ± z α/2 SE where SE =. Mahida Samarakoo STAC51: Categorical data Aalysis 17 / 35

18 Example(Agresti): Whe the 2000 Geeral Social Survey asked subjects whether they would be willig to accept cuts i their stadard of livig to protect the eviromet, 344 of 1170 subjects said yes. a) Estimate the populatio proportio who would say yes. b) Coduct a sigificace test to determie whether a majority or miority of the populatio would say yes. Report ad iterpret the p-value. Mahida Samarakoo STAC51: Categorical data Aalysis 18 / 35

19 The R code below calculates the value test statistic, p-value ad the required cofidece iterval. > # R code for the z-test for a sigle proportio > y <- 344 > < > p0 <- 0.5 > alpha < > phat <- y/ > z <- (phat-p0)/sqrt((p0*(1-p0))/) > p_value = 2*(1- porm(abs(z))) > z [1] > p_value [1] 0 > phat [1] Mahida Samarakoo STAC51: Categorical data Aalysis 19 / 35

20 The R commad prop.test will also produce the calculatios required to aswer these questios. The commad help(prop.test) will show details of the commad. R chi-square test equivalet to the Z-test. > res<-prop.test(x=344,=1170,cof.level=0.99,correct=f, p= > res 1-sample proportios test without cotiuity correctio data: 344 out of 1170, ull probability 0.5 X-squared = , df = 1, p-value < 2.2e-16 alterative hypothesis: true p is ot equal to 0.5 p > Mahida Samarakoo STAC51: Categorical data Aalysis 20 / 35

21 Cofidece itervals for Proportios For large sample we have used the formula where SE = ˆπ(1 ˆπ) ˆπ ± z α/2 SE for approximate cofidece itervals. I the above example, ˆπ = = 0.294, ˆπ(1 ˆπ) 0.294( ) SE = = 1170 = ad the cofidece iterval is ± = ( , ). Mahida Samarakoo STAC51: Categorical data Aalysis 21 / 35

22 Cofidece itervals for Proportios For large sample we have used the formula ˆπ(1 ˆπ) ˆπ ± z α/2 SE where SE = for approximate cofidece itervals. The above cofidece iterval, kow as Wald s cofidece iterval is based o the approximate Normal distributio for ˆπ. For large eough, Z = ˆπ π π(1 π) N(0, 1) ad so ) π(1 π) π(1 π) P (ˆπ z α/2 < π < ˆπ + z α/2 = 1 α. Wald s method replaces π by ˆπ i the stadard deviatio (i.e. π(1 π) ˆπ(1 ˆπ) ) to get ˆπ ± z α/2. Wald CI ofte has poor performace i categorical data aalysis uless quite large. Example For = 25, y = 0, ˆπ = 0 ad the Wald cofidece iterval is (0, 0). Mahida Samarakoo STAC51: Categorical data Aalysis 22 / 35

23 Score Cofidece itervals for Proportios(Wilso score cofidece iterval) I the score cofidece iterval (Wilso s score method), we ˆπ π collect the values of π such that Z = π(1 π) z α/2. This method does ot replace π by ˆπ as i Wald cofidece iterval. We fid the upper ad the lower limits of the cofidece iterval by solvig ˆπ π π(1 π) = ±z α/2. Wald s method replaces π by ˆπ i the stadard deviatio (i.e. π(1 π) ˆπ(1 ˆπ) ) to get ˆπ ± z α/2. ( [ ˆπ This iterval is give by ( z α/2 ˆπ(1 ˆπ) [ 1 +zα/2 2 +z 2 α/2 +z 2 α/2 ) ) ( )] + 1 z 2 α/2 2 ± +zα/2 2 )] ( z 2 α/2 +z 2 α/2 Mahida Samarakoo STAC51: Categorical data Aalysis 23 / 35

24 Score Cofidece itervals for Proportios(Wilso score cofidece iterval) Note 1: The scores cofidece iterval ca also be iterpreted as the set of values of π 0 for which the the p-value for testig the the ull hypothesis H 0 : π = π 0 agaist the two-sided alterative H 1 : π π 0 usig the test statistic Z = ˆπ π 0 π0 (1 π 0 ) is greater tha α Mahida Samarakoo STAC51: Categorical data Aalysis 24 / 35

25 Score Cofidece itervals for Proportios(Wilso score cofidece iterval) Note 2: The midpoit of the above iterval is ( ) ( ) ˆπ + zα/ z 2 α/2 2 + zα/2 2 = y + z2 α/2 /2 + zα/2 2 ad for α = 0.05 y + z 2 α/2 /2 + z 2 α/2 = y / y For this reaso some authors cosider y+z2 α/2 /2 +zα/2 2 estimate of π. as a a improved Mahida Samarakoo STAC51: Categorical data Aalysis 25 / 35

26 Score Cofidece itervals for Proportios: Example For = 25, y = 0, ˆπ = 0 the Wald cofidece iterval was (0, 0). The [ ( scores ) iterval ( is )] ˆπ + 1 z 2 α/2 +zα/2 2 2 ± +zα/2 2 [ ( ) ( )] 1 z α/2 ˆπ(1 ˆπ) + 1 z 2 α/2 +zα/2 2 +zα/ zα/2 2 = [ = (0, 0.133). ( )] ± [ ( )] Mahida Samarakoo STAC51: Categorical data Aalysis 26 / 35

27 Agresti ad Coul Cofidece iterval I the score iterval, we saw that π= y+z2 α/2 /2 +zα/2 2 estimate of π tha ˆπ. is a better Agresti ad Coul (1998) suggest replacig ˆπ i the Wald cofidece iterval by π to get π (1 π) π ±z α/2 where = + z 2 α/2. This iterval is called Aggreti-Coull cofidece iterval. Mahida Samarakoo STAC51: Categorical data Aalysis 27 / 35

28 Likelihood Ratio Test of H 0 : π = π 0 agaist H 1 : π π 0 Let Y Bi(, π) The the likelihood fuctio is l(π) = π y (1 π) y Likelihood Ratio Test of H 0 : π = π 0 agaist H 1 : π π 0, rejects H 0 for small values of Λ = l(π 0 )/l(ˆπ) i.e. if Λ = l(π 0 )/l(ˆπ) is smaller tha some critical value. Wilks (1938) showed that uder the ull hypothesis H 0 : π = π 0, 2 log Λ has a limitig Chi square distributio with 1 degree of freedom, as Note: I this course we use atural logarithm throughout. We will use this limitig distributio i the likelihood ratio test ad for calculatig approximate cofideces based o the likelihood ratio. Mahida Samarakoo STAC51: Categorical data Aalysis 28 / 35

29 Likelihood Ratio Test of H 0 : π = π 0 agaist H 1 : π π 0 Note 1: Λ = maximum likelihood whe H 0 is true maximum likelihood with o restrictio Note 2: 2 log Λ = 2 log(l(π 0 )/l(ˆπ)) = 2(L 0 L 1 ) where L 0 = log l(π 0 ) ad L 1 = log l(ˆπ). We use log for atural logarithms. The likelihood ratio test rejects H 0 if 2 log Λ = 2(L 0 L 1 ) > χ 2 (α) where χ 2 (α) is the 100(1 α) upper quatile of the chi square distributio with 1 degree of freedom. The likelihood ratio [ test statistic simplifies to] 2(L 0 L 1 ) = 2 y log ˆπ π 0 + ( y) log 1 ˆπ 1 π 0. This ca also be expressed [ as ] 2(L 0 L 1 ) = 2 y log y π 0 + ( y) log y π 0 ad 2(L 0 L 1 ) = 2 observed log ( ) observed fitted Mahida Samarakoo STAC51: Categorical data Aalysis 29 / 35

30 Likelihood Ratio Test of H 0 : π = π 0 agaist H 1 : π π 0 ; Example A coi was tossed 32 times ad observed 23 heads. Use the likelihood ratio test to test the ull hypothesis H 0 : π = 0.5 agaist H 1 : π 0.5. Solutio : 2 log Λ = 2(L 0 L 1 ) = 2 observed log ( ) observed ( ( ) ( fitted)) = 2 23 log (32 23) log = > χ 2 1 (0.05) = ad so we reject the ull hypothesis. Mahida Samarakoo STAC51: Categorical data Aalysis 30 / 35

31 Likelihood Ratio based Cofidece itervals for π Likelihood based cofidece iterval for π is the set of values of π 0 for which 2(L(π 0 ) L(ˆπ)) < χ 2 1 (α). We ca fid the boudaries of the iterval by solvig the equatio 2(L(π 0 ) L(ˆπ)) = χ 2 1 (α) or 2(L(π 0 ) L(ˆπ)) χ 2 1 (α) = 0. This ofte requires umerical a solutio to this equatio. Mahida Samarakoo STAC51: Categorical data Aalysis 31 / 35

32 Likelihood Ratio based Cofidece itervals for π: Example A coi was tossed 32 times ad observed 23 heads. Fid a likelihood ratio test based 95% cofidece iterval for π. Solutio: We get the upper ad the lower limits of the likelihood ratio based cofidece iterval by solvig 2(L(π 0 ) L(ˆπ)) χ 2 1 (α) = 0. Substitutig values, the equatio becomes: 2[23 log(π 0 ) + (32 23) log(1 π 0 ) 23 log(23/32) (32 23) log(1 (23/32))] χ 2 1(0.05) = 0. Mahida Samarakoo STAC51: Categorical data Aalysis 32 / 35

33 Likelihood Ratio based Cofidece itervals for π: Example The R code ad the output below shows the umerical solutio to this equatio ad the likelihood ratio based cofidece iterval > #R code for Likelihood Ratio based Cofidece iterval > # p 12 Aggresti > library(rootsolve) > <- 32 > y <- 23 > phat <- y/ > alpha < > f1 <- fuctio(pi0) { + -2*(y*log(pi0) + (-y)*log(1-pi0)-y*log(phat) -(-y)*log(1-phat)) - qchisq(1-alpha,df=1) + } > uiroot.all(f=f1, iterval=c( , )) [1] > curve(f1, from=0, to=1, xlab="pi0", ylab="f1(pi0)") > ablie(h=0, col="red") Mahida Samarakoo STAC51: Categorical data Aalysis 33 / 35

34 Likelihood Ratio based Cofidece itervals for π: Example > curve(f1, from=0, to=1, xlab="pi0", ylab="f1(pi0)") > ablie(h=0, col="red") > ablie(v=(seq(0,1,by=0.02)), col="blue", lty="dotted") > ablie(h=(seq(0,170,10)), col="blue", lty="dotted") Mahida Samarakoo STAC51: Categorical data Aalysis 34 / 35

35 Likelihood Ratio based Cofidece itervals for π: Example Figure: Likelihood Ratio Cofidece Iterval Mahida Samarakoo STAC51: Categorical data Aalysis 35 / 35

Common Large/Small Sample Tests 1/55

Common Large/Small Sample Tests 1/55 Commo Large/Small Sample Tests 1/55 Test of Hypothesis for the Mea (σ Kow) Covert sample result ( x) to a z value Hypothesis Tests for µ Cosider the test H :μ = μ H 1 :μ > μ σ Kow (Assume the populatio

More information

A quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population

A quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population A quick activity - Cetral Limit Theorem ad Proportios Lecture 21: Testig Proportios Statistics 10 Coli Rudel Flip a coi 30 times this is goig to get loud! Record the umber of heads you obtaied ad calculate

More information

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample. Statistical Iferece (Chapter 10) Statistical iferece = lear about a populatio based o the iformatio provided by a sample. Populatio: The set of all values of a radom variable X of iterest. Characterized

More information

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700 Class 23 Daiel B. Rowe, Ph.D. Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 2017 by D.B. Rowe 1 Ageda: Recap Chapter 9.1 Lecture Chapter 9.2 Review Exam 6 Problem Solvig Sessio. 2

More information

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions Chapter 11: Askig ad Aswerig Questios About the Differece of Two Proportios These otes reflect material from our text, Statistics, Learig from Data, First Editio, by Roxy Peck, published by CENGAGE Learig,

More information

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4

MATH 320: Probability and Statistics 9. Estimation and Testing of Parameters. Readings: Pruim, Chapter 4 MATH 30: Probability ad Statistics 9. Estimatio ad Testig of Parameters Estimatio ad Testig of Parameters We have bee dealig situatios i which we have full kowledge of the distributio of a radom variable.

More information

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE TERRY SOO Abstract These otes are adapted from whe I taught Math 526 ad meat to give a quick itroductio to cofidece

More information

Last Lecture. Wald Test

Last Lecture. Wald Test Last Lecture Biostatistics 602 - Statistical Iferece Lecture 22 Hyu Mi Kag April 9th, 2013 Is the exact distributio of LRT statistic typically easy to obtai? How about its asymptotic distributio? For testig

More information

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times Sigificace level vs. cofidece level Agreemet of CI ad HT Lecture 13 - Tests of Proportios Sta102 / BME102 Coli Rudel October 15, 2014 Cofidece itervals ad hypothesis tests (almost) always agree, as log

More information

Sampling Distributions, Z-Tests, Power

Sampling Distributions, Z-Tests, Power Samplig Distributios, Z-Tests, Power We draw ifereces about populatio parameters from sample statistics Sample proportio approximates populatio proportio Sample mea approximates populatio mea Sample variace

More information

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. XI-1 (1074) MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND. R. E. D. WOOLSEY AND H. S. SWANSON XI-2 (1075) STATISTICAL DECISION MAKING Advaced

More information

STATISTICAL INFERENCE

STATISTICAL INFERENCE STATISTICAL INFERENCE POPULATION AND SAMPLE Populatio = all elemets of iterest Characterized by a distributio F with some parameter θ Sample = the data X 1,..., X, selected subset of the populatio = sample

More information

Chapter 8: Estimating with Confidence

Chapter 8: Estimating with Confidence Chapter 8: Estimatig with Cofidece Sectio 8.2 The Practice of Statistics, 4 th editio For AP* STARNES, YATES, MOORE Chapter 8 Estimatig with Cofidece 8.1 Cofidece Itervals: The Basics 8.2 8.3 Estimatig

More information

1 Inferential Methods for Correlation and Regression Analysis

1 Inferential Methods for Correlation and Regression Analysis 1 Iferetial Methods for Correlatio ad Regressio Aalysis I the chapter o Correlatio ad Regressio Aalysis tools for describig bivariate cotiuous data were itroduced. The sample Pearso Correlatio Coefficiet

More information

Parameter, Statistic and Random Samples

Parameter, Statistic and Random Samples Parameter, Statistic ad Radom Samples A parameter is a umber that describes the populatio. It is a fixed umber, but i practice we do ot kow its value. A statistic is a fuctio of the sample data, i.e.,

More information

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes.

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes. Term Test 3 (Part A) November 1, 004 Name Math 6 Studet Number Directio: This test is worth 10 poits. You are required to complete this test withi miutes. I order to receive full credit, aswer each problem

More information

STAT431 Review. X = n. n )

STAT431 Review. X = n. n ) STAT43 Review I. Results related to ormal distributio Expected value ad variace. (a) E(aXbY) = aex bey, Var(aXbY) = a VarX b VarY provided X ad Y are idepedet. Normal distributios: (a) Z N(, ) (b) X N(µ,

More information

z is the upper tail critical value from the normal distribution

z is the upper tail critical value from the normal distribution Statistical Iferece drawig coclusios about a populatio parameter, based o a sample estimate. Populatio: GRE results for a ew eam format o the quatitative sectio Sample: =30 test scores Populatio Samplig

More information

1 Models for Matched Pairs

1 Models for Matched Pairs 1 Models for Matched Pairs Matched pairs occur whe we aalyse samples such that for each measuremet i oe of the samples there is a measuremet i the other sample that directly relates to the measuremet i

More information

Math 152. Rumbos Fall Solutions to Review Problems for Exam #2. Number of Heads Frequency

Math 152. Rumbos Fall Solutions to Review Problems for Exam #2. Number of Heads Frequency Math 152. Rumbos Fall 2009 1 Solutios to Review Problems for Exam #2 1. I the book Experimetatio ad Measuremet, by W. J. Youde ad published by the by the Natioal Sciece Teachers Associatio i 1962, the

More information

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara Poit Estimator Eco 325 Notes o Poit Estimator ad Cofidece Iterval 1 By Hiro Kasahara Parameter, Estimator, ad Estimate The ormal probability desity fuctio is fully characterized by two costats: populatio

More information

Stat 319 Theory of Statistics (2) Exercises

Stat 319 Theory of Statistics (2) Exercises Kig Saud Uiversity College of Sciece Statistics ad Operatios Research Departmet Stat 39 Theory of Statistics () Exercises Refereces:. Itroductio to Mathematical Statistics, Sixth Editio, by R. Hogg, J.

More information

One-Sample Test for Proportion

One-Sample Test for Proportion Oe-Sample Test for Proportio Approximated Oe-Sample Z Test for Proportio CF Jeff Li, MD., PhD. November 1, 2005 c Jeff Li, MD., PhD. c Jeff Li, MD., PhD. Oe Sample Test for Proportio, 1 I DM-TKR Data,

More information

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to: STA 2023 Module 10 Comparig Two Proportios Learig Objectives Upo completig this module, you should be able to: 1. Perform large-sample ifereces (hypothesis test ad cofidece itervals) to compare two populatio

More information

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ),

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ), Cofidece Iterval Estimatio Problems Suppose we have a populatio with some ukow parameter(s). Example: Normal(,) ad are parameters. We eed to draw coclusios (make ifereces) about the ukow parameters. We

More information

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process.

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process. Iferetial Statistics ad Probability a Holistic Approach Iferece Process Chapter 8 Poit Estimatio ad Cofidece Itervals This Course Material by Maurice Geraghty is licesed uder a Creative Commos Attributio-ShareAlike

More information

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018 HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018 We are resposible for 2 types of hypothesis tests that produce ifereces about the ukow populatio mea, µ, each of which has 3 possible

More information

Parameter, Statistic and Random Samples

Parameter, Statistic and Random Samples Parameter, Statistic ad Radom Samples A parameter is a umber that describes the populatio. It is a fixed umber, but i practice we do ot kow its value. A statistic is a fuctio of the sample data, i.e.,

More information

Sample Size Determination (Two or More Samples)

Sample Size Determination (Two or More Samples) Sample Sie Determiatio (Two or More Samples) STATGRAPHICS Rev. 963 Summary... Data Iput... Aalysis Summary... 5 Power Curve... 5 Calculatios... 6 Summary This procedure determies a suitable sample sie

More information

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight)

Tests of Hypotheses Based on a Single Sample (Devore Chapter Eight) Tests of Hypotheses Based o a Sigle Sample Devore Chapter Eight MATH-252-01: Probability ad Statistics II Sprig 2018 Cotets 1 Hypothesis Tests illustrated with z-tests 1 1.1 Overview of Hypothesis Testig..........

More information

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics Explorig Data: Distributios Look for overall patter (shape, ceter, spread) ad deviatios (outliers). Mea (use a calculator): x = x 1 + x 2 + +

More information

Section 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis

Section 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis Sectio 9.2 Tests About a Populatio Proportio P H A N T O M S Parameters Hypothesis Assess Coditios Name the Test Test Statistic (Calculate) Obtai P value Make a decisio State coclusio Sectio 9.2 Tests

More information

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals 7-1 Chapter 4 Part I. Samplig Distributios ad Cofidece Itervals 1 7- Sectio 1. Samplig Distributio 7-3 Usig Statistics Statistical Iferece: Predict ad forecast values of populatio parameters... Test hypotheses

More information

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions Chapter 9 Slide Ifereces from Two Samples 9- Overview 9- Ifereces about Two Proportios 9- Ifereces about Two Meas: Idepedet Samples 9-4 Ifereces about Matched Pairs 9-5 Comparig Variatio i Two Samples

More information

Math 140 Introductory Statistics

Math 140 Introductory Statistics 8.2 Testig a Proportio Math 1 Itroductory Statistics Professor B. Abrego Lecture 15 Sectios 8.2 People ofte make decisios with data by comparig the results from a sample to some predetermied stadard. These

More information

Chapter 6 Sampling Distributions

Chapter 6 Sampling Distributions Chapter 6 Samplig Distributios 1 I most experimets, we have more tha oe measuremet for ay give variable, each measuremet beig associated with oe radomly selected a member of a populatio. Hece we eed to

More information

Chapter 13: Tests of Hypothesis Section 13.1 Introduction

Chapter 13: Tests of Hypothesis Section 13.1 Introduction Chapter 13: Tests of Hypothesis Sectio 13.1 Itroductio RECAP: Chapter 1 discussed the Likelihood Ratio Method as a geeral approach to fid good test procedures. Testig for the Normal Mea Example, discussed

More information

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010, 2007, 2004 Pearso Educatio, Ic. Comparig Two Proportios Read the first two paragraphs of pg 504. Comparisos betwee two percetages are much more commo

More information

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance Hypothesis Testig Empirically evaluatig accuracy of hypotheses: importat activity i ML. Three questios: Give observed accuracy over a sample set, how well does this estimate apply over additioal samples?

More information

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y.

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y. Testig Statistical Hypotheses Recall the study where we estimated the differece betwee mea systolic blood pressure levels of users of oral cotraceptives ad o-users, x - y. Such studies are sometimes viewed

More information

Continuous Data that can take on any real number (time/length) based on sample data. Categorical data can only be named or categorised

Continuous Data that can take on any real number (time/length) based on sample data. Categorical data can only be named or categorised Questio 1. (Topics 1-3) A populatio cosists of all the members of a group about which you wat to draw a coclusio (Greek letters (μ, σ, Ν) are used) A sample is the portio of the populatio selected for

More information

Chapter 1 (Definitions)

Chapter 1 (Definitions) FINAL EXAM REVIEW Chapter 1 (Defiitios) Qualitative: Nomial: Ordial: Quatitative: Ordial: Iterval: Ratio: Observatioal Study: Desiged Experimet: Samplig: Cluster: Stratified: Systematic: Coveiece: Simple

More information

Stat 200 -Testing Summary Page 1

Stat 200 -Testing Summary Page 1 Stat 00 -Testig Summary Page 1 Mathematicias are like Frechme; whatever you say to them, they traslate it ito their ow laguage ad forthwith it is somethig etirely differet Goethe 1 Large Sample Cofidece

More information

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2 Chapter 8 Comparig Two Treatmets Iferece about Two Populatio Meas We wat to compare the meas of two populatios to see whether they differ. There are two situatios to cosider, as show i the followig examples:

More information

Final Examination Solutions 17/6/2010

Final Examination Solutions 17/6/2010 The Islamic Uiversity of Gaza Faculty of Commerce epartmet of Ecoomics ad Political Scieces A Itroductio to Statistics Course (ECOE 30) Sprig Semester 009-00 Fial Eamiatio Solutios 7/6/00 Name: I: Istructor:

More information

Statistics 20: Final Exam Solutions Summer Session 2007

Statistics 20: Final Exam Solutions Summer Session 2007 1. 20 poits Testig for Diabetes. Statistics 20: Fial Exam Solutios Summer Sessio 2007 (a) 3 poits Give estimates for the sesitivity of Test I ad of Test II. Solutio: 156 patiets out of total 223 patiets

More information

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc. Chapter 22 Comparig Two Proportios Copyright 2010 Pearso Educatio, Ic. Comparig Two Proportios Comparisos betwee two percetages are much more commo tha questios about isolated percetages. Ad they are more

More information

Read through these prior to coming to the test and follow them when you take your test.

Read through these prior to coming to the test and follow them when you take your test. Math 143 Sprig 2012 Test 2 Iformatio 1 Test 2 will be give i class o Thursday April 5. Material Covered The test is cummulative, but will emphasize the recet material (Chapters 6 8, 10 11, ad Sectios 12.1

More information

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3 Itroductio to Ecoometrics (3 rd Updated Editio) by James H. Stock ad Mark W. Watso Solutios to Odd- Numbered Ed- of- Chapter Exercises: Chapter 3 (This versio August 17, 014) 015 Pearso Educatio, Ic. Stock/Watso

More information

University of California, Los Angeles Department of Statistics. Hypothesis testing

University of California, Los Angeles Department of Statistics. Hypothesis testing Uiversity of Califoria, Los Ageles Departmet of Statistics Statistics 100B Elemets of a hypothesis test: Hypothesis testig Istructor: Nicolas Christou 1. Null hypothesis, H 0 (claim about µ, p, σ 2, µ

More information

ST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n.

ST 305: Exam 3 ( ) = P(A)P(B A) ( ) = P(A) + P(B) ( ) = 1 P( A) ( ) = P(A) P(B) σ X 2 = σ a+bx. σ ˆp. σ X +Y. σ X Y. σ X. σ Y. σ n. ST 305: Exam 3 By hadig i this completed exam, I state that I have either give or received assistace from aother perso durig the exam period. I have used o resources other tha the exam itself ad the basic

More information

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen) Goodess-of-Fit Tests ad Categorical Data Aalysis (Devore Chapter Fourtee) MATH-252-01: Probability ad Statistics II Sprig 2019 Cotets 1 Chi-Squared Tests with Kow Probabilities 1 1.1 Chi-Squared Testig................

More information

BIOS 4110: Introduction to Biostatistics. Breheny. Lab #9

BIOS 4110: Introduction to Biostatistics. Breheny. Lab #9 BIOS 4110: Itroductio to Biostatistics Brehey Lab #9 The Cetral Limit Theorem is very importat i the realm of statistics, ad today's lab will explore the applicatio of it i both categorical ad cotiuous

More information

Chapter 23: Inferences About Means

Chapter 23: Inferences About Means Chapter 23: Ifereces About Meas Eough Proportios! We ve spet the last two uits workig with proportios (or qualitative variables, at least) ow it s time to tur our attetios to quatitative variables. For

More information

Final Review. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

Final Review. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech Fial Review Fall 2013 Prof. Yao Xie, yao.xie@isye.gatech.edu H. Milto Stewart School of Idustrial Systems & Egieerig Georgia Tech 1 Radom samplig model radom samples populatio radom samples: x 1,..., x

More information

Discrete Mathematics for CS Spring 2008 David Wagner Note 22

Discrete Mathematics for CS Spring 2008 David Wagner Note 22 CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 22 I.I.D. Radom Variables Estimatig the bias of a coi Questio: We wat to estimate the proportio p of Democrats i the US populatio, by takig

More information

( θ. sup θ Θ f X (x θ) = L. sup Pr (Λ (X) < c) = α. x : Λ (x) = sup θ H 0. sup θ Θ f X (x θ) = ) < c. NH : θ 1 = θ 2 against AH : θ 1 θ 2

( θ. sup θ Θ f X (x θ) = L. sup Pr (Λ (X) < c) = α. x : Λ (x) = sup θ H 0. sup θ Θ f X (x θ) = ) < c. NH : θ 1 = θ 2 against AH : θ 1 θ 2 82 CHAPTER 4. MAXIMUM IKEIHOOD ESTIMATION Defiitio: et X be a radom sample with joit p.m/d.f. f X x θ. The geeralised likelihood ratio test g.l.r.t. of the NH : θ H 0 agaist the alterative AH : θ H 1,

More information

Binomial Distribution

Binomial Distribution 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0 1 2 3 4 5 6 7 0.0 0.5 1.0 1.5 2.0 2.5 3.0 Overview Example: coi tossed three times Defiitio Formula Recall that a r.v. is discrete if there are either a fiite umber of possible

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples. Chapter 9 & : Comparig Two Treatmets: This chapter focuses o two eperimetal desigs that are crucial to comparative studies: () idepedet samples ad () matched pair samples Idepedet Radom amples from Two

More information

1.010 Uncertainty in Engineering Fall 2008

1.010 Uncertainty in Engineering Fall 2008 MIT OpeCourseWare http://ocw.mit.edu.00 Ucertaity i Egieerig Fall 2008 For iformatio about citig these materials or our Terms of Use, visit: http://ocw.mit.edu.terms. .00 - Brief Notes # 9 Poit ad Iterval

More information

Frequentist Inference

Frequentist Inference Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for

More information

5. Likelihood Ratio Tests

5. Likelihood Ratio Tests 1 of 5 7/29/2009 3:16 PM Virtual Laboratories > 9. Hy pothesis Testig > 1 2 3 4 5 6 7 5. Likelihood Ratio Tests Prelimiaries As usual, our startig poit is a radom experimet with a uderlyig sample space,

More information

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ STATISTICAL INFERENCE INTRODUCTION Statistical iferece is that brach of Statistics i which oe typically makes a statemet about a populatio based upo the results of a sample. I oesample testig, we essetially

More information

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63.

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63. STT 315, Summer 006 Lecture 5 Materials Covered: Chapter 6 Suggested Exercises: 67, 69, 617, 60, 61, 641, 649, 65, 653, 66, 663 1 Defiitios Cofidece Iterval: A cofidece iterval is a iterval believed to

More information

MATH/STAT 352: Lecture 15

MATH/STAT 352: Lecture 15 MATH/STAT 352: Lecture 15 Sectios 5.2 ad 5.3. Large sample CI for a proportio ad small sample CI for a mea. 1 5.2: Cofidece Iterval for a Proportio Estimatig proportio of successes i a biomial experimet

More information

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700 Class 7 Daiel B. Rowe, Ph.D. Departmet of Mathematics, Statistics, ad Computer Sciece Copyright 013 by D.B. Rowe 1 Ageda: Skip Recap Chapter 10.5 ad 10.6 Lecture Chapter 11.1-11. Review Chapters 9 ad 10

More information

Chapter 22: What is a Test of Significance?

Chapter 22: What is a Test of Significance? Chapter 22: What is a Test of Sigificace? Thought Questio Assume that the statemet If it s Saturday, the it s the weeked is true. followig statemets will also be true? Which of the If it s the weeked,

More information

MA238 Assignment 4 Solutions (part a)

MA238 Assignment 4 Solutions (part a) (i) Sigle sample tests. Questio. MA38 Assigmet 4 Solutios (part a) (a) (b) (c) H 0 : = 50 sq. ft H A : < 50 sq. ft H 0 : = 3 mpg H A : > 3 mpg H 0 : = 5 mm H A : 5mm Questio. (i) What are the ull ad alterative

More information

Logit regression Logit regression

Logit regression Logit regression Logit regressio Logit regressio models the probability of Y= as the cumulative stadard logistic distributio fuctio, evaluated at z = β 0 + β X: Pr(Y = X) = F(β 0 + β X) F is the cumulative logistic distributio

More information

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( )

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( ) MATH 48 Chi-Square Aalysis of a Normal Stadard Deviatio Dr Neal, WKU We ow shall use the chi-square distriutios to aalyze the stadard deviatio of a measuremet that is kow to e ormally distriuted The proof

More information

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10

DS 100: Principles and Techniques of Data Science Date: April 13, Discussion #10 DS 00: Priciples ad Techiques of Data Sciece Date: April 3, 208 Name: Hypothesis Testig Discussio #0. Defie these terms below as they relate to hypothesis testig. a) Data Geeratio Model: Solutio: A set

More information

Expectation and Variance of a random variable

Expectation and Variance of a random variable Chapter 11 Expectatio ad Variace of a radom variable The aim of this lecture is to defie ad itroduce mathematical Expectatio ad variace of a fuctio of discrete & cotiuous radom variables ad the distributio

More information

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 9

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 9 Hypothesis testig PSYCHOLOGICAL RESEARCH (PYC 34-C Lecture 9 Statistical iferece is that brach of Statistics i which oe typically makes a statemet about a populatio based upo the results of a sample. I

More information

Introductory statistics

Introductory statistics CM9S: Machie Learig for Bioiformatics Lecture - 03/3/06 Itroductory statistics Lecturer: Sriram Sakararama Scribe: Sriram Sakararama We will provide a overview of statistical iferece focussig o the key

More information

Statistics 511 Additional Materials

Statistics 511 Additional Materials Cofidece Itervals o mu Statistics 511 Additioal Materials This topic officially moves us from probability to statistics. We begi to discuss makig ifereces about the populatio. Oe way to differetiate probability

More information

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

Lecture 6 Simple alternatives and the Neyman-Pearson lemma STATS 00: Itroductio to Statistical Iferece Autum 06 Lecture 6 Simple alteratives ad the Neyma-Pearso lemma Last lecture, we discussed a umber of ways to costruct test statistics for testig a simple ull

More information

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: PSet ----- Stats, Cocepts I Statistics 7.3. Cofidece Iterval for a Mea i Oe Sample [MATH] The Cetral Limit Theorem. Let...,,, be idepedet, idetically distributed (i.i.d.) radom variables havig mea µ ad

More information

STAT 155 Introductory Statistics Chapter 6: Introduction to Inference. Lecture 18: Estimation with Confidence

STAT 155 Introductory Statistics Chapter 6: Introduction to Inference. Lecture 18: Estimation with Confidence The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL STAT 155 Itroductory Statistics Chapter 6: Itroductio to Iferece Lecture 18: Estimatio with Cofidece 11/14/06 Lecture 18 1 Itroductio Statistical Iferece

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2016 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D.

Sample Size Estimation in the Proportional Hazards Model for K-sample or Regression Settings Scott S. Emerson, M.D., Ph.D. ample ie Estimatio i the Proportioal Haards Model for K-sample or Regressio ettigs cott. Emerso, M.D., Ph.D. ample ie Formula for a Normally Distributed tatistic uppose a statistic is kow to be ormally

More information

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Confidence Interval Guesswork with Confidence

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Confidence Interval Guesswork with Confidence PSet ----- Stats, Cocepts I Statistics Cofidece Iterval Guesswork with Cofidece VII. CONFIDENCE INTERVAL 7.1. Sigificace Level ad Cofidece Iterval (CI) The Sigificace Level The sigificace level, ofte deoted

More information

Properties and Hypothesis Testing

Properties and Hypothesis Testing Chapter 3 Properties ad Hypothesis Testig 3.1 Types of data The regressio techiques developed i previous chapters ca be applied to three differet kids of data. 1. Cross-sectioal data. 2. Time series data.

More information

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences.

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences. Norwegia Uiversity of Sciece ad Techology Departmet of Mathematical Scieces Corrected 3 May ad 4 Jue Solutios TMA445 Statistics Saturday 6 May 9: 3: Problem Sow desity a The probability is.9.5 6x x dx

More information

Announcements. Unit 5: Inference for Categorical Data Lecture 1: Inference for a single proportion

Announcements. Unit 5: Inference for Categorical Data Lecture 1: Inference for a single proportion Housekeepig Aoucemets Uit 5: Iferece for Categorical Data Lecture 1: Iferece for a sigle proportio Statistics 101 Mie Çetikaya-Rudel PA 4 due Friday at 5pm (exteded) PS 6 due Thursday, Oct 30 October 23,

More information

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators Topic 9: Samplig Distributios of Estimators Course 003, 2018 Page 0 Samplig distributios of estimators Sice our estimators are statistics (particular fuctios of radom variables), their distributio ca be

More information

To make comparisons for two populations, consider whether the samples are independent or dependent.

To make comparisons for two populations, consider whether the samples are independent or dependent. Sociology 54 Testig for differeces betwee two samle meas Cocetually, comarig meas from two differet samles is the same as what we ve doe i oe-samle tests, ecet that ow the hyotheses focus o the arameters

More information

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA, 016 MODULE : Statistical Iferece Time allowed: Three hours Cadidates should aswer FIVE questios. All questios carry equal marks. The umber

More information

(7 One- and Two-Sample Estimation Problem )

(7 One- and Two-Sample Estimation Problem ) 34 Stat Lecture Notes (7 Oe- ad Two-Sample Estimatio Problem ) ( Book*: Chapter 8,pg65) Probability& Statistics for Egieers & Scietists By Walpole, Myers, Myers, Ye Estimatio 1 ) ( ˆ S P i i Poit estimate:

More information

Data Analysis and Statistical Methods Statistics 651

Data Analysis and Statistical Methods Statistics 651 Data Aalysis ad Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasii/teachig.html Suhasii Subba Rao Review of testig: Example The admistrator of a ursig home wats to do a time ad motio

More information

Lecture Notes 15 Hypothesis Testing (Chapter 10)

Lecture Notes 15 Hypothesis Testing (Chapter 10) 1 Itroductio Lecture Notes 15 Hypothesis Testig Chapter 10) Let X 1,..., X p θ x). Suppose we we wat to kow if θ = θ 0 or ot, where θ 0 is a specific value of θ. For example, if we are flippig a coi, we

More information

Describing the Relation between Two Variables

Describing the Relation between Two Variables Copyright 010 Pearso Educatio, Ic. Tables ad Formulas for Sulliva, Statistics: Iformed Decisios Usig Data 010 Pearso Educatio, Ic Chapter Orgaizig ad Summarizig Data Relative frequecy = frequecy sum of

More information

KLMED8004 Medical statistics. Part I, autumn Estimation. We have previously learned: Population and sample. New questions

KLMED8004 Medical statistics. Part I, autumn Estimation. We have previously learned: Population and sample. New questions We have previously leared: KLMED8004 Medical statistics Part I, autum 00 How kow probability distributios (e.g. biomial distributio, ormal distributio) with kow populatio parameters (mea, variace) ca give

More information

π: ESTIMATES, CONFIDENCE INTERVALS, AND TESTS Business Statistics

π: ESTIMATES, CONFIDENCE INTERVALS, AND TESTS Business Statistics π: ESTIMATES, CONFIDENCE INTERVALS, AND TESTS Busiess Statistics CONTENTS The CLT for π Estimatig proportio Hypothesis o the proportio Old exam questio Further study THE CLT FOR π Estimatig, cofidece itervals,

More information

Worksheet 23 ( ) Introduction to Simple Linear Regression (continued)

Worksheet 23 ( ) Introduction to Simple Linear Regression (continued) Worksheet 3 ( 11.5-11.8) Itroductio to Simple Liear Regressio (cotiued) This worksheet is a cotiuatio of Discussio Sheet 3; please complete that discussio sheet first if you have ot already doe so. This

More information

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday Aoucemets MidtermII Review Sta 101 - Fall 2016 Duke Uiversity, Departmet of Statistical Sciece Office Hours Wedesday 12:30-2:30pm Watch liear regressio videos before lab o Thursday Dr. Abrahamse Slides

More information

Chi-Squared Tests Math 6070, Spring 2006

Chi-Squared Tests Math 6070, Spring 2006 Chi-Squared Tests Math 6070, Sprig 2006 Davar Khoshevisa Uiversity of Utah February XXX, 2006 Cotets MLE for Goodess-of Fit 2 2 The Multiomial Distributio 3 3 Applicatio to Goodess-of-Fit 6 3 Testig for

More information

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n.

Resampling Methods. X (1/2), i.e., Pr (X i m) = 1/2. We order the data: X (1) X (2) X (n). Define the sample median: ( n. Jauary 1, 2019 Resamplig Methods Motivatio We have so may estimators with the property θ θ d N 0, σ 2 We ca also write θ a N θ, σ 2 /, where a meas approximately distributed as Oce we have a cosistet estimator

More information

Topic 18: Composite Hypotheses

Topic 18: Composite Hypotheses Toc 18: November, 211 Simple hypotheses limit us to a decisio betwee oe of two possible states of ature. This limitatio does ot allow us, uder the procedures of hypothesis testig to address the basic questio:

More information

The Sampling Distribution of the Maximum. Likelihood Estimators for the Parameters of. Beta-Binomial Distribution

The Sampling Distribution of the Maximum. Likelihood Estimators for the Parameters of. Beta-Binomial Distribution Iteratioal Mathematical Forum, Vol. 8, 2013, o. 26, 1263-1277 HIKARI Ltd, www.m-hikari.com http://d.doi.org/10.12988/imf.2013.3475 The Samplig Distributio of the Maimum Likelihood Estimators for the Parameters

More information