1 / 7

Parametric hypotheses tests

Parametric hypotheses tests. Marek Majdan. Training in essential biostatistics for Public Health Professionals in BiH , Marek Majdan, PhD; marekmajdan@gmail.com. Principle of hypothesis tests. Null and alternative hypothesis

judith
Télécharger la présentation

Parametric hypotheses tests

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Parametric hypotheses tests Marek Majdan Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  2. Principle of hypothesis tests • Null and alternative hypothesis • Statistical tests used to reject or accept these hypotheses and infere results from a sample to the population • Every test has his own hypothesis • Choice of test depends on data Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  3. T test • One sample (compares sample mean with population mean) • Two independent samples (compares means of two samples) • Paired (compares means of repeated measurements in the same sample) • Null hypothesis: compared means are equal Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  4. T test in R • 2 independent groups t-testt.test(y~x) -where y is numeric and x is a binary factor • 2 independent groups t-testt.test(y1,y2)- where y1 and y2 are numeric • Paired t-testt.test(y1,y2,paired=TRUE)- where y1 & y2 are numeric • One samle t-testt.test(y,mu=3)– where mu is the population mean Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  5. ANOVA test • To compare means of three or more groups • Null hypothesis: the compared means are equal • In R: summary(aov(variable~grouping variable, data=database name)) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  6. Post hoc test • Anova only tells us that at least two of the compared means are equal • Post hoc test compares mean of each group with each • Tukey honest significance test • results=TukeyHSD(aov(ar_lv~sampleNO, data=zoltan));results • Other tests: paired t test with corrections Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

  7. Comparing proportions • Chi squared test to compare proportions between categories of a 2x2 table, 2xN table or MxN table • In R: chisq.test (table) prop.test (table) Training in essential biostatistics for Public Health Professionals in BiH, Marek Majdan, PhD; marekmajdan@gmail.com

More Related