CE93Engineering Data Analysis
Prof. Joan Walker, Spring 2011
Lab 10
–
Distribution of Sampling Statistics
Part 1
In the first part of this lab, we will be looking at a dataset consisting of 3000 observations of
flight time. We will consider this to be our complete population
1.
Go to bSpace: Resources > Labs >Lab10 and download data file
‘flight_time.csv’
to your
current directory.
2.
Import the data file and set the second column of the data as a vector called ‘flt_time’.
3.
Find the mean and variance of flt_time.
4.
Suppose you draw a sample of size n=5 from this population, based on your knowledge of
sampling statistics, determine
a.
The expected value of the sample mean.
b.
The variance of the sample mean.
c.
The expected value of the sample variance.
5.
Randomly draw 100 samples, each with sample size n = 5, from the population. You may
refer to code below:
%%%%%%
n=5
B=[];
for i=1:100
B(i,:)=flt_time(ceil(rand(1,n)*length(Flight_time)));
end
%%%%%%
6.
Compute the sample mean and sample variance of each sample. Find the mean and
variance of the 100 sample means and the average of the 100 sample variances. Compare
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '08
 Staff
 Variance, Probability theory, 10%, Prof. Joan Walker

Click to edit the document details