10 views

Uploaded by Swati Sharma

Complete ANALYSIS OF HYPOTHESIS

- CastroSotos
- A Building Contractor Claims He Can Renovate a 200
- Hypothesis Testing
- 8. Tests of Significance
- 5 Hypothesis Testing
- Performing t Tests Using STATA
- BRM+Lecture+9+25-09-2014
- Assessment of Gender Differences in Mathematics Counselling Needs Among Secondary School Students in Maara District, Kenya
- A3.3 - General Parameters and FORMULA TABLES
- Statistics - Hypothesis Testing One Sample Tests
- CVEN2002 Week9
- Statistics Guidance Contaminated 2008
- Hypothesis Testing on a Single Population Mean
- Hypothesis Testing
- math1040 self
- KD Validity IEEE 802 11
- Understanding Hypothesis Tests_ Why We Need to Use Hypothesis Tests in Statistics
- BUS 302 Study Material
- Paper SD 18
- Steps in Hypothesis Testing

You are on page 1of 27

Objectives:

Students should be able to identify the null and alternative (research) hypotheses in a statistical test Students should know the difference between one-and two-directional hypothesis testing Students should know what alpha, beta, power, and p-values are Students should be able to identify/define type I and type II errors Students should understand the differences between statistical significance and clinical importance Students should know how to determine statistical significance given alpha and a calculated p-value OR given alpha and a corresponding confidence interval

Hypothesis Testing

The second type of inferential statistics

Hypothesis testing is a statistical method used to make comparisons between a single sample and a population, or between 2 or more samples. The result of a statistical hypothesis test is a probability, called a p-value, of obtaining the results (or more extreme results) from tests of samples, if the results really werent true in the population.

Tests for quantitative data (i.e. comparing means): Two groups: t-test (paired or 2-sample) Two or more groups (ANOVA: analysis of variance) Tests for categorical (nominal, ordinal) data (i.e. comparing proportions): Chi-square, Fishers exact test Tests for association between two quantitative variables: Correlation and regression

Hypothesis Testing

In all hypothesis testing, the numerical result from the statistical test is compared to a probability distribution to determine the probability of obtaining the result if the result is not true in the population.

the normal and t-distributions

-4

-3

-2

-1

1. Formulate null and research hypotheses 2. Set alpha error (Type I error) and beta error (Type II error) 3. Compute statistical test and determine statistical significance 4. Draw conclusion

Null Hypothesis (H0): There is no difference between groups; there is no relationship between the independent and dependent variable(s). Research Hypothesis (HR): There is a difference between groups; there is a relationship between the independent and dependent variable(s).

Null and research hypotheses are either non-directional (two-tailed) or directional (one-tailed):

Non-directional (two-tailed): H0: Drug A = Drug B HR: Drug A Drug B Directional (one-tailed): H0: Drug A Drug B HR: Drug A > Drug B or H0: Drug A Drug B HR: Drug A < Drug B

NonRejection Region

NonRejection Region

Research question: Does age of onset of paranoid schizophrenia differ for males and females?

Non-directional (two-tailed): H0: Male Age = Female Age HR: Male Age Female Age

Rejection Region 2.5% NonRejection Region Rejection Region 2.5%

Directional (one-tailed): H0: Male Age Female Age HR: Male Age > Female Age (or the opposite)

NonRejection Region Rejection Region 5.0%

Alpha () is the level of significance in hypothesis testing:

Alpha is a probability specified before the test is performed.

By convention, typical values of alpha specified in medical research are 0.05 and 0.01. Alphas have corresponding critical values, the same ones used to calculate confidence intervals 0.05/1.96, 0.01/2.575

Beta () is the probability of accepting the null hypothesis when it is false.

Typical values for beta are 0.10 to 0.20

Beta is directly related to the power of a statistical test: Power is the probability of correctly rejecting the null hypothesis when it is false. Power = 1 - Beta A type II error occurs when a false null hypothesis is accepted.

P-values

P-values are the actual probabilities calculated from a statistical test, and are compared against alpha to determine whether to reject the null hypothesis or not. Example:

alpha = 0.05; calculated p-value = 0.008; reject null hypothesis

A type I error occurs when a true null hypothesis is rejected.

Null Hypothesis (Treatment A = Treatment B) POPULATION True (No difference) Decision Based on Inferential Statistical Test Accept H0 (No difference) Reject H0 (Difference) Correct Decision Type I Error (alpha () error) False (Difference) Type II Error (beta () error) Correct Decision Power (1-)

What are the null and alternative hypotheses for a two-tailed test? Null Hypothesis (H0) There is no difference in posttreatment mortality between the CABG and PTCA groups (the post treatment mortality is equal, i.e. P1 = P2) Research Hypothesis (HR) There is a difference in posttreatment mortality between the CABG and PTCA groups (the post treatment mortality is not equal, i.e. P1 P2)

Hypothesis Testing

on the type of test

then converted to a probability of obtaining that test statistic if the null hypothesis is true.

measurement being tested, and the variability of the measurement in the sample (the SE of the measurement).

