0% found this document useful (0 votes)
109 views2 pages

Assignment 2 Question

The document provides instructions for an assignment analyzing a dataset of 100 people's reaction times and related variables. It asks the student to: 1) Calculate a 95% confidence interval for the average reaction time and determine if it agrees with the researcher's belief. Also calculate the necessary sample size to estimate the population mean within 0.05 seconds at 90% confidence. 2) Explore whether left and right-handed citizens differ in reaction time using plots, a 97% confidence interval, and a hypothesis test at a 3% significance level. 3) Construct a linear regression model predicting reaction time from age, gender, handedness and physical activity. Calculate the change in reaction time for an additional 10 years of age and test

Uploaded by

Nur Ain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views2 pages

Assignment 2 Question

The document provides instructions for an assignment analyzing a dataset of 100 people's reaction times and related variables. It asks the student to: 1) Calculate a 95% confidence interval for the average reaction time and determine if it agrees with the researcher's belief. Also calculate the necessary sample size to estimate the population mean within 0.05 seconds at 90% confidence. 2) Explore whether left and right-handed citizens differ in reaction time using plots, a 97% confidence interval, and a hypothesis test at a 3% significance level. 3) Construct a linear regression model predicting reaction time from age, gender, handedness and physical activity. Calculate the change in reaction time for an additional 10 years of age and test

Uploaded by

Nur Ain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

TDS2201

Assignment 2  

Background  
A  research  team  has  conducted  a  study  to  investigate  the  influence  of  different  variables  on 
reaction  times,  i.e.  a  person’s  age  and  gender,  which  hand  they  usually  use  to  perform a task, 
and  how  frequent  a  person  carried  out  physical  activities.  Data  were  collected  from  a  town 
containing about 18000 people aged 6 years to 80 years.   

In  this  assignment,  you  will  be  given  a  set  of  sample  data in an Excel file. This file contains a 
sample  of  100  people  chosen  from  the  town.  The  information  includes  each person’s reaction 
time  of  a  test  conducted  in  a  lab  by  the  research  team  and  another  four  variables  that  the 
researcher  team  think  will  affect  the  reaction  time  (age,  gender,  handedness  and  number  of 
hours they perform physical activities per week).  

Answer  all  questions  by  referring  to your assigned sample data. You must use R to answer the 


question whenever appropriate. You may need to convert the “.xlsx” to “.csv” for this purpose. 
Ensure  full  label  for  all  plots  that  you  have  included  in  your  answer.  You  must  submit  your 
answer and R code as instructed in “Assignment 2 instruction.pdf”.  

1) The researcher believes that the average reaction time of all citizen in this town is 0.3 
seconds. a) Calculate a 95% confidence interval for the average reaction time.  
b) Do you agree with the researcher? Justify your answer based on your confidence interval 
in part (a).  
c) Calculate the sample size if we want to be 90% confident that the estimate of population 
mean is off by at most 0.05. [5 marks]  

2) Is there a different in the reaction time for left-handed and right-handed citizen on average? 
You should   
a) Explore the data with appropriate plot. Comment on your plot and answer the question. 
b) Calculate an appropriate confidence interval to determine if left-handed and right-handed 
citizen have different variability in their reaction time. Use a 97% confidence level. You 
must write all the steps clearly.  
c)  Construct  an  appropriate  hypothesis  test  to  determine  if  there  a  different  in  the  reaction 
time  for  left-handed  and  right-handed  citizen  on  average.  Use  a  3%  level  of 
significance. You must write all the steps clearly. [15 marks]  

3) The researcher wants to build a regression model for respond time, with the age, gender, 
handedness and physical activities as explanatory variables.   
a) Construct a linear regression model for respond time on the 4 variables and write your 
model.  
b) How is the reaction time change for an additional of 10 years in age? Show all the steps 
of your calculation.  
c) Test the significance of your model with the ANOVA approach. You must write all the 
steps clearly.  
d) Verify if the linear regression model is appropriate for your dataset. You must justify 
your answer based on appropriate plot. [10 marks] 

You might also like