




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Statistics for Computer Scientists
This material is provided for the educational use ofstudents in CSE2400 at FIT.
No further use or
reproduction is permitted.
Dr. G. Marin
For example, given a random sample of size 10 what can we determineabout the probability distribution of the random variable thatgenerated the random sample?
The sample space (or random variable) from which the sample isgenerated is referred to as the “population.”
6-1 Numerical Summaries
Example 6-
6-1 Numerical Summaries
Figure 6-
The sample mean as a balance point for a
system of weights.
6-1 Numerical Summaries Definition: Sample Variance
6-1 Numerical Summaries How Does the Sample Variance Measure Variability? Figure 6-
How the sample variance measures variability
through the deviations
.
x
x
i
−
6-1 Numerical Summaries
6-1 Numerical Summaries
Computation of s
2
(
)
(
)
Recall the working formula
. It would seem natural to
approximate
using
. The definition of
gives us
a slightly larger estimate, namely,
1
E
X
E
X
x
x
s
s
n
n
x
n
s
n
σ
σ
=
−
⎛
⎞
⎜
⎟
⎜
⎟
=
−
⎜
⎟
⎜
⎟
⎝
⎠
=
−
∑
∑
.
x
n
n
⎛
⎞
⎛
⎞
⎜
⎟
⎜
⎟
⎜
⎟
⎜
⎟
−
⎜
⎟
⎜
⎟
⎜
⎟
⎜
⎟
⎜
⎟
⎝
⎠
⎝
⎠
∑
∑
error
6-2 Stem-and-Leaf Diagrams
OMIT this section.
Steps for Constructing a Stem-and-Leaf Diagram
6-3 Frequency Distributions and Histograms
frequency distribution
is a more compact
summary of data than a stem-and-leaf diagram. • To construct a frequency distribution, we must dividethe range of the data into intervals, which are usuallycalled
class intervals, cells,
or
bins.
Constructing a Histogram (Equal Bin Widths):
6-3 Frequency Distributions and Histograms
Figure 6-
A histogram of the compressive strength data
from Minitab with 17 bins.
6-3 Frequency Distributions and Histograms
Figure 6-
A histogram of the compressive strength data
from Minitab with nine bins.
Histogram 8 Intervals
Histogram 8Intervals
Histogram 10 Intervals
Histogram 10Intervals
Histogram 15 Intervals
Histogram 15 Intervals
Based on a sample of size100 from a chi-squaredistribution with 12 dof.
Max=26.8 Min=4.1 Mean=11.7 Variance=21.6 Median=11.
Outliers?
Descriptive Statistics
Poisson Example - Bar Plot & Scatter Plot
Using MathCad
Random Poisson Values (Mean 2)
RnPois
i
i
Random Poisson Values (Mean 2)
RnPois
i
i
Generate 50 random values from a Poisson distribution using the functionrpois(50,2) and store them in the vector RnPois (ORIGIN=1).
Bar Plot
Scatter Plot
mean RnPois
(
)
=
Var RnPois
(
)
=
Sample mean and sample variance