Does age of onset of paranoid schizophrenia differ for males and females? H0: Male Age = Female Age HR: Male Age Female Age n 12 12 mean age 26.8 29.6 SD 5.8 6.2

Male Female

Test statistic:

(x1 x 2 ) t SE (x1 x 2 )

Does age of onset of paranoid schizophrenia differ for males and females? calculated test statistic: t = -1.142

Critical value of t for alpha = 0.05: + 1.960 The computed value of t does not exceed the critical value so the null hypothesis of no difference in age is not rejected (the p value is greater than 0.05) Conclusion: The mean age of onset is not different for males versus females

Is the post treatment mortality different for patients receiving CABG compared to patients receiving PTCA?

There are a number of statistical tests that can be used: 2 examples are 1) chi-square test, or 2) z test for proportions. The resulting p values will be the same regardless of the test used. The researchers used a z test: the p value from the test was 0.3508.

Is the post treatment mortality different for patients receiving CABG compared to patients receiving PTCA?

The p value is 0.3508 this is >0.05, so the conclusion from the study is that there is no difference

If there is truly no difference between CABG and PTCA, the probability of obtaining the difference of 0.6% is ~35%

Hypothesis Testing

Step 4 Draw conclusion about the population based on the results of the statistical test on the sample

Statistical conclusion: the results either are or are not statistically significant

BUT You need to interpret the results in a meaningful (and not just statistical) way

Principles for Statistical Significance 1. The size of a p value does not indicate importance of the result. 2. Interpret nonsignificance cautiously. a. finding no difference may be important b. statistically nonsignificant clinically unimportant 3. Results may be statistically significant but clinically trivial.

There is a direct relationship between levels of alpha set for a statistical test and the level set for constructing a confidence interval. For example, alpha = 0.05 for a 2-sided statistical test is equivalent to a 95% confidence interval

NonRejection Region

Statistical significance can be obtained from a confidence interval as well as a hypothesis test

AND

Confidence intervals convey more information than p values For this reason, most medical journals now prefer that results be presented with confidence intervals rather than p values.

If the NULL VALUE for a statistical hypothesis test using alpha = 0.05 is contained within the 95% confidence interval, we can conclude NO statistical significance at alpha = 0.05 without doing the hypothesis test:

Example: For differences between means or proportions, the null hypothesis is that the difference is equal to zero: If the 95% CI includes the value zero, the differences are not statistically significant at alpha = 0.05. For the test comparing the ages of males and females for onset of paranoid schizophrenia, the null hypothesis is that the difference in age is zero years.

P Values vs. Confidence Intervals Example: Male Female n 12 12 mean age 26.8 29.6 SD 5.8 6.2

The difference in age obtained from the sample is: 26.8-29.6 = -2.8 years The standard error of the difference is 2.45 (calculation not shown)

The 95% confidence interval is: -2.8 +/- 2(2.45) = -2.8 +/- 4.9 = -7.7 to 2.1 years

The 95% confidence interval is: -2.8 +/- 2(2.45) = -2.8 +/- 4.9 = -7.7 to 2.1 years This means that the true population mean difference in age is somewhere between males being 7.7 years younger to males being 2.1 years older than females

The 95% CI includes 0 years, so there is no statistically significant difference in age. In addition, we have information about the precision of our estimate of the difference, which cannot be obtained from p values alone.

Note: This is a relatively wide confidence interval because the sample size is small

We can be 95% confident that the true difference in mortality between CABG and PTCA is between 0.6% and +1.7%

This confidence interval contains the value zero; therefore, we could have concluded that the mortality is not different based on the confidence interval alone.

For ratio variables, such as relative risk and odds ratio, the value one represents equality. The null hypothesis is that the ratio is equal to one: If the 95% CI includes the value one, the difference is not statistically significant at alpha = 0.05.

- CastroSotosUploaded bytarighat486
- A Building Contractor Claims He Can Renovate a 200Uploaded byNabeela Mushtaq
- Hypothesis TestingUploaded byHans Sicangco
- 8. Tests of SignificanceUploaded byssckp86
- 5 Hypothesis TestingUploaded byMohit Srivastava
- Performing t Tests Using STATAUploaded byaeroiceglider
- BRM+Lecture+9+25-09-2014Uploaded byMahum Kamil
- Assessment of Gender Differences in Mathematics Counselling Needs Among Secondary School Students in Maara District, KenyaUploaded byAlexander Decker
- A3.3 - General Parameters and FORMULA TABLESUploaded byshoaib625
- Statistics - Hypothesis Testing One Sample TestsUploaded byLeeHouEE
- CVEN2002 Week9Uploaded byKai Liu
- Statistics Guidance Contaminated 2008Uploaded byOrla Tang
- Hypothesis Testing on a Single Population MeanUploaded byEiyra Nadia
- Hypothesis TestingUploaded byKalyan Dubal
- math1040 selfUploaded byapi-233016074
- KD Validity IEEE 802 11Uploaded byPablo Rodriguez
- Understanding Hypothesis Tests_ Why We Need to Use Hypothesis Tests in StatisticsUploaded byd.dr8408
- BUS 302 Study MaterialUploaded byCadyMyers
- Paper SD 18Uploaded byManoj Agravat
- Steps in Hypothesis TestingUploaded byIzi
- AnovaUploaded byapplesby
- RefresherUploaded byHaritha Atluri
- EconometricUploaded byNadim Hosen
- biol 1082 final presentationUploaded byapi-331846467
- SimulationUploaded byAmrik Singh
- Bonacorsi Consulting Analyze Master Template (09!27!07)Uploaded bySteven Bonacorsi
- Six Sigma.dumps.icgb.v2015!08!06.by.exampass.144qUploaded byAnonymous YkEOLlju
- Stats Assignment PaperUploaded byswabhi
- Statistics Introduction SlidesUploaded byfluffy3jea
- Queuing Analytic Theory and Discrete Events Simulation.pdfUploaded byAbiyyah Wiriana

- NONWOVEN.pptxUploaded bySwati Sharma
- EFFECT OF MOLECULAR WEIGHT ON PROPERTIES OF A POLYMERUploaded bySwati Sharma
- Graphene FibreUploaded bySwati Sharma
- Shape memory polymer.pdfUploaded bySwati Sharma
- SUTURES APPLICATION OF MEDICAL TEXTILE.pptxUploaded bySwati Sharma
- Feasibility StudyUploaded bySwati Sharma
- Electronic textile applicationsUploaded bySwati Sharma
- Microencapsulation.pdfUploaded bySwati Sharma
- Study of Time DependenceUploaded bySwati Sharma
- Study of Time DependenceUploaded bySwati Sharma
- Ratio analysisUploaded bySwati Sharma
- CASE STUDY ON WEAVE DESIGNS AND FABRIC MECHANICAL PROPERTIES.docUploaded bySwati Sharma
- Training Report at Sambhav Spinning MillUploaded bySwati Sharma
- SMART.pptxUploaded bySwati Sharma
- 01Basic understanding of garment manufacturing and various machineries usedUploaded bySwati Sharma
- Core Spun Yarn - ProductionUploaded bySwati Sharma
- Special Finishes to Garment an OverviewUploaded bySupriya Nanda
- Control - International Markets 14Uploaded bySwati Sharma
- SUTURES APPLICATION OF MEDICAL TEXTILE.pptxUploaded bySwati Sharma
- Mems Based TextileUploaded bySwati Sharma
- Fundamentals of FashionUploaded bySwati Sharma
- yarn tension and balloon geometry in ring spinningUploaded byapi-19965553
- Nonlinear Slides (1)Uploaded bySwati Sharma
- Smart TextilesUploaded byfilalo
- 5HypothesisTesting.pptxUploaded bySwati Sharma
- 34_39Uploaded bySwati Sharma

- Ordered Probit and Logit Models R Program and OutputUploaded bySeyChell Norinha
- Multiple Regression MSUploaded byWaqar Ahmad
- 2-way anova notes-1Uploaded byAnmolDhillon
- Levine Point of Estimation and Convidence IntervalUploaded byYusril Kurniawan
- Mached Sample t TestUploaded byJoanne Wong
- Order Statistics Theory Amp MethodsUploaded bySumathi Mathi
- IGNOU EC0-07 Solved AssignmentsUploaded byRaghuvir sharan
- SPSS and AMOS Brochure - August 2017Uploaded byjeganrajraj
- Unit 21Uploaded byZaenal Muttaqin
- Docx ExerciseUploaded byPPP
- 13-mca-or-probability & statisticsUploaded bySRINIVASA RAO GANTA
- GLRTs (1)Uploaded bySrini Vaas
- Solutions Chapter 5Uploaded byYoussef Afkir
- MLM_and_ABMUploaded byAndrew Koh
- Ore Body Modelling Assignment 2Uploaded byBruna Kharyn
- How to Do xtabond2: An Introduction to “Difference” and “System” GMM in Stata By David RoodmanUploaded byAnwar Aan
- ST.HW 1Uploaded byPaige D.
- How to Use Excel to Conduct an AnovaUploaded bykingofdeal
- Topic03 Correlation RegressionUploaded byVijay Phani Kumar
- CTTUploaded bypedrorod2
- Panel CommandsUploaded byri2an
- How to use SPSSUploaded byAyu Delisa Putri
- 5 Relationship of Alpha Beta Power in DOEUploaded bycvenkatasunil
- Reliability Checking Through SPSSUploaded byjazzlovey
- Markowitz ModelUploaded bygulto
- Missing Data Analysis With Mice - Firouzeh Noghrehchi - 2015Uploaded byoctavioascheri
- WeibullUploaded byJeff Hardy
- R Package - Timereg - Analyzing Competing Risk Data 2011 JSSUploaded bySangyoung Song
- Factor AnalysisUploaded byAishatu Musa Abba
- Forecast Package for RUploaded byVictoria Liendo