A working R Script.
Data:
A working R Script.
Login to postitcloud R script
Login:
https://posit.cloud/content/yours?sort=name_asc
Student number 12 Experiment 1. Data
sex treatment reaction_time_msmale control 181
male control 195
male control 196.3
male control 178.6
male control 191
male control 171.9
male control 169.9
male control 189.4
male control 188.9
male control 171.8
male control 137.8
male control 182.2
male control 155.3
male control 193.2
male control 176.7
male control 171
male control 184.5
male control 160.5
male control 189.8
male control 140.6
male drug 119.5
male drug 146
male drug 145.3
male drug 167.8
male drug 148.9
male drug 123
male drug 132.7
male drug 129
male drug 147.1
male drug 160.3
male drug 147.1
male drug 144.3
male drug 188
male drug 159.9
male drug 130
male drug 160.1
male drug 155.3
male drug 110
male drug 120.8
male drug 145
female control 204.2
female control 147
female control 161.6
female control 170.4
female control 199.2
female control 207.2
female control 175.7
female control 174.5
female control 145.9
female control 201.1
female control 207.7
female control 178.1
female control 176.2
female control 198.4
female control 183.5
female control 168.6
female control 214.4
female control 202.6
female control 192.6
female control 197
female drug 160.4
female drug 67.6
female drug 147.5
female drug 105.4
female drug 89.9
female drug 85
female drug 141.3
female drug 129.4
female drug 136.3
female drug 134.3
female drug 81.1
female drug 100.3
female drug 94.2
female drug 154.4
female drug 108.3
female drug 65.9
female drug 65.3
female drug 88.1
female drug 125.1
female drug 140.8
Student number 16 Experiment 2.
decrease no_change increasecontrol 46 264 28
drug 19 6 75
Coursework: reporting results
OBJECTIVES
In this exercise, you will gain experience of analysing data, reporting your results, and designing a new experiment to test a further hypothesis. You will be given individual data from a (fictional) experiment looking at reaction times in people treated with a new drug, Gibbernium.
Note that we have simulated data for each individual student, so the results for each student will differ. There are two data files per student. First, you need to check in Table 1 (at the end of this document) to see which number youve been allocated, which will tell you which text files contain your data. As an example, if youve been allocated number 22 youll need Student number 22 Experiment 1.txt and Student number 22 Experiment 2.txt. If you use the wrong data your results will be wrong and this will be reflected in your final mark. Once youve worked out which files you need you can download the relevant data files from the folder on QMplus (Student Data for Coursework). All of your analysis should be based on these two files ONLY.
Your task is to decide on appropriate analyses for the data, carry out those analyses and write an abstract and a results section that conform to the following guidelines. Finally, you need to design and describe a research programme to investigate a further research question in the plan for future work section (see below).
WRITE-UP
Your write-up will consist of an abstract, a results section, a plan for future work section, and your R script. The write-up should cover both experiments (see below) as a single paper. There is an overall suggested length of 1000 words for the report as a whole, with 10% tolerance for the upper limit. i.e. if your report is >1100 words long, then you will lose 5% of your grade. There is no lower length criterion, and no hard limits for individual sections, although we do provide some guidelines for each section. However, you still need to complete all of the work described, and it is likely that very short reports will not do this, and so will not receive very high grades.
INCLUDEPICTURE "/Users/noramohammed/Library/Group Containers/UBF8T346G9.ms/WebArchiveCopyPasteTempFiles/com.microsoft.Word/page1image1752702336" * MERGEFORMATINET
Figure legends, table legends and the bibliography are not included in any of these word counts.
Abstract
This should follow the guidelines below:
The abstract should begin with a paragraph of no more than 200 words, aimed at a general reader. This paragraph starts with a 2-3 sentence basic introduction to the field; followed by a one-sentence statement of the main conclusions starting Here we show or equivalent phrase; and finally, 2-3 sentences putting the main findings into general context so it is clear how the results described in the paper have moved the field forwards. You do not need to summarise any part of the plan for future work in the abstract.
Results
The results section should follow the same format as any published paper. You need to describe your results and report your analyses in the correct manner. You are allowed no more than 250 words of text, plus two figures and one table. Figures and tables should have appropriate legends (rather than titles), which should be concise but informative. Note that figures and tables should NOT repeat the same information.
Plan for future work
This section should outline a research programme to address the question given below. You are allowed no more than 550 words. Your answer should be written in paragraphs and can include diagrams if needed. There is no need to cover the contents of the plan for future work in your abstract.
R script
You must include the R script used to import and analyse your results, and plot any figures. This should be in a form that runs correctly when we try it; it should NOT include output from R. Please provide the script as a .R document. Your script needs to be well annotated - we will be assessing you on this.
PLEASE NOTE THAT PLAGIARISM OF R SCRIPTS WILL BE TREATED EXTREMELY SERIOUSLY.
THE (FICTIONAL) EXPERIMENT
You do NOT have to produce a Methods section; however, the following information will be necessary for you to decide on appropriate analyses.
BACKGROUND
You are testing the effect of a new drug, Gibbernium, which has been designed to accelerate an individuals physiological and cognitive processes, such that although the individual perceives no change in themselves, the external world appears to be moving more slowly.
Experiment 1
In the first experiment, in a double-blinded, randomised trial, you have measured the reaction times of a group of 40 national-level athletes who have been given Gibbernium, plus a control group of equal size. Each group consists of 20 males and 20 females. You wish to test whether Gibbernium affects reaction times (recorded in ms).
Experiment 2
Several concerns have been raised about the development of Gibbernium. Critics have pointed out that, as well as its potential military applications, it could provide athletes for example, sprinters, boxers, footballers with an unfair advantage. Additionally, there is a suggestion that Gibbernium may cause adverse side effects, including elevated blood pressure. Consequently, you have carried out a second experiment, in which a group of 100 individuals have had their blood pressure measured before and after treatment with Gibbernium, and the number showing statistically significant increases or decreases in blood pressure (or no change) recorded; the same is done for a larger control group which has the same age and gender profile as the treatment group. You wish to test whether blood pressure is affected by Gibbernium.
Plan for future work
In the longer-term, there are concerns that, because it speeds up cognitive processes, and potentially increases blood pressure, Gibbernium is likely to reduce life expectancy of those taking it. Design a research programme to investigate whether this is the case, and to quantify any reduction in life expectancy. Feel free to consider use of lab-based animal model systems, human clinical trials, or long-term human demographic data. Describe your sampling and/or experimental design, including specification of sample sizes, and give details of what statistical test or tests you would use to analyse the resulting data. Make clear which are your predictor variables and your response variables. You should also show how you will eliminate confounding variables. Note that we are not expecting you to actually conduct any further statistical tests to address this question, since you will not have any data.