当前位置:天才代写 > R语言代写,r语言代做-无限次修改 > 医学统计代写 Medical Statistics代写

医学统计代写 Medical Statistics代写

2022-01-21 11:49 星期五 所属: R语言代写,r语言代做-无限次修改 浏览:429

Department of Mathematical Sciences

MA30086 Medical Statistics Open Book Examination

医学统计代写 This is an open book exam. You may refer to your own course and revision notes and look up information in offline or online resources,

Please read the Guidance for Students before attempting this exam. The Guidance contains information about submitting your exam attempt and choosing to defer.

This is an open book exam. You may refer to your own course and revision notes and look up information in offline or online resources, for example textbooks or online journals.

This exam is designed to take 3 hours (including up to 1 hour for upload) to complete.

Which questions should be answered: Answer THREE of the four questions. Only the BEST three answers will contribute to the assessment.

Additional materials needed to complete the assessment: You may use a calculator and program R for this assessment.

Further instructions: In marking, emphasis will be placed upon clear mathematical argument and precision.

Do NOT submit your rough work. Please show full working and indicate where and how you have used R.

 

Academic Integrity for Remote Exams  医学统计代写

When you registered as a student you agreed to abide by the University’s regulations and rules, and agreed that you would access and read your programme handbook. These documents contain references to, and penalties for, unfair practices such as collusion, plagiarism, fabrication or falsification. The University’s Quality Assurance Code of Practice, QA53 Examination and Assessment Offences, sets out the consequences of committing an offence and the penalties that might be applied.

By submitting your exam as instructed, you confirm that:

  1. You have not impersonated, or allowed yourself to be impersonated by, any person for the purposes of this assessment.
  2. This assessment is your original work and no part of it has been copied from any other source except where due acknowledgement is made.
  3. You have not previously submitted this work for any other unit/course.
  4. You give permission for your assessment response to be reproduced, communicated, compared and archived for plagiarism detection, benchmarking or educational purposes.
  5. You understand that plagiarism is the presentation of the work, idea or creation of another person or organisation as though it is your own. It is a form of cheating and is a very serious academic offence that may lead to disciplinary action.
  6. You understand that this assessment is undertaken without invigilation, and that you have not communicated with and will not communicate with anyone concerning this assessment before the deadline for submission unless it is expressly permitted by the assessment instructions.
  7. No part of this assessment has been produced for, or communicated to, you by any other person, unless it is expressly permitted by the assessment instructions.

If you have any questions about the exam you should contact the exams helpline. Information and contact details can be found on our help and advice webpage.

 

1.  医学统计代写

A randomised controlled trial has been conducted to assess the effect ofrecommending that face masks be worn when outside the home on the risk of infection with the Covid-19 virus. The trial recruited individuals who spend more than 3 hours per day outside the home without occupational mask use. They were randomised to either be recommended to wear a mask when outside the home or not. Those randomised to be recommended to wear a mask were also given a supply of 50 surgical masks. The primary outcome was whether or not the individual became infected with the Covid-19 virus within one month.

The table below shows the number of infections and patients according to a baseline variable recording whether they typically spend more than 4.5 hours a day outside or not.

医学统计代写
医学统计代写

(a)

Explain what is meant by blinding in a clinical trial and discuss the feasibility of blinding in this trial. [3]

(b) Showing your workings, use the data to estimate the risk ratio comparing the face mask group to the control group and its 95% confidence interval, without adjustment for whether they typically spend more than 4.5 hours a day outside or not. What do you conclude about the effect of recommending people wear a face mask when outside (and giving them 50 masks)? [6]

(c) Showing your workings, calculate a p-value to test the null hypothesis that

recommending to wear a face mask and providing 50 masks has no effect on the risk of infection with the Covid-19 virus. Comment on your answer in relation to your calculations in part (b). [3]

(d) State an estimate of the odds ratio comparing the face mask group to the control group, with explanation for the value you state. [2]

(e) Showing your workings, assess the evidence for whether the risk ratio for the effect of recommending people wear a face mask differs according to whether the person typically spends more than 4.5 hours a day outside or not. [6]

 

2.  医学统计代写

A group of researchers used routinely collected hospital data from patients hospitalised with Covid-19 to investigate how smoking status predicts outcomes. Patients were categorised as being current smokers (smoker=1) orex/non-smokers (smoker=0). The following partial output from R shows results from a Cox proportional hazards model fitted to the data. The time to event variable t was time from hospitalisation to discharge from hospital or time to censoring. The variable d is the event indicator, with d=1 indicating the time was time to discharge and d=0 indicating the time was the time of censoring. The sole covariate was the smoking status variable smoker.

Call:
coxph(formula = Surv(t, d) ~ smoker, data = mydat)

  n= 2000, number of events= 1838

           coef exp(coef) se(coef)
smoker -0.67878 0.50724 0.04782

(a) Showing your workings, use the output to calculate a 95% confidence interval for the hazard ratio comparing current smokers to ex/non-smokers. [2]

(b) Showing your workings, calculate the p-value for a test of the null hypothesis that the hazard ratio equals 1. [3]

(c) Interpret the results of the fitted Cox model and your answers from parts (a) and (b). [3]

The plot on the following page shows non-parametric estimates of the cumulative hazard functions from the two smoking groups.

(d) Given the plot, explain what you conclude about the appropriateness of the

proportional hazards assumption made when fitting the earlier Cox model. [3]

(e) Given your answer to (d), suggest with justification an alternative to Cox regression that you could use to analyse the data. Give an advantage of your alternative compared to the Cox regression for analysing these data. [3]

(f) Showing your workings, use the plot to estimate the probability that a current smoker will be discharged from hospital within 20 days. [3]

(g) In the analyses for time to discharge from hospital, patients who died were censored at the time of death. What implications does this have for your answer to part (f)? [3]

医学统计代写
医学统计代写

 

 

3.

To assess the performance of the test used to detect infection with the Covid-19 virus, it was applied to 100 individuals who were known to be infected with the Covid-19 virus and to 100 individuals who were known to not be infected. The table below shows the resulting data:

Throughout the question, you should assume that the UK population infection prevalence of the Covid-19 virus is 1%.

(a) Calculate estimates of the sensitivity and specificity of the test. [2]

(b) Calculate 95% confidence intervals for the sensitivity and specificity estimates obtained in part (a). [2]

(c)

Estimate the positive and negative predictive values of the test procedure. Based on these, how would you interpret a positive and negative test result? [4]

(d) A government minister proposes that the new test could be used to regularly test the whole population of the United Kingdom. Assuming the UK population size is 66 million, construct a table of expected counts which cross classifies the population according to true infection status and their Covid-19 virus test result. Based on this, give one advantage and one disadvantage of the minister’s policy proposal. [3]

(e) The accuracy of a test is the probability that a randomly selected person from the population receives the correct test result (i.e. a positive result if they are truly infected and a negative result if they are truly not infected). Derive an expression for the accuracy of the test in terms of the prevalence, sensitivity and specificity, and use this to estimate the accuracy of the test in the UK population. [3]

(f) Stating any assumptions you make, estimate the standard error of your estimate of accuracy. [6]

 

4.  医学统计代写

A meta-analysis was performed using data from studies which investigated the effect of adding drug X to usual care when treating patients hospitalised with Covid-19. Three relevant studies were identified (A, B, C). Study A was a cohort study, while studies B and C were randomised trials. There was no blinding in any of the three studies to whether the patient received drug X or not. The outcome was whether the patient clinically improved within 14 days. The figure below shows the data along with the results of performing themeta-analysis.

(a) Describe why meta-analysis might be particularly useful for investigating the effect of adding drug X to usual care for patients being treated for Covid-19. [2]

(b)

(i) What does the assumption of effect homogeneity mean in the present context?

(ii) Discuss the plausibility of this assumption given the information about the design of the studies included in the meta-analysis.

(iii) The Mantel-Haenszel test statistic for effect homogeneity is equal to 2.39. With explanation, calculate the p-value testing the null hypothesis of effect homogeneity.

(iv) What do you conclude about the plausibility of the assumption in light of your calculated p-value? [12]

(c) Describe your conclusions about the effectiveness of adding drug X to usual care in increasing the chances of patients clinically improving, based on the meta-analysis results. [6]

 

医学统计代写
医学统计代写

 

 

 

更多代写:计算机美国夏季网课代修机构  托福代考  英国education教育学代写   美国心理学essay代写  美国艺术论文代写   论文润色翻译代写

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式