SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Downloaden Sie, um offline zu lesen
Classical Inference
in Physics
Thiago Mosqueiro
Institute of Physics of S˜ao Carlos
University of S˜ao Paulo
July 31 2012
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 1 / 38
Equilibrium criticality – Ising model
• Model of ferromagnetism in statistical
mechanics
• Contact with thermal reservoir
• Lattice of N binary elements – spins
• Each site of this lattice: or
Energy of a configuragion S = (S1, S2, . . .),
E(S) = −J
p,j
SjSp
Probability of S = (S1, S2, . . .),
P(S) =
exp − J
kT
p,j
SjSp
∀S
exp − J
kT
p,j
SjSp Monte Carlo step: each time step means N itera-
tions of the algorithm.
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 2 / 38
The Market for Lemons: Quality Uncertainty and the Market Mechanism, G. Akerlof.
The quarterly journal of economics, 1970
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 3 / 38
Objectivies
• What’s the difference between Probability and Statistics?
• Inference
• Statistics – models, hypotehsis and estimation
• Main focus: Maximum likelyhood estimators
• Glimpse of hypothesis testing
“What! you have solved it already?”
“Well, that would be too much to say.
I have discovered a suggestive fact, that is all. It is, however, very suggestive.”
Sign of Four (II), Sir Arthur Conan Doyle
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 4 / 38
Summary
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 5 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 6 / 38
Random variable
• Let |ψ be the state of a particle
• Suppose we know for every n the solutions H |n = n |n
What is the probability the particle is in state |n ?
• It can happen that |ψ = |1 . . . or |ψ = |2 . . . or . . .
• In this sense, |ψ is a random variable
• Suppose you have n dice Side j of each die have probability pj
• The result of tossing the j-th die is Xj
What is the probability of Xj > x?
• Xj is another random variable
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 7 / 38
Random variables
• Events:
X = x, X ≤ x, X = x and Y < y
• Probability of an event:
P (X = x), P (X ≤ x), P (X = x, Y < y)
• Moments:
X :=
x
P(X = x)x, X2
:=
x
P(X = x)x2
, . . .
• Surprisal:
I (X = x) = − log [P (X = x)]
• Entropy:
I (X = x) = −
x
P (X = x) log [P (X = x)]
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 8 / 38
Example: gaussian distributed variable
X ∼ N(µ, σ)
P(x < X ≤ x + dx) = ρ(x)dx = A exp −
(x − µ)2
σ2
dx
- 3 - 2 - 1
φμ,σ2(
0.8
0.6
0.4
0.2
0.0
−5 −3 1 3 5
x
1.0
−1 0 2 4−2−4
x)
0,μ=
0,μ=
0,μ=
−2,μ=
2
0.2,σ =
2
1.0,σ =
2
5.0,σ =
2
0.5,σ =
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 9 / 38
Example: gaussian distributed variable
X ∼ N(µ, σ)
P(x < X ≤ x + dx) = ρ(x)dx = A exp −
(x − µ)2
σ2
dx
0
1
2
3
4
5
6
0 100 200 300 400 500 600 700
EventXj
Realization j
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 9 / 38
Now the big problem...
What if I don’t have a model...?
How can one obtain information from observations?
How can I know my model fits the reality?
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 10 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 11 / 38
Statistically infering...
• Statistics validates and fits Probabilistic models
• build a statistical model that should describe the process
• interpret the data as realizations of your model
• Inference gives you a statistical proposition
• Models may be parametric, non-parametric or semi-parametric
• Of course let’s focus on parametric models.
Let’s guess our model:
Xj ∼ N(µ, σ)
What’s your best guess
about µ and σ?
Usual way of doing this estimate is
by means of an estimator 0
1
2
3
4
5
6
0 100 200 300 400 500 600 700
EventXj
Realization j
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 12 / 38
Estimator
• Data: set of i.i.d. X1, X2, X3, . . . Xm
• Given a data set and a statistical model, we have a probability with
some parameter θ
• An estimator is a function of the data set to some sample estimates
Examples of estimators
• X =
1
m
m
j=1
Xj
• ˆσ =
1
m
m
j=1
Xj − X
2
• ˆxmin = min (X1, X2, X3, . . . Xm)
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 13 / 38
Mean Square Error
• EQM ˆθ := ˆθ − θ
2
• EQM ˆθ = ˆθ2
− 2θˆθ + θ2
= ˆθ2
− 2θ ˆθ + θ2
= ˆθ2
− ˆθ
2
+ ˆθ
2
− 2θ ˆθ + θ2
EQM ˆθ = Var ˆθ − B2
(ˆθ)
• Bias: B(ˆθ) = ˆθ − θ
• Non-biased estimator: B(ˆθ) = 0 ⇐⇒ ˆθ = θ
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 14 / 38
Example to gaussian mean and variance
• Random sample: X1, X2, X3, . . . , Xm
• Starting with the mean value: ˆµ = X :=
1
m
m
j=1
Xj
• ˆµ =
1
m
m
j=1
Xj =
1
m
m
j=1
Xj =
1
m
m
j=1
µ = µ
Thus, X is a non-biased estimator for µ
• Now let’s take a look at the
• EQM [ˆµ] = Var X = Var
1
m
m
j=1
Xj =
1
m2
m
j=1
Var [Xj] =
1
m2
m
j=1
σ2
=
σ2
m
Moreover, X → µ when m → ∞
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 15 / 38
Example to gaussian mean and variance
• Let’s now do it with the variance: ˆσ2
b =
1
m
m
j=1
Xj − X
2
• ˆσ2
b =
1
m
m
j=1
Xj − X
2
=
1
m
m
j=1
Xj − X
2
=
m − 1
m
σ2
Thus, ˆσb is asymptotically non-biased estimator for σ
• Conversely, let’s define ˆσ2
=
1
m − 1
m
j=1
Xj − X
2
• EQM [ˆµ] = σ2
ˆσ is an unbiased estimator for σ
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 16 / 38
Back to Gaussian random variables
0
1
2
3
4
5
6
0 100 200 300 400 500 600 700
EventXj
Realization j
• Estimation: ˆσb = 0.49944735873
• Actual value used to generate the data: ˆσ = 0.49980448952
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 17 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 18 / 38
Maximum Likelihood
• Maximize the ”likelihood“: get an estimator for te parameter of a
given statistical model
• p(x1, x2, x3, . . . |θ) :: given the value θ for the parameter,
this is the probability that X1 = x1, X2 = x2, . . .
• p(x1, x2, x3, . . . |θ) = p(x1|θ)p(x2|θ)p(x3|θ) . . . =
m
j=1
p(xj|θ)
• Let x = x1, x2, x3, . . .
L(θ, x) =
m
j=1
p(xj|θ)
• To maximize it, we can use ln (L(θ, x)) =
m
j=1
p(xj|θ)
•
∂
∂θ
ln (L(θ, x)) = 0 – solve it for θ
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 19 / 38
Example for gaussian
• Suppose Xj ∼ N(µ, σ) is our statistical model
• L(ˆµ, x) =
1
√
2πσ2
m
exp
1
2σ2
m
j=1
(xj − ˆµ)2
• By calculating
∂
∂ˆµ
ln (L(ˆµ, x)) = 0, we get to
m
j=1
(xj − ˆµ) =
m
j=1
xj − mˆµ = 0
• Finally, we get ˆµ =
1
m
m
j=1
xj
• On the other hand,
∂
∂ˆσ
ln (L(ˆσ, x)) = 0 gives ........
• This is what is usually done to derive such an estimator
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 20 / 38
Example for gaussian
• Suppose Xj ∼ N(µ, σ) is our statistical model
• L(ˆµ, x) =
1
√
2πσ2
m
exp
1
2σ2
m
j=1
(xj − ˆµ)2
• By calculating
∂
∂ˆµ
ln (L(ˆµ, x)) = 0, we get to
m
j=1
(xj − ˆµ) =
m
j=1
xj − mˆµ = 0
• Finally, we get ˆµ =
1
m
m
j=1
xj
• On the other hand,
∂
∂ˆσ
ln (L(ˆσ, x)) = 0 gives ˆσ =
1
m
m
j=1
Xj − X
2
,
which we have already discovered to be biased!
• This is what is usually done to derive such an estimator
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 20 / 38
Deutsch Tank Problem
• Suppose you have a box with (unkown) n tickets, labled from 1 to n.
• You take one ticket, it’s label is x. What’s your best guess for n?
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 21 / 38
Estimation of the maximum
• Statistical model: p(x|ˆn) =
1
ˆn
, x ≤ ˆn – a uniform distribution
• Remember p(x|ˆn) = 0, x > ˆn. This is important to this maximization.
• L(ˆn, x) =
1
ˆn
, which is maximized when ˆn is the largest!
• Therefore, our best guess at this moment would be ˆn = x.
• If we had conversely made several observations X1, X2, X3, . . ., then
ˆn = max (X1, X2, X3, . . .)
• ”However, this is awful“ – it is a poor estimation!
• Other methods are far more accurate and, indeed, were succesfully used in WWII.
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 22 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 23 / 38
What is this?
Large values significant?
Is the mean informative? Probably not.
0
10
20
30
40
50
60
70
0 20 40 60 80 100 120 140 160
Xj
Realization j
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 24 / 38
Empirical PDF
• We don’t know p(x)∆x, but we have a lot data...
• In this experiment, I will use 107
points.
• We can then calculate the following estimator:
ˆp(x) =
1
m
m
j=1
δ (Xj ∈ [x, x + ∆x])
10-8
10-7
10-6
10-5
10-4
10-3
10-2
10-1
100
100
101
102
103
104
P(X=x)
Event X = x
In fact, we can show that
ˆp(x) is an unbiased
estimator for p(x).
Let’s propose then a model:
p(x) ∼ x−α
But... α =?
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 25 / 38
Empirical CDF
If you want to fit, use the CDF
10-7
10-6
10-5
10-4
10-3
10-2
10-1
100
100
101
102
103
104
105
P(X>=x)
Event X = x
However, how about a maximum likelihood estimator?
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 26 / 38
Exponent estimator
• General power-law distribution: p(x)dx =
α − 1
xmin
x
xmin
−α
dx
• We have to maximize the likelihood: L (ˆα|X1, . . . Xm) =
m
j=1
ˆα − 1
xmin
Xj
xmin
−ˆα
• ln [L (α|X1, . . . Xm)] =
m
j=1
ln(α − 1) − ln(xmin) − α ln
Xj
xmin
• Maximizing it...
ˆα = 1 +
m
m
j=1
Xj/xmin
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 27 / 38
PDF
In our case, ˆα ∼ 2.65
10-8
10-7
10-6
10-5
10-4
10-3
10-2
10-1
100
100
101
102
103
104
P(X=x)
Event X = x
Testing data
Fitting curve
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 28 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 29 / 38
What about this...
-250
-200
-150
-100
-50
0
50
100
150
0 50 100 150 200 250 300
EventXj
Realization j
Let’s start by the empirical pdf!
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 30 / 38
Gaussian!!! :)
Again, we can propose a model: A Gaussian!
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
-4 -2 0 2 4
P(X=x)
Event X = x
Estimating the variance: ˆσ ≈ 200
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 31 / 38
Gaussian!!! :(
Again, we can propose a model: A Gaussian!
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
-4 -2 0 2 4
P(X=x)
Event X = x
Empirical PDF
Fitting
Estimating the variance: ˆσ ≈ 200 – Something is not right!
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 31 / 38
Okay, not a gaussian
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
-10 -5 0 5 10
P(X=x)
Event X = x
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 32 / 38
Okay, not a gaussian
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
-20 -15 -10 -5 0 5 10 15 20
P(X=x)
Event X = x
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 32 / 38
Power-law decay – Cauchy distributions
1e-06
1e-05
0.0001
0.001
0.01
0.1
1
1 10 100 1000 10000 100000
P(X=x)
Event X = x
Empirical CDF
Very suggestive indeed.
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 33 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 34 / 38
Hypothesis testing
• What we have been doing till now is ∼ exploratory analysis
• We now want to confirm a prediction or hypothesis – confirmatory analysis
• Is this last data set gaussian or cauchy distributed?
• The general recipe:
- An initial guess, possibly true
- State an relevant null and its alternative hypothesis
- Formulate an appropriate test – T and a significance level τ
- Estimate the distribution of T under your null hypothesis
- Compute the observed quantity t and verify your null hypothesis
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 35 / 38
Let’s try this shit!
• H0: the data is normally distributed – N(0, σ)
• We have the estimated pdf of the data sample – these are our
m observations Oj
• The test will be
T =
m
j=1
(Oj − Ej)2
Ej
• Ej = A exp −
(x)2
σ2
are the expected frequencies!
• It is easy to derive that T ∼ χ2
m−1 (Bolfarine)
• In our case, the observed t ≈ 400 and P (T = t) → 0.
• This rejects H0.
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 36 / 38
Suggestions
• Other hypothesis testing techniques:
* τ-Student test
* minimax
* Lagrange multiplier
* Union-intersection
* Fisher test
* ...
• Non-parametric testins, such as Kolmogorov-Smirnov
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 37 / 38
Where are we?
1 Probability and random variables
2 Estimators
3 Maximum likelihood
4 Non-trivial example
5 One last example
6 Hypothesis testing
7 Conclusions
Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 38 / 38

Weitere ähnliche Inhalte

Was ist angesagt?

Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...
Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...
Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...Michael Lie
 
Hypothesis testings on individualized treatment rules
Hypothesis testings on individualized treatment rulesHypothesis testings on individualized treatment rules
Hypothesis testings on individualized treatment rulesYoung-Geun Choi
 
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...Hsien-Hsin Sean Lee, Ph.D.
 
Predictive mean-matching2
Predictive mean-matching2Predictive mean-matching2
Predictive mean-matching2Jae-kwang Kim
 
Regularized Estimation of Spatial Patterns
Regularized Estimation of Spatial PatternsRegularized Estimation of Spatial Patterns
Regularized Estimation of Spatial PatternsWen-Ting Wang
 
LupoPasini_SIAMCSE15
LupoPasini_SIAMCSE15LupoPasini_SIAMCSE15
LupoPasini_SIAMCSE15Karen Pao
 
Top school in India
Top school in IndiaTop school in India
Top school in IndiaEdhole.com
 
An Algorithm to Find the Largest Circle inside a Polygon
An Algorithm to Find the Largest Circle inside a PolygonAn Algorithm to Find the Largest Circle inside a Polygon
An Algorithm to Find the Largest Circle inside a PolygonKasun Ranga Wijeweera
 
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)類神經網路、語意相似度(一個不嫌少、兩個恰恰好)
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)Ming-Chi Liu
 
Learning Deep Learning
Learning Deep LearningLearning Deep Learning
Learning Deep Learningsimaokasonse
 
Class 11 Cbse Maths Sample Paper 2012
Class 11 Cbse Maths Sample Paper 2012Class 11 Cbse Maths Sample Paper 2012
Class 11 Cbse Maths Sample Paper 2012Sunaina Rawat
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解くYoshihiro Mizoguchi
 
Chapter2: Likelihood-based approach
Chapter2: Likelihood-based approach Chapter2: Likelihood-based approach
Chapter2: Likelihood-based approach Jae-kwang Kim
 
近似ベイズ計算によるベイズ推定
近似ベイズ計算によるベイズ推定近似ベイズ計算によるベイズ推定
近似ベイズ計算によるベイズ推定Kosei ABE
 

Was ist angesagt? (20)

Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...
Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...
Time-Series Analysis on Multiperiodic Conditional Correlation by Sparse Covar...
 
Fi review5
Fi review5Fi review5
Fi review5
 
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
 
Hypothesis testings on individualized treatment rules
Hypothesis testings on individualized treatment rulesHypothesis testings on individualized treatment rules
Hypothesis testings on individualized treatment rules
 
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...
Lec8 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Qui...
 
Propensity albert
Propensity albertPropensity albert
Propensity albert
 
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
PMED Opening Workshop - Inference on Individualized Treatment Rules from Obse...
 
Predictive mean-matching2
Predictive mean-matching2Predictive mean-matching2
Predictive mean-matching2
 
Regularized Estimation of Spatial Patterns
Regularized Estimation of Spatial PatternsRegularized Estimation of Spatial Patterns
Regularized Estimation of Spatial Patterns
 
LupoPasini_SIAMCSE15
LupoPasini_SIAMCSE15LupoPasini_SIAMCSE15
LupoPasini_SIAMCSE15
 
Data Smashing
Data SmashingData Smashing
Data Smashing
 
Top school in India
Top school in IndiaTop school in India
Top school in India
 
An Algorithm to Find the Largest Circle inside a Polygon
An Algorithm to Find the Largest Circle inside a PolygonAn Algorithm to Find the Largest Circle inside a Polygon
An Algorithm to Find the Largest Circle inside a Polygon
 
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)類神經網路、語意相似度(一個不嫌少、兩個恰恰好)
類神經網路、語意相似度(一個不嫌少、兩個恰恰好)
 
Learning Deep Learning
Learning Deep LearningLearning Deep Learning
Learning Deep Learning
 
Class 11 Cbse Maths Sample Paper 2012
Class 11 Cbse Maths Sample Paper 2012Class 11 Cbse Maths Sample Paper 2012
Class 11 Cbse Maths Sample Paper 2012
 
Basic m4-2-chapter1
Basic m4-2-chapter1Basic m4-2-chapter1
Basic m4-2-chapter1
 
数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く数式処理ソフトMathematicaで数学の問題を解く
数式処理ソフトMathematicaで数学の問題を解く
 
Chapter2: Likelihood-based approach
Chapter2: Likelihood-based approach Chapter2: Likelihood-based approach
Chapter2: Likelihood-based approach
 
近似ベイズ計算によるベイズ推定
近似ベイズ計算によるベイズ推定近似ベイズ計算によるベイズ推定
近似ベイズ計算によるベイズ推定
 

Andere mochten auch

Pathria statistical mechanics
Pathria statistical mechanicsPathria statistical mechanics
Pathria statistical mechanicsOmar Varela
 
Ludwig Boltzmann-moartea termică a universului
Ludwig Boltzmann-moartea termică a universuluiLudwig Boltzmann-moartea termică a universului
Ludwig Boltzmann-moartea termică a universuluiPavel Laura
 
Limitations OF Classical Physics and Birth Of Quantum Mechanics
Limitations OF Classical Physics and Birth Of Quantum MechanicsLimitations OF Classical Physics and Birth Of Quantum Mechanics
Limitations OF Classical Physics and Birth Of Quantum MechanicsCENTER FOR HIGH ENERGY PHYSICS
 
Fisika Modern (10) statistical physics
Fisika Modern (10) statistical physicsFisika Modern (10) statistical physics
Fisika Modern (10) statistical physicsjayamartha
 
Simple harmonic oscillator - Classical Mechanics
Simple harmonic oscillator - Classical MechanicsSimple harmonic oscillator - Classical Mechanics
Simple harmonic oscillator - Classical MechanicsDebashis Baidya
 
Classical mechanics
Classical mechanicsClassical mechanics
Classical mechanicshue34
 
Problems and solutions statistical physics 1
Problems and solutions   statistical physics 1Problems and solutions   statistical physics 1
Problems and solutions statistical physics 1Alberto de Mesquita
 
Statistical mechanics
Statistical mechanics Statistical mechanics
Statistical mechanics Kumar
 
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang Entropi
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang EntropiStatistik Maxwell-Boltzmann & Interpretasi Statistik tentang Entropi
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang EntropiSamantars17
 
Introduction to Physics Power Point
Introduction to Physics Power PointIntroduction to Physics Power Point
Introduction to Physics Power PointJoyce Gridley
 
Lecture 14 maxwell-boltzmann distribution. heat capacities
Lecture 14   maxwell-boltzmann distribution. heat capacitiesLecture 14   maxwell-boltzmann distribution. heat capacities
Lecture 14 maxwell-boltzmann distribution. heat capacitiesAlbania Energy Association
 

Andere mochten auch (15)

Pathria statistical mechanics
Pathria statistical mechanicsPathria statistical mechanics
Pathria statistical mechanics
 
Classical Physics
Classical PhysicsClassical Physics
Classical Physics
 
Quick run through on classical mechancis and quantum mechanics
Quick run through on classical mechancis and quantum mechanics Quick run through on classical mechancis and quantum mechanics
Quick run through on classical mechancis and quantum mechanics
 
Ludwig Boltzmann-moartea termică a universului
Ludwig Boltzmann-moartea termică a universuluiLudwig Boltzmann-moartea termică a universului
Ludwig Boltzmann-moartea termică a universului
 
Limitations OF Classical Physics and Birth Of Quantum Mechanics
Limitations OF Classical Physics and Birth Of Quantum MechanicsLimitations OF Classical Physics and Birth Of Quantum Mechanics
Limitations OF Classical Physics and Birth Of Quantum Mechanics
 
Fisika Modern (10) statistical physics
Fisika Modern (10) statistical physicsFisika Modern (10) statistical physics
Fisika Modern (10) statistical physics
 
Simple harmonic oscillator - Classical Mechanics
Simple harmonic oscillator - Classical MechanicsSimple harmonic oscillator - Classical Mechanics
Simple harmonic oscillator - Classical Mechanics
 
Classical mechanics
Classical mechanicsClassical mechanics
Classical mechanics
 
Problems and solutions statistical physics 1
Problems and solutions   statistical physics 1Problems and solutions   statistical physics 1
Problems and solutions statistical physics 1
 
Statistical mechanics
Statistical mechanics Statistical mechanics
Statistical mechanics
 
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang Entropi
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang EntropiStatistik Maxwell-Boltzmann & Interpretasi Statistik tentang Entropi
Statistik Maxwell-Boltzmann & Interpretasi Statistik tentang Entropi
 
P6
P6P6
P6
 
Branches of Physics
Branches of PhysicsBranches of Physics
Branches of Physics
 
Introduction to Physics Power Point
Introduction to Physics Power PointIntroduction to Physics Power Point
Introduction to Physics Power Point
 
Lecture 14 maxwell-boltzmann distribution. heat capacities
Lecture 14   maxwell-boltzmann distribution. heat capacitiesLecture 14   maxwell-boltzmann distribution. heat capacities
Lecture 14 maxwell-boltzmann distribution. heat capacities
 

Ähnlich wie Classical inference in/for physics

ABC with data cloning for MLE in state space models
ABC with data cloning for MLE in state space modelsABC with data cloning for MLE in state space models
ABC with data cloning for MLE in state space modelsUmberto Picchini
 
Bayes Independence Test
Bayes Independence TestBayes Independence Test
Bayes Independence TestJoe Suzuki
 
Conjugate Gradient method for Brain Magnetic Resonance Images Segmentation
Conjugate Gradient method for Brain Magnetic Resonance Images SegmentationConjugate Gradient method for Brain Magnetic Resonance Images Segmentation
Conjugate Gradient method for Brain Magnetic Resonance Images SegmentationEL-Hachemi Guerrout
 
Quantum factorization.pdf
Quantum factorization.pdfQuantum factorization.pdf
Quantum factorization.pdfssuser8b461f
 
Generative models : VAE and GAN
Generative models : VAE and GANGenerative models : VAE and GAN
Generative models : VAE and GANSEMINARGROOT
 
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Umberto Picchini
 
Bayesian Criteria based on Universal Measures
Bayesian Criteria based on Universal MeasuresBayesian Criteria based on Universal Measures
Bayesian Criteria based on Universal MeasuresJoe Suzuki
 
Controlled sequential Monte Carlo
Controlled sequential Monte Carlo Controlled sequential Monte Carlo
Controlled sequential Monte Carlo JeremyHeng10
 
STT802project-writeup-Final (1)
STT802project-writeup-Final (1)STT802project-writeup-Final (1)
STT802project-writeup-Final (1)James P. Regan II
 

Ähnlich wie Classical inference in/for physics (20)

Lausanne 2019 #1
Lausanne 2019 #1Lausanne 2019 #1
Lausanne 2019 #1
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
ABC with data cloning for MLE in state space models
ABC with data cloning for MLE in state space modelsABC with data cloning for MLE in state space models
ABC with data cloning for MLE in state space models
 
Slides ub-2
Slides ub-2Slides ub-2
Slides ub-2
 
Bayes Independence Test
Bayes Independence TestBayes Independence Test
Bayes Independence Test
 
Side 2019 #9
Side 2019 #9Side 2019 #9
Side 2019 #9
 
Conjugate Gradient method for Brain Magnetic Resonance Images Segmentation
Conjugate Gradient method for Brain Magnetic Resonance Images SegmentationConjugate Gradient method for Brain Magnetic Resonance Images Segmentation
Conjugate Gradient method for Brain Magnetic Resonance Images Segmentation
 
Quantum factorization.pdf
Quantum factorization.pdfQuantum factorization.pdf
Quantum factorization.pdf
 
Slides ACTINFO 2016
Slides ACTINFO 2016Slides ACTINFO 2016
Slides ACTINFO 2016
 
Generative models : VAE and GAN
Generative models : VAE and GANGenerative models : VAE and GAN
Generative models : VAE and GAN
 
tutorial4
tutorial4tutorial4
tutorial4
 
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...Bayesian inference for mixed-effects models driven by SDEs and other stochast...
Bayesian inference for mixed-effects models driven by SDEs and other stochast...
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
 
main
mainmain
main
 
Bayesian Criteria based on Universal Measures
Bayesian Criteria based on Universal MeasuresBayesian Criteria based on Universal Measures
Bayesian Criteria based on Universal Measures
 
AINL 2016: Strijov
AINL 2016: StrijovAINL 2016: Strijov
AINL 2016: Strijov
 
Controlled sequential Monte Carlo
Controlled sequential Monte Carlo Controlled sequential Monte Carlo
Controlled sequential Monte Carlo
 
Laws of Exponent
Laws of ExponentLaws of Exponent
Laws of Exponent
 
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
 
STT802project-writeup-Final (1)
STT802project-writeup-Final (1)STT802project-writeup-Final (1)
STT802project-writeup-Final (1)
 

Mehr von Thiago Mosqueiro

Os Perfis dos Cientistas de Dados nos Estados Unidos
Os Perfis dos Cientistas de Dados nos Estados UnidosOs Perfis dos Cientistas de Dados nos Estados Unidos
Os Perfis dos Cientistas de Dados nos Estados UnidosThiago Mosqueiro
 
Non-parametric Change Point Detection for Spike Trains
Non-parametric Change Point Detection for Spike TrainsNon-parametric Change Point Detection for Spike Trains
Non-parametric Change Point Detection for Spike TrainsThiago Mosqueiro
 
[SIFSC] LaTeX para teses e dissertações
[SIFSC] LaTeX para teses e dissertações[SIFSC] LaTeX para teses e dissertações
[SIFSC] LaTeX para teses e dissertaçõesThiago Mosqueiro
 
Information Dynamics in KC model
Information Dynamics in KC modelInformation Dynamics in KC model
Information Dynamics in KC modelThiago Mosqueiro
 
Orbitais Atômicos do Ponto de Vista de Simetrias
Orbitais Atômicos do Ponto de Vista de SimetriasOrbitais Atômicos do Ponto de Vista de Simetrias
Orbitais Atômicos do Ponto de Vista de SimetriasThiago Mosqueiro
 
Flutuações e Estatísticas: Estudo sobre o Decaimento Radioativo
Flutuações e Estatísticas: Estudo sobre o Decaimento RadioativoFlutuações e Estatísticas: Estudo sobre o Decaimento Radioativo
Flutuações e Estatísticas: Estudo sobre o Decaimento RadioativoThiago Mosqueiro
 
Efeito terminônico em tubo
Efeito terminônico em tuboEfeito terminônico em tubo
Efeito terminônico em tuboThiago Mosqueiro
 
O Experimento de Franck Hertz
O Experimento de Franck HertzO Experimento de Franck Hertz
O Experimento de Franck HertzThiago Mosqueiro
 
Determinação Da Razão Entre Carga Elementar E Massa Eletrônica
Determinação Da Razão Entre Carga Elementar E Massa EletrônicaDeterminação Da Razão Entre Carga Elementar E Massa Eletrônica
Determinação Da Razão Entre Carga Elementar E Massa EletrônicaThiago Mosqueiro
 

Mehr von Thiago Mosqueiro (12)

Os Perfis dos Cientistas de Dados nos Estados Unidos
Os Perfis dos Cientistas de Dados nos Estados UnidosOs Perfis dos Cientistas de Dados nos Estados Unidos
Os Perfis dos Cientistas de Dados nos Estados Unidos
 
Non-parametric Change Point Detection for Spike Trains
Non-parametric Change Point Detection for Spike TrainsNon-parametric Change Point Detection for Spike Trains
Non-parametric Change Point Detection for Spike Trains
 
[SIFSC] LaTeX para teses e dissertações
[SIFSC] LaTeX para teses e dissertações[SIFSC] LaTeX para teses e dissertações
[SIFSC] LaTeX para teses e dissertações
 
Information Dynamics in KC model
Information Dynamics in KC modelInformation Dynamics in KC model
Information Dynamics in KC model
 
Orbitais Atômicos do Ponto de Vista de Simetrias
Orbitais Atômicos do Ponto de Vista de SimetriasOrbitais Atômicos do Ponto de Vista de Simetrias
Orbitais Atômicos do Ponto de Vista de Simetrias
 
Fedora 11 Release Party
Fedora 11 Release PartyFedora 11 Release Party
Fedora 11 Release Party
 
Flutuações e Estatísticas: Estudo sobre o Decaimento Radioativo
Flutuações e Estatísticas: Estudo sobre o Decaimento RadioativoFlutuações e Estatísticas: Estudo sobre o Decaimento Radioativo
Flutuações e Estatísticas: Estudo sobre o Decaimento Radioativo
 
Efeito terminônico em tubo
Efeito terminônico em tuboEfeito terminônico em tubo
Efeito terminônico em tubo
 
O Experimento de Franck Hertz
O Experimento de Franck HertzO Experimento de Franck Hertz
O Experimento de Franck Hertz
 
Difração de Elétrons
Difração de ElétronsDifração de Elétrons
Difração de Elétrons
 
Determinação Da Razão Entre Carga Elementar E Massa Eletrônica
Determinação Da Razão Entre Carga Elementar E Massa EletrônicaDeterminação Da Razão Entre Carga Elementar E Massa Eletrônica
Determinação Da Razão Entre Carga Elementar E Massa Eletrônica
 
Difração de Elétrons
Difração de ElétronsDifração de Elétrons
Difração de Elétrons
 

Kürzlich hochgeladen

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 

Kürzlich hochgeladen (20)

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 

Classical inference in/for physics

  • 1. Classical Inference in Physics Thiago Mosqueiro Institute of Physics of S˜ao Carlos University of S˜ao Paulo July 31 2012 Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 1 / 38
  • 2. Equilibrium criticality – Ising model • Model of ferromagnetism in statistical mechanics • Contact with thermal reservoir • Lattice of N binary elements – spins • Each site of this lattice: or Energy of a configuragion S = (S1, S2, . . .), E(S) = −J p,j SjSp Probability of S = (S1, S2, . . .), P(S) = exp − J kT p,j SjSp ∀S exp − J kT p,j SjSp Monte Carlo step: each time step means N itera- tions of the algorithm. Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 2 / 38
  • 3. The Market for Lemons: Quality Uncertainty and the Market Mechanism, G. Akerlof. The quarterly journal of economics, 1970 Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 3 / 38
  • 4. Objectivies • What’s the difference between Probability and Statistics? • Inference • Statistics – models, hypotehsis and estimation • Main focus: Maximum likelyhood estimators • Glimpse of hypothesis testing “What! you have solved it already?” “Well, that would be too much to say. I have discovered a suggestive fact, that is all. It is, however, very suggestive.” Sign of Four (II), Sir Arthur Conan Doyle Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 4 / 38
  • 5. Summary 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 5 / 38
  • 6. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 6 / 38
  • 7. Random variable • Let |ψ be the state of a particle • Suppose we know for every n the solutions H |n = n |n What is the probability the particle is in state |n ? • It can happen that |ψ = |1 . . . or |ψ = |2 . . . or . . . • In this sense, |ψ is a random variable • Suppose you have n dice Side j of each die have probability pj • The result of tossing the j-th die is Xj What is the probability of Xj > x? • Xj is another random variable Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 7 / 38
  • 8. Random variables • Events: X = x, X ≤ x, X = x and Y < y • Probability of an event: P (X = x), P (X ≤ x), P (X = x, Y < y) • Moments: X := x P(X = x)x, X2 := x P(X = x)x2 , . . . • Surprisal: I (X = x) = − log [P (X = x)] • Entropy: I (X = x) = − x P (X = x) log [P (X = x)] Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 8 / 38
  • 9. Example: gaussian distributed variable X ∼ N(µ, σ) P(x < X ≤ x + dx) = ρ(x)dx = A exp − (x − µ)2 σ2 dx - 3 - 2 - 1 φμ,σ2( 0.8 0.6 0.4 0.2 0.0 −5 −3 1 3 5 x 1.0 −1 0 2 4−2−4 x) 0,μ= 0,μ= 0,μ= −2,μ= 2 0.2,σ = 2 1.0,σ = 2 5.0,σ = 2 0.5,σ = Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 9 / 38
  • 10. Example: gaussian distributed variable X ∼ N(µ, σ) P(x < X ≤ x + dx) = ρ(x)dx = A exp − (x − µ)2 σ2 dx 0 1 2 3 4 5 6 0 100 200 300 400 500 600 700 EventXj Realization j Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 9 / 38
  • 11. Now the big problem... What if I don’t have a model...? How can one obtain information from observations? How can I know my model fits the reality? Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 10 / 38
  • 12. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 11 / 38
  • 13. Statistically infering... • Statistics validates and fits Probabilistic models • build a statistical model that should describe the process • interpret the data as realizations of your model • Inference gives you a statistical proposition • Models may be parametric, non-parametric or semi-parametric • Of course let’s focus on parametric models. Let’s guess our model: Xj ∼ N(µ, σ) What’s your best guess about µ and σ? Usual way of doing this estimate is by means of an estimator 0 1 2 3 4 5 6 0 100 200 300 400 500 600 700 EventXj Realization j Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 12 / 38
  • 14. Estimator • Data: set of i.i.d. X1, X2, X3, . . . Xm • Given a data set and a statistical model, we have a probability with some parameter θ • An estimator is a function of the data set to some sample estimates Examples of estimators • X = 1 m m j=1 Xj • ˆσ = 1 m m j=1 Xj − X 2 • ˆxmin = min (X1, X2, X3, . . . Xm) Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 13 / 38
  • 15. Mean Square Error • EQM ˆθ := ˆθ − θ 2 • EQM ˆθ = ˆθ2 − 2θˆθ + θ2 = ˆθ2 − 2θ ˆθ + θ2 = ˆθ2 − ˆθ 2 + ˆθ 2 − 2θ ˆθ + θ2 EQM ˆθ = Var ˆθ − B2 (ˆθ) • Bias: B(ˆθ) = ˆθ − θ • Non-biased estimator: B(ˆθ) = 0 ⇐⇒ ˆθ = θ Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 14 / 38
  • 16. Example to gaussian mean and variance • Random sample: X1, X2, X3, . . . , Xm • Starting with the mean value: ˆµ = X := 1 m m j=1 Xj • ˆµ = 1 m m j=1 Xj = 1 m m j=1 Xj = 1 m m j=1 µ = µ Thus, X is a non-biased estimator for µ • Now let’s take a look at the • EQM [ˆµ] = Var X = Var 1 m m j=1 Xj = 1 m2 m j=1 Var [Xj] = 1 m2 m j=1 σ2 = σ2 m Moreover, X → µ when m → ∞ Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 15 / 38
  • 17. Example to gaussian mean and variance • Let’s now do it with the variance: ˆσ2 b = 1 m m j=1 Xj − X 2 • ˆσ2 b = 1 m m j=1 Xj − X 2 = 1 m m j=1 Xj − X 2 = m − 1 m σ2 Thus, ˆσb is asymptotically non-biased estimator for σ • Conversely, let’s define ˆσ2 = 1 m − 1 m j=1 Xj − X 2 • EQM [ˆµ] = σ2 ˆσ is an unbiased estimator for σ Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 16 / 38
  • 18. Back to Gaussian random variables 0 1 2 3 4 5 6 0 100 200 300 400 500 600 700 EventXj Realization j • Estimation: ˆσb = 0.49944735873 • Actual value used to generate the data: ˆσ = 0.49980448952 Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 17 / 38
  • 19. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 18 / 38
  • 20. Maximum Likelihood • Maximize the ”likelihood“: get an estimator for te parameter of a given statistical model • p(x1, x2, x3, . . . |θ) :: given the value θ for the parameter, this is the probability that X1 = x1, X2 = x2, . . . • p(x1, x2, x3, . . . |θ) = p(x1|θ)p(x2|θ)p(x3|θ) . . . = m j=1 p(xj|θ) • Let x = x1, x2, x3, . . . L(θ, x) = m j=1 p(xj|θ) • To maximize it, we can use ln (L(θ, x)) = m j=1 p(xj|θ) • ∂ ∂θ ln (L(θ, x)) = 0 – solve it for θ Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 19 / 38
  • 21. Example for gaussian • Suppose Xj ∼ N(µ, σ) is our statistical model • L(ˆµ, x) = 1 √ 2πσ2 m exp 1 2σ2 m j=1 (xj − ˆµ)2 • By calculating ∂ ∂ˆµ ln (L(ˆµ, x)) = 0, we get to m j=1 (xj − ˆµ) = m j=1 xj − mˆµ = 0 • Finally, we get ˆµ = 1 m m j=1 xj • On the other hand, ∂ ∂ˆσ ln (L(ˆσ, x)) = 0 gives ........ • This is what is usually done to derive such an estimator Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 20 / 38
  • 22. Example for gaussian • Suppose Xj ∼ N(µ, σ) is our statistical model • L(ˆµ, x) = 1 √ 2πσ2 m exp 1 2σ2 m j=1 (xj − ˆµ)2 • By calculating ∂ ∂ˆµ ln (L(ˆµ, x)) = 0, we get to m j=1 (xj − ˆµ) = m j=1 xj − mˆµ = 0 • Finally, we get ˆµ = 1 m m j=1 xj • On the other hand, ∂ ∂ˆσ ln (L(ˆσ, x)) = 0 gives ˆσ = 1 m m j=1 Xj − X 2 , which we have already discovered to be biased! • This is what is usually done to derive such an estimator Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 20 / 38
  • 23. Deutsch Tank Problem • Suppose you have a box with (unkown) n tickets, labled from 1 to n. • You take one ticket, it’s label is x. What’s your best guess for n? Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 21 / 38
  • 24. Estimation of the maximum • Statistical model: p(x|ˆn) = 1 ˆn , x ≤ ˆn – a uniform distribution • Remember p(x|ˆn) = 0, x > ˆn. This is important to this maximization. • L(ˆn, x) = 1 ˆn , which is maximized when ˆn is the largest! • Therefore, our best guess at this moment would be ˆn = x. • If we had conversely made several observations X1, X2, X3, . . ., then ˆn = max (X1, X2, X3, . . .) • ”However, this is awful“ – it is a poor estimation! • Other methods are far more accurate and, indeed, were succesfully used in WWII. Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 22 / 38
  • 25. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 23 / 38
  • 26. What is this? Large values significant? Is the mean informative? Probably not. 0 10 20 30 40 50 60 70 0 20 40 60 80 100 120 140 160 Xj Realization j Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 24 / 38
  • 27. Empirical PDF • We don’t know p(x)∆x, but we have a lot data... • In this experiment, I will use 107 points. • We can then calculate the following estimator: ˆp(x) = 1 m m j=1 δ (Xj ∈ [x, x + ∆x]) 10-8 10-7 10-6 10-5 10-4 10-3 10-2 10-1 100 100 101 102 103 104 P(X=x) Event X = x In fact, we can show that ˆp(x) is an unbiased estimator for p(x). Let’s propose then a model: p(x) ∼ x−α But... α =? Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 25 / 38
  • 28. Empirical CDF If you want to fit, use the CDF 10-7 10-6 10-5 10-4 10-3 10-2 10-1 100 100 101 102 103 104 105 P(X>=x) Event X = x However, how about a maximum likelihood estimator? Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 26 / 38
  • 29. Exponent estimator • General power-law distribution: p(x)dx = α − 1 xmin x xmin −α dx • We have to maximize the likelihood: L (ˆα|X1, . . . Xm) = m j=1 ˆα − 1 xmin Xj xmin −ˆα • ln [L (α|X1, . . . Xm)] = m j=1 ln(α − 1) − ln(xmin) − α ln Xj xmin • Maximizing it... ˆα = 1 + m m j=1 Xj/xmin Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 27 / 38
  • 30. PDF In our case, ˆα ∼ 2.65 10-8 10-7 10-6 10-5 10-4 10-3 10-2 10-1 100 100 101 102 103 104 P(X=x) Event X = x Testing data Fitting curve Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 28 / 38
  • 31. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 29 / 38
  • 32. What about this... -250 -200 -150 -100 -50 0 50 100 150 0 50 100 150 200 250 300 EventXj Realization j Let’s start by the empirical pdf! Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 30 / 38
  • 33. Gaussian!!! :) Again, we can propose a model: A Gaussian! 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 -4 -2 0 2 4 P(X=x) Event X = x Estimating the variance: ˆσ ≈ 200 Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 31 / 38
  • 34. Gaussian!!! :( Again, we can propose a model: A Gaussian! 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 -4 -2 0 2 4 P(X=x) Event X = x Empirical PDF Fitting Estimating the variance: ˆσ ≈ 200 – Something is not right! Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 31 / 38
  • 35. Okay, not a gaussian 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 -10 -5 0 5 10 P(X=x) Event X = x Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 32 / 38
  • 36. Okay, not a gaussian 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 -20 -15 -10 -5 0 5 10 15 20 P(X=x) Event X = x Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 32 / 38
  • 37. Power-law decay – Cauchy distributions 1e-06 1e-05 0.0001 0.001 0.01 0.1 1 1 10 100 1000 10000 100000 P(X=x) Event X = x Empirical CDF Very suggestive indeed. Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 33 / 38
  • 38. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 34 / 38
  • 39. Hypothesis testing • What we have been doing till now is ∼ exploratory analysis • We now want to confirm a prediction or hypothesis – confirmatory analysis • Is this last data set gaussian or cauchy distributed? • The general recipe: - An initial guess, possibly true - State an relevant null and its alternative hypothesis - Formulate an appropriate test – T and a significance level τ - Estimate the distribution of T under your null hypothesis - Compute the observed quantity t and verify your null hypothesis Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 35 / 38
  • 40. Let’s try this shit! • H0: the data is normally distributed – N(0, σ) • We have the estimated pdf of the data sample – these are our m observations Oj • The test will be T = m j=1 (Oj − Ej)2 Ej • Ej = A exp − (x)2 σ2 are the expected frequencies! • It is easy to derive that T ∼ χ2 m−1 (Bolfarine) • In our case, the observed t ≈ 400 and P (T = t) → 0. • This rejects H0. Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 36 / 38
  • 41. Suggestions • Other hypothesis testing techniques: * τ-Student test * minimax * Lagrange multiplier * Union-intersection * Fisher test * ... • Non-parametric testins, such as Kolmogorov-Smirnov Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 37 / 38
  • 42. Where are we? 1 Probability and random variables 2 Estimators 3 Maximum likelihood 4 Non-trivial example 5 One last example 6 Hypothesis testing 7 Conclusions Thiago Mosqueiro (IFSC - USP) Classical inference in physics 31/07/2012 38 / 38