Reaction Time Analysis Using R
A) Open the following pages:
1) Reaction Time Webpage
2) Rweb
B) Using the reaction time webpage:
Collect 25 observations of reaction time per team member. Order them from 1 through 25 keeping order of sequence. Note, if there are more than 2 team members - collect only 15 per team member.
C) Enter the data into R, assign data from each individual to a different variable name.
D) Find the mean, median, standard deviation, min, and max for each team member. What was the fastest time? What was the shortest?
E) Construct a histogram for each team member. Important - LABEL the x-axis, y-axis, and main titles. Add color too.
F) If there is only 1 team member, construct a boxplot. If there is a team, construct a side-by-side boxplot comparing the reaction time of different team members.
G) Pick 1 team members data, then find the difference in times using the "diff" function. Then plot this data. Does it appear as though the student reacted faster as time when on? Are there any obvious trends?
H) Split the data of 1 team member into two separate data sets. Put observations 1-5 (the first 5 observations) into 1 data set, then put the observations of 20-25 in another data set. Then construct a side by side boxplot of these two. Does it appear as though one is faster at the end, the beginning, or they are about the same?
I) Using Rweb, graph y=x^2+4. Use this page for help.
J) Create a 1000 Normal random variables with a mean of 85 and a standard deviation of 5. Plot a histogram of this data.
K) Assume X~N(90,2). By hand, calculate P(X<91).
K) Create 10,000 Normal random variables with a mean of 90 and a standard deviation of 2. Plot a histogram of this data. Using Rweb, write a simple program to determine the percentage of observations below 91. How does this compare with your answer from K?
1) Reaction Time Webpage
2) Rweb
B) Using the reaction time webpage:
Collect 25 observations of reaction time per team member. Order them from 1 through 25 keeping order of sequence. Note, if there are more than 2 team members - collect only 15 per team member.
C) Enter the data into R, assign data from each individual to a different variable name.
D) Find the mean, median, standard deviation, min, and max for each team member. What was the fastest time? What was the shortest?
E) Construct a histogram for each team member. Important - LABEL the x-axis, y-axis, and main titles. Add color too.
F) If there is only 1 team member, construct a boxplot. If there is a team, construct a side-by-side boxplot comparing the reaction time of different team members.
G) Pick 1 team members data, then find the difference in times using the "diff" function. Then plot this data. Does it appear as though the student reacted faster as time when on? Are there any obvious trends?
H) Split the data of 1 team member into two separate data sets. Put observations 1-5 (the first 5 observations) into 1 data set, then put the observations of 20-25 in another data set. Then construct a side by side boxplot of these two. Does it appear as though one is faster at the end, the beginning, or they are about the same?
I) Using Rweb, graph y=x^2+4. Use this page for help.
J) Create a 1000 Normal random variables with a mean of 85 and a standard deviation of 5. Plot a histogram of this data.
K) Assume X~N(90,2). By hand, calculate P(X<91).
K) Create 10,000 Normal random variables with a mean of 90 and a standard deviation of 2. Plot a histogram of this data. Using Rweb, write a simple program to determine the percentage of observations below 91. How does this compare with your answer from K?