STAT XXXXXXXXXXHW#3 Due Date:2/4/2020 (Thursday) · Homework must be submitted to Assignment #3 on Blackboard · On the top right corner, write your name, date, and HW #. · All problem numbers refer to...

1 answer below »
use r code to complete statistic homework


STAT3119-10 HW#3 Due Date:2/4/2020 (Thursday) · Homework must be submitted to Assignment #3 on Blackboard · On the top right corner, write your name, date, and HW #. · All problem numbers refer to the problem from Dean, Voss, and Dragulijic (DVD) · Please summarize your results from statistical software such as R or SAS 1) (10 pts) (DVD #4.4) (L. Cai, T. Li, Nishant, and A. van der Kouwe, 1996) The experiment was run to compare the effects of auditory and visual cues on speed of response of a human subject. A personal computer was used to present a “stimulus” to a subject, and the reaction time required for the subject to press a key was monitored. The subject was warned that the stimulus was forthcoming by means of an auditory or a visual cue. The experimenters were interested in the effects on the subjects’ reaction time of the auditory and visual cues and also in different elapsed times between cue and stimulus. Thus, there were two different treatment factors: “cue stimulus” at two levels “auditory” or “visual,” and “elapsed time between cue and stimulus” at three levels “five,” “ten,” or “fifteen” seconds. This gave a total of six treatment combinations, which can be coded as: 1 = auditory, 5 sec 4 = visual, 5 sec 2 = auditory, 10 sec 5 = visual, 10 sec 3 = auditory, 15 sec 6 = visual, 15 sec The results of a pilot experiment, involving only one subject, are shown in Table 4.4. The reaction times were measured by the computer and are shown in seconds. The order of observation is shown in parentheses. (a) (2pts) Identify a set of contrasts that you would find particularly interesting in this experiment.(Hint: A comparison between the auditory treatments and the visual treatments might be of interest). These are your preplanned contrasts. (b) (2 pts) Plot the data. What does the plot suggest about the treatments? (c) (3 pts) Test the hypothesis that the treatments do not have different effects on the reaction time against the alternative hypothesis that they do have different effects. (d) (3 pts) Calculate a set of simultaneous 95% confidence intervals for your preplanned contrasts, using a method or methods of your choice. State your conclusions. Data is on the books website,
Answered Same DayJan 29, 2021

Answer To: STAT XXXXXXXXXXHW#3 Due Date:2/4/2020 (Thursday) · Homework must be submitted to Assignment #3 on...

Mohd answered on Jan 30 2021
130 Votes
Reaction_Time
Reaction_Time
_
1/30/2021
Importing the data
library(readxl)
react <- read_excel("react.xlsx")
#View(rea
ct)
first look of Data A comparison between the auditory treatments and visual treatment. We have also considered elapsed time between cue and stimulus with their respective treatments(either visual or auditory). 
summary(react)
## Treatments Reaction_time order_of_collection
## Min. :1.0 Min. :0.1670 Min. : 1.00
## 1st Qu.:2.0 1st Qu.:0.1898 1st Qu.: 5.25
## Median :3.5 Median :0.2355 Median : 9.50
## Mean :3.5 Mean :0.2281 Mean : 9.50
## 3rd Qu.:5.0 3rd Qu.:0.2595 3rd Qu.:13.75
## Max. :6.0 Max. :0.2830 Max. :18.00
treats<-as.factor(react$Treatments)
treats
## [1] 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6
## Levels: 1 2 3 4 5 6
tet<-factor(treats)
tet
## [1] 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6
## Levels: 1 2 3 4 5 6
Plot the data
#install.packages("ggplot2")
library(ggplot2)
ggplot(data=react,aes(Reaction_time,treats))+
geom_point()+
theme_classic()+
geom_text(aes(label=order_of_collection),hjust=0,vjust=0)
3.We have taken all group for hypothesis testing. There are six treatment combination.  Null...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here