Professional Documents
Culture Documents
ENG-PST Lecture2
ENG-PST Lecture2
ENG-PST
2
1- Simple random sampling
imply = ima etmek
• Simple random sampling implies that any certain
sample of a specified sample size has the same
chance of being chosen as any other sample of the
same size
3
1- Simple random sampling (cont.)
• biased sample =
yanlı örneklem,
yanlı örnek
• For example, a sample is to be chosen to answer certain
• inference = sonuç
questions regarding football team preferences in a certain çıkarmak
4
2- Stratified random sampling
• Stratified =
• The previous random sampling approach is not always the katmanlı,tabakalı
Safranbolu
Karabuk
Center
5
Example of data analysis
corrosion =
aşındırma ,
• The following example illustrates the analysis of ways that korozyon
Each value is an
average of two
experimental units
(specimens)
6
Cont. Corrosion results
• Note that an increase in humidity appears to make the corrosion worse. The
use of the chemical corrosion coating procedure appears to reduce corrosion.
7
1.3. Measures of Location:
The Sample Mean and
Median
8
Definition 1.1
9
Definition 1.2
• Tendency =
• One important measure is the sample median. The purpose meyletme, eğilim
of the sample median is to reflect the central tendency of
the sample in such a way that it is not influenced by extreme
values or outliers (i.e., smallest & largest values).
10
Example
Example
• Let say, the data set 𝐴 = 1.7 , 2.2 , 3.9 , 3.11 , 14.7 . The
sample mean and median are, respectively,
11
Cont.
Fulcrum =
• The median is the value separating the higher half from the dayanma
noktası
lower half of a data sample, a population, or a probability
distribution.
• Clearly there is a difference in concept between the mean and
median. It may be of interest to the engineer that the sample
mean is the centroid of the data in a sample.
• It is the point at which a fulcrum (centroid) can be placed to
balance a system of “weights” which are the locations of the
individual data. This figure shows the sample mean as a centroid of the with-
nitrogen sample.
12
MATLAB
13
Definition 1.3
• A trimmed mean is another method to quantify the
center of data in a given sample.
15
Exercises
1- The following measurements were recorded for the drying
time, in hours, of a certain brand of latex paint.
(a) Calculate the sample mean and median for the above
sample values.
(b) Compute the 10% trimmed mean.
(c) Do a dot plot of the absorbency data.
(d) Using only the values of the mean, median, and trimmed
mean, do you have evidence of outliers in the data? 17
Samples’ Variability Measures
18
Cont.
• As another example, contrast the two data sets below. Each
contains two samples and the difference in the means is
roughly the same for the two samples, but data set B seems
to provide a much sharper contrast between the two
populations from which the samples were taken..
19
Sample Range & Sample Standard Deviation
Variance
Variability
Standard deviation
• Use the functions var & std to calculate the vector’s values
23
MATLAB
24
Thank you
25 25