Documente Academic
Documente Profesional
Documente Cultură
MODULE 1
Department of Mining of Materials Engineering
McGill University
MODELS
2
What is a mathematical model?
You are familiar with models since you have used many of them!
= 2
150 1 2 8
= 9,4 1015
3 832 2 = 1
3
1 1 1
= +
= 2
+
=
3
Examples of mathematical models
From your basic science classes, you may be familiar with this
expression:
4
Examples of mathematical models
Or perhaps this one:
The ideal gas law is the equation of state of a hypothetical ideal gas. It is a
good approximation to the behavior of gases under certain conditions (e.g.,
low pressure and high temperature).
5
Examples of mathematical models
What about this?
=-
Source:
http://en.wikipedia.org/wiki/Diffusion#me
diaviewer/File:Blausen_0315_Diffusion.png
Fick's first law relates the diffusive mass flux (mass flow per time per area
of transference) under the assumption of steady state.
6
Regarding mineral processing
From your course Introduction to Mineral Processing, you may be familiar
with:
1 1
=
80 80
7
Regarding mineral processing
And also with:
8
What is a mathematical model?
9
Types of models
Some common classifications divide the models as follows:
10
Deterministic vs. stochastic
Deterministic models do not have components that are inherently
uncertain, i.e., no parameters are characterized by probability
distributions or distribution models (unlike stochastic or probabilistic).
Every time you run a deterministic model with the same initial
conditions you will get the same results.
For stochastic models, every time you run the model, you may obtain
slightly different results, even if you use the same initial conditions.
11
Static vs. dynamic
Static models are in steady state do not change with the time. The
dynamic models are used to explain the behavior of a system/process
as a function of time.
=- = 2
12
Mechanistic vs. statistical
Statistical or empirical models are usually regression based. They
provide a quantitative summary of the observed relationships among a
set of measured variables.
13
Can you classify these models?
Gilliland equations used to estimate stages in a distillation column as a
function of minimum reflux
14
A model should be
Accurate
Flexible
Simple
15
Modeling process
Formulation
Real world data Model
(observation)
This
Analysis resembles the
Test scientific
method!
Interpretation
Prediction of Mathematical
explanation result
(Dobson, 2003)
16
Scientific method
1. Make general observations of a phenomena
2. Formulate a hypothesis
You find models that represent parts of your system. Then you can put
together these submodels to represent the whole system of interest.
You find a general model which includes the system of interest. Then,
you should simplify or make approximations to the general model.
18
In this course, we will review models that you may be familiar with and
translated to apply to real systems!
19
A REVIEW OF
STATISTICS
20
Mean and variance
A statistical parameter is a number obtained from a statistical
distribution.
21
Other statistical parameters
In general, statistical parameters can be classified as follows:
Position
e.g. Mean, mode (refers to the list of numbers that occur most
frequently), median ('middle value' in the data set is an even number of
the mean of the two middle value if it is a pair).
Dispersion
e.g. Standard deviation, relative standard deviation
Shape
e.g. Asymmetry factor
22
Histogram
A graph that shows the distribution of discrete variables. It gives an idea of
the central location, dispersion and shape of a data set.
Name Height
Sven Andrighetto 59
Michael Bournival 511 Height of the Montreal
David Desarnais 57 Canadiens hockey players
Lars Eller 62
Alex Galchentun 61
Brebdan Gallagher 59 12
Manny Malhotra 62
Max Pacioretty 62
10
Pierre-Alexandre Parenteau 60
Tomas Plekanec 511
Brandon Prust 60 8
Occurence, units
Jiri Sekac 62
Eric Tangradi 64 6
Dale Weise 62
Bryan Allen 65 4
Nathan Beaulieu 62
Alexei Emelin 62
2
Tom Gilbert 62
Sergei Gonchar 62
Andrei Markov 60 0
65-66 67-68 69-70 71-72 73-74 75-76 77-78 79-80
P.K. Subban 60
Mike Weaver 510 Height, inches
Carey Price 63
Dustin Tokarski 511
Source: http://canadiens.nhl.com/club/roster.htm
23
Distribution frequency diagrams
For continuous variables (e.g., time, temperature, etc), we can
construct distribution frequency diagrams.
An RTD (residence
distribution time) curve
for a reasonably well-
mixed reactor
http://en.wikipedia.org/wiki/Residen
ce_time_distribution
24
Types of distribution
Some of the most common distributions are:
Pareto Gamma
Bimodal Source: Source:
http://en.wikipedia.org/wiki/P http://en.wikipedia.org/wiki/G
areto_distribution amma_distribution
25
Normal distribution
Characteristics:
26
Why is it useful?
27
Statistical parameters from a sample
Sometimes, it is difficult (if not impossible) to get statistical parameters
of a complete population.
28
Example
Population:
Weight of centres for the Canadiens hockey team
Source: http://canadiens.nhl.com/club/roster.htm
29
Sample of two
If we take a random sample of two centres, we have 25 possible samples of
two:
i Sample element
1 2
1 176 176
2 176 198
3 176 198
4 176 207
5 176 209
6 198 176
7 198 198
8 198 198
9
19
198
198
207
209
The probability
11 198 176 (frequency) of each
12 198 198
13 198 198 sample being
14 198 207
15 198 209 chosen () is 1/25.
16 207 176
17 207 198
18 207 198
19 207 207
20 207 209
21 209 176
22 209 198
23 209 198
24 209 207
25 209 209
30
Sample of two
The mean of the the two samples
i Sample element Mean Variance Variance Variance
1 2 (known (unknown (unknown
) M-1) M-2)
1 176 176 176.0 466.56 0 0
2 176 198 187.0 233.36 121 242
3 176 198 187.0 233.36 121 242
4 176 207 191.5 277.46 240.25 480.5
5
6
176
198
209
176
192.5
187.0
298.26
233.36
The expected value
272.25
121
544.5
242
7
8
198
198
198
198
198.0
198.0
0.16
0.16
of the team is the
0
0
0
0
9
19
198
198
207
209
202.5
203.5
44.26
65.06
population mean, .
20.25
30.25
40.5
60.5
11
12
198
198
176
198
187.0
198.0
233.36
0.16
In general, a sample
121
0
242
0
13
14
198
198
198
207
198.0
202.5
0.16
44.26
mean is an unbiased
0
20.25
0
40.5
15
16
198
207
209
176
203.5
191.5
65.06
277.46
estimate of the
30.25
240.25
60.5
480.5
17 207 198 202.5 44.26 population mean.
20.25 40.5
18 207 198 202.5 44.26 20.25 40.5
19 207 207 207.0 88.36 0 0
20 207 209 208.0 109.16 1 2
21 209 176 192.5 298.26 272.25 544.5
22 209 198 203.5 65.06 30.25 60.5
23 209 198 203.5 65.06 30.25 60.5
24 209 207 208.0 109.16 1 2
25 209 209 209.0 129.96 0 0
Mean --- --- 197.6 137.04 68.52 137.04
31
Calculate the number of possible samples
Being
In which(inn this expression)
is population n: population
size and size;
i is the sample i: sample size.
size
32
Value of the variance of the sample means
= i 2
=1
Where i is the frequency (probability).
In our example:
1 2
4 2
= 176 197.6 + 187 197.6 2 + 191 197.6 2
25 25 25
2 4 4
+ 192.5 197.6 2 + 198 197.6 2 + 202.5 197.6 2
25 25 25
4 1 2
+ 203.5 197.6 2 + 207 197.6 2 + 208 197.6 2
25 25 25
1 1
+ 209 197.6 2 = 68.52 = 137.04
25 2
33
Value of the variance of the sample means
The value of
Generalizing, thethe variance
value of themean
of the variance mean is calculated
is calculated as follows
as follows:
2
=
Thus, the standard deviation of the sampling distribution of the means
is:
2
= = =
34
Variance and standard deviation of a sample
Unbiased population
Unkown estimation ofmean:
variance s2 s2 :
2
=1 2
=1
2 = or 2 =
1
35
Going back to the example
Weight of centres for the Canadiens hockey team
i Sample element Mean Variance Variance Variance
1 2 (known (unknown (unknown
) M-1) M-2)
1 176 176 176.0 466.56 0 0
2 176 198 187.0 233.36 121 242
3 176 198 187.0 233.36 121 242
4 176 207 191.5 277.46 240.25 480.5
5 176 209 192.5 298.26 272.25 544.5
6 198 176 187.0 233.36 121 242
7 198 198 198.0 0.16 0 0
8 198 198 198.0 0.16 0 0
9 198 207 202.5 44.26 20.25 40.5
19 198 209 203.5 65.06 30.25 60.5
11 198 176 187.0 233.36 121 242
12 198 198 198.0 0.16 0 0
13 198 198 198.0 0.16 0 0
14 198 207 202.5 44.26 20.25 40.5
15 198 209 203.5 65.06 30.25 60.5
16 207 176 191.5 277.46 240.25 480.5
17 207 198 202.5 44.26 20.25 40.5
18 207 198 202.5 44.26 20.25 40.5
19 207 207 207.0 88.36 0 0
20 207 209 208.0 109.16 1 2
21 209 176 192.5 298.26 272.25 544.5
22 209 198 203.5 65.06 30.25 60.5
23 209 198 203.5 65.06 30.25 60.5
24 209 207 208.0 109.16 1 2
25 209 209 209.0 129.96 0 0
Mean --- --- 197.6 137.04 68.52 137.04
36
Original distribution and distribution of
sample means
0.45
0.4
0.35
0.3
Original
Frequency
0.25 distribution
0.2 Not a normal
0.15
distribution!
0.1
0.05
0
176 198 207 209
Weight, lb
0.18
0.16
0.14
Distribution of 0.12
Frequency
0.1
204.7
176.0
183.3
186.3
187.0
190.7
193.7
194.3
196.7
197.3
198.0
201.0
201.7
204.0
205.3
207.0
207.7
208.3
209.0
Mean 0.09
0.08
0.07
0.06
Frequency
0.05
Distribution of sample 0.04
0.03
means (sample size = 4)
0.02
Even closer! 0.01
0
Mean
38
Now we know!
As n we will approach to a
normal distribution of sample
means
39
Central limit theorem
The previous findings are consequences of the central limit theorem, which can be
summarized as follows:
1. The mean of the distribution of all sample means is the population mean.
40
What is the muddiest
point in this lecture?
41