logo

Biostatistics Assignment 1

5 Pages1172 Words298 Views
   

Added on  2019-09-23

About This Document

This assignment covers topics like binomial test, Wilcoxon rank sum test, paired t-test, chi-squared test, and sample size calculation. It includes solutions to questions related to biostatistics.

Biostatistics Assignment 1

   Added on 2019-09-23

ShareRelated Documents
Biostatistics Assignment 1401077 Introduction to Biostatistics, Autumn 2018Assignment 2 Question 1 a.> table(survey$sex)female male 121 150 > binom.test(121, 271, + 0.5,+ alternative="two.sided",+ conf.level=0.95)Exact binomial testdata: 121 and 271number of successes = 121, number of trials = 271, p-value = 0.08878alternative hypothesis: true probability of success is not equal to 0.595 percent confidence interval: 0.3863346 0.5078372sample estimates:probability of success 0.4464945 Point estimate = 0.446494595% Confidence interval (0.3863346 0.5078372)b.I am 95% confident that estimated population proportion of females lie in the interval (0.39, .51). Mendenhall, W. M., Sincich, T. L., & Boudreau, N. S. (2016).c.Since confidence interval contains the value 0.50, I can say that 50% of 17-year-olds in NSW are female.Question 2 a.> hist(survey$MVPA, col="green")
Biostatistics Assignment 1_1
Biostatistics Assignment 2The distribution of MVPA is skewed to the right. This indicates there are very fewobservations of large values of MVPA.Mendenhall, W. M., Sincich, T. L., & Boudreau,N. S. (2016).b.Null hypothesis, ho: there is no significant difference in the average self-reportedhours of MVPA per week is equal between males and females.Alternative hypothesis, h1: there is a significant difference in the average self-reported hours of MVPA per week is equal between males and females.> wilcox.test(survey$MVPA~survey$sex)Wilcoxon rank sum test with continuity correctiondata: survey$MVPA by survey$sexW = 8539.5, p-value = 0.404alternative hypothesis: true location shift is not equal to 0with w=8539.5, p>5%, I fail to reject null hypothesis and conclude that there is nosignificant difference in the average self-reported hours of MVPA per week is equalbetween males and females.Tartakovsky, A., Nikiforov, I., & Basseville, M. (2014).Question 3 (4 marks)a.
Biostatistics Assignment 1_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
401077 Introduction to Biostatistics | Assignment
|10
|2577
|178