Mark Hansen, Fall 2009
CE93 Homework 2 – Solution
1. Sample median and mean values.
> median(x), mean(x), median(y), mean(y)
These measures fall in the central regions of the corresponding normalized frequency diagrams
as shown in the following figures.
2. Range, IQR, Mean absolute deviations,
, the sample (unbiased) variance,
2 , the sample
(unbiased) standard deviations,
and the sample c.o.v.’s
>> range(x), IQR(x), mad(x), var(x), std(x), std(x)/mean(x), std(x,1)
>> range(y), IQR(y), mad(y), var(y), std(y), std(y)/mean(y), std(y,1)
s normalized by N
The estimate of the standard deviation when normalized by
is slightly smaller than the
The strength data has higher dispersion since it has a larger sample c.o.v.