This website is preserved for historical and scholarly reference and is no longer actively maintained.
Probability and Stats Page
The following page holds all material I have used in the past
related to probability and statistics.
This page is meant to identify the subset of this very large topic
that you should review from prior courses.
The following are links to books that are freely available on the
Internet;
- Introduction
to Probability by Grinstead and Snell.
- Probability
and Random Processes Using Matlab
- Introduction to
Probability, Statistics and Random Processes (online text)
- Intro
to probability and stats-web page
- Introduction to
Randomness and Random Numbers-web page
Step 1: Review basic probability and statistics (Most
of this material should be review)
- basic probability - probability
review lecture
- Additional handwritten notes
- Terms: Experiments, Sample Space, outcomes,
events, Axioms of probability
- Defining probabilities for events
- Random Variables -
- Complex problems likely to involve many RVs- they
might be independent or they might be correlated
- Probability distributions
- discrete PDFs - ping RTT samples
- continuous PDFs
- Well known random variables
- Continuous
- uniform
- exponential
- Gaussian (normal)
- Discrete
- Binomial RV (sample space is 1 or 0, T
or F, ...) -
- Geometric
- Random process : Given a RV RTT
- the RTT process is RTT(t,i) : Each
sample at a given time t (RTT(t)) is a RV. If we
could hold time at t1, we would obtain a time series of RTT
samples : RTT(t1,1), RTT(t2,2),
....
- But if we assume the process is stationary (the stochastic
nature does not change over time) we can simplify and remove
the time from RTT(t,i)
- Well known random processes
- Bernoulli Process: We will use this when we want to model an
'ideal' loss process where each loss event is
independent of what has happened in the past.
- Poisson Process (to model a traffic arrival
process, or more generally, any system involving an
arrival 'request' process and a departure process representing
the time taken by 'workers' to process each request (and
the subsequent queue that is necessary to hold requests when
the rate of arrivals exceeds the rate of processing requests.
- Critical properties of a Random Process:
- Stationary versus non-stationary
- A property of a stationary process: the true mean of
a RV exists and never changes
- Non-stationary - the stochastic nature of the system
under study can change over time
- Correlated randomness or randomness that is
Independent and identically distributed (IID)
- Statistical analysis: Written
Notes
- Finding the sample mean and variance - as the number
of samples, N, goes to infinity, the sample mean converges to
the true mean.
- Strong Law of Large Numbers
- Central limit theorem (CLT) : 'batch means
test' - for N samples,
break the data set into j sections (each with N/j samples).
- Find the mean of each section.
- Under many conditions the set of sample means forms a
dataset that magically follows a Normal distribution
- This leads to a straight forward method for determining
the confidence interval associated with a
statistic (or, tells us the value of N required to
achieve, for example, a 99% level of confidence).
- Time series analysis
- Forecasting
- Assess the level of correlation (auto-correlation)
- Visualization tools (Matlab) -
autocorrelation, scatter diagrams
Step 2: Going beyond the basics and applying to
networking (some of you might have seen some of this in other grad
classes)
- Applying confidence intervals to simulation and measurement
results
- Analyzing time series data to assess the level of
autocorrelation - apply to RTT's or One-Way delays.
- Gather packet loss data sets
- Assess if the loss process is IID (i.e., Bernoulli loss
process) or correlated
- Based on empirical measurements, match a loss process
to a loss model
- Traffic models
- Traffic generators based on traffic models
- Heavy tailed distributions - autocorrelation,
long range dependent processes: pareto, Zipf
- Paper : Where mathematics meets the Internet - Slides
from "Where Mathematics meets the Internet"
- Generating Random Numbers
For the 'game players':
- Apply
probability to win at blackjack
- This site also has a blackjack simulator - you could
write your own blackjack simulator easily in a day.
- The game of blackjack favors the "house" - to increase your
chances you can
count cards. Disclaimer:
I am not telling you how to do this so you can go to Vegas and
win....I am telling you this to help develop your understanding
of probability using an interesting application.
- Developing a blackjack game (I have not found a decent
networked implementation- if you find one let me know)
last update: 11/2/2020