% T7C1) Skewed distributions often seen in the measurement of reaction times.
% Take a look at the distribution of response times (in ms) of this subject:
% [rt_VP5.mat] (Note: if you take a histogram with many classes, see
% Find out more!) Why is this not normal?

load('rt_VP5.mat');
hist(rt_VP5,50)

text(1300,96,'Question T7C1', 'fontsize',17, 'color', 'r');
text(1300,80,{'This is not a normal distribution because :';'1 -The bars on the right side of the distribution taper'; 
                                                         '   differently than the bars on the left side.';
                                                        '2 -The distribution is unbalanced,lopsided'}, 'fontsize',14);
  
text(1300,60,'Question T7C2', 'fontsize',17, 'color', 'r');
mean_value = mean(rt_VP5);
text(1300,50,['The mean Value is mean = ',num2str(mean_value)], 'fontsize',14, 'color', 'b');

median_value = median(rt_VP5);
text(1300,40,['The median Value is median = ',num2str(median_value)], 'fontsize',14, 'color', 'b');