(g) Compute the average reaction time of each participant in the Night-time tests (that is, the average of the responses in Tests 3 and 4). Send the output to the command window: Average RT (ms) of participants in the Night-time tests: 9001 806.5 9002 860 9003 840.5 9004 718.5 9005 701 9006 749 9007 782 9008 774 9009 715.5 9010 484.5 9011 748 9012 869 (h) Compute Pearson's correlation coefficient between the average reaction times of participants for the Day-time tests and the average reaction times of participants in the Night-time tests. Send output to the command window: Correlation coefficient between Day-time average and Night-time average: XXXX
(g) Compute the average reaction time of each participant in the Night-time tests (that is, the average of the responses in Tests 3 and 4). Send the output to the command window: Average RT (ms) of participants in the Night-time tests: 9001 806.5 9002 860 9003 840.5 9004 718.5 9005 701 9006 749 9007 782 9008 774 9009 715.5 9010 484.5 9011 748 9012 869 (h) Compute Pearson's correlation coefficient between the average reaction times of participants for the Day-time tests and the average reaction times of participants in the Night-time tests. Send output to the command window: Correlation coefficient between Day-time average and Night-time average: XXXX
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:(g) Compute the average reaction time of each participant in the Night-time tests (that is, the average
of the responses in Tests 3 and 4). Send the output to the command window:
Average RT (ms) of participants in the Night-time tests:
9001
806.5
9002
860
9003
840.5
9004
718.5
9005
701
9006
749
9007
782
9008
774
9009
715.5
9010
484.5
9011
748
9012
869
(h) Compute Pearson's correlation coefficient between the average reaction times of participants for
the Day-time tests and the average reaction times of participants in the Night-time tests. Send
output to the command window:
Correlation coefficient between Day-time average and Night-time average:
XXXX

Transcribed Image Text:Consider the following table that contains the IDs of 12 participants and their crash-
avoidance reaction times (in milliseconds) on four tests. Two tests were done during the day in
daylight and two tests were done at night with reduced lighting.
Crash-avoidance Reaction Time (ms)
Participant
Day
Night
ID
Test 1
Test 2
Test 3
Test 4
9001
887
838
765
648
9002
680
491
953
767
9003
662
553
985
696
9004
789
526
581
770
9005
508
451
688
714
9006
566
633
856
642
9007
656
747
846
718
9008
776
491
944
604
9009
770
672
814
617
9010
333
432
591
602
9011
730
593
796
700
9012
496
404
846
892
rt.xisx in the
This question has multiple parts. Create output to MATLAB's command window exactly as shown,
except replacing xxxx with actual values, as instructed. You may use the disp command, but not the
fprintf command
If you have difficulty with the alignment or formatting of numeric output, add the command format
shortg near the top of your solution.
In your solution, put the following MATLAB statements at the beginning of each part:
% Question 5<x> solution
disp('----- q5<x> solution -----');
Instead of "<x>", substitute the question part ("a" for part a, "b" for part b, and so on).
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 4 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY