Download presentation
Presentation is loading. Please wait.
Published byMary Fox Modified over 9 years ago
1
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 2nd Mathematical Preparations (1): Probability and statistics Kazuyuki Tanaka Graduate School of Information Sciences, Tohoku University kazu@smapip.is.tohoku.ac.jp http://www.smapip.is.tohoku.ac.jp/~kazu/
2
Physics Fluctuomatics (Tohoku University) 2 Probability a.Event and Probability b.Joint Probability and Conditional Probability c.Bayes Formula, Prior Probability and Posterior Probability d.Discrete Random Variable and Probability Distribution e.Continuous Random Variable and Probability Density Function f.Average, Variance and Covariance g.Uniform Distribution h.Gauss Distribution
3
Physics Fluctuomatics (Tohoku University) 3 Event, Sample Space and Event Experiment: Experiments in probability theory means that outcomes are not predictable in advance. However, while the outcome will not be known in advance, the set of all possible outcomes is known Sample Point: Each possible outcome in the experiments. Sample Space : The set of all the possible sample points in the experiments Event : Subset of the sample space Elementary Event : Event consisting of one sample point Empty Event : Event consisting of no sample point
4
Physics Fluctuomatics (Tohoku University) 4 Various Events Whole Events Ω:Events consisting of all sample points of the sample space. Complementary Event of Event A: A c =Ω ╲ A Defference of Events A and B: A ╲ B Union of Events A and B: A ∪ B Intersection of Events A and B : A ∩ B Events A and B are exclusive of each other: A∩B=Ф Events A, B and C are exclusive of each other: [A∩B=Ф] Λ [B∩C=Ф] Λ [C∩A=Ф]
5
Physics Fluctuomatics (Tohoku University) 5 Empirically Definition of Probability Statistical Definition: Let us suppose that an event A occur r times when the same experiment are repeated R times. If the ratio r/R tends to a constant value p as the number of times of the experiments R go to infinity, we define the value p as probability of event A. Definition by Laplace: Let us suppose that the total number of all the sample points is N and they can occur equally Likely. Probability of an event A with N sample points is defined by p=n/N.
6
Physics Fluctuomatics (Tohoku University) 6 Definition of Probability Axion 1: Axion 2: Axion 3: For every events A, B that are exclusive of each other, it is always valid that Definition of Kolmogorov: Probability Pr{A} for every event A in the specified sample space Ω satisfies the following three axioms:
7
Physics Fluctuomatics (Tohoku University) 7 Joint Probability and Conditional Probability A B Conditional Probability of Event A when Event B has happened. Probability of Event A Joint Probability of Events A and B
8
Physics Fluctuomatics (Tohoku University) 8 Joint Probability and Independency of Events A B In this case, the conditional probability can be expressed as Events A and B are independent of each other A B
9
Physics Fluctuomatics (Tohoku University) 9 Marginal Probability Let us suppose that the sample space is expressed by Ω=A 1 ∪ A 2 ∪ … ∪ A M where every pair of events A i and A j is exclusive of each other. Marginal Probability of Event B for Joint Probability Pr{A i,B} Marginalize AiAiAiAi B AB Simplified Notation Summation over all the possible events in which every pair of events are exclusive of each other.
10
Physics Fluctuomatics (Tohoku University) 10 Four Dimensional Point Probability and Marginal Probability Marginal Probability of Event B AB C D Marginalize
11
Physics Fluctuomatics (Tohoku University) 11 Derivation of Bayes Formulas
12
Physics Fluctuomatics (Tohoku University) 12 Derivation of Bayes Formulas
13
Physics Fluctuomatics (Tohoku University) 13 Derivation of Bayes Formulas
14
Physics Fluctuomatics (Tohoku University) 14 Derivation of Bayes Formulas
15
Physics Fluctuomatics (Tohoku University) 15 Derivation of Bayes Formulas
16
Physics Fluctuomatics (Tohoku University) 16 Derivation of Bayes Formulas
17
Physics Fluctuomatics (Tohoku University) 17 Derivation of Bayes Formulas A B
18
Physics Fluctuomatics (Tohoku University) 18 Bayes Formula Posterior Probability Prior Probability A B It is often referred to as Bayes Rule. Bayesian Network
19
Physics Fluctuomatics (Tohoku University) 19 Probability and Random Variable We introduce a one to one mapping X(A) from every events A to a mutual different real number. The mapping X(A) is referred to as Random Variable of A. The random variable X(A) is often denoted by just the notation X. Probability of the event X=x that the random variable X takes a real number x is denoted by Pr{X=x}. Here, x is referred to as the state of the random variable X . The set of all the possible states is referred to as State Space. If events X=x and X=x’ are exclusive of each other, the states x and x’ are excusive of each other.
20
Physics Fluctuomatics (Tohoku University) 20 Discrete Random Variable and Continuous Random Variable Discrete Random Variable: Random Variable in Discrete State Space Example:{x 1,x 2,…,x M } Continuous Random Variable: Random Variable in Continuous State Space Example : (−∞,+∞)
21
Physics Fluctuomatics (Tohoku University) 21 Discrete Random Variable and Probability Distribution If all the probabilities for the events X=x 1, X=x 2,…, X=x M are expressed in terms of a function P(x) as follows: the function P(x) and the variable x are referred to as Probability Distribution and State Variable, respectively. Random VariableState Variable State Let us suppose that the sample is expressed by Ω=A 1 ∪ A 2 ∪ … ∪ A M where every pair of events A i and A j are exclusive of each other. We introduce a one to one mapping X:A i x i (i=1,2,…,M).
22
Physics Fluctuomatics (Tohoku University) 22 Discrete Random Variable and Probability Distribution Probability distributions have the following properties: Normalization Condition
23
Physics Fluctuomatics (Tohoku University) 23 Average and Variance Average of Random Variable X : μ Variance of Random Variable X: σ 2 : Standard Deviation
24
Physics Fluctuomatics (Tohoku University) 24 Discrete Random Variable and Joint Probability Distribution If the joint probability Pr{(X=x)∩(Y=y)}= Pr{X=x,Y=y} is expressed in terms of a function P(x,y) as follows: P(x,y) is referred to as Joint Probability Distribution. Probability Vector State Vector
25
Physics Fluctuomatics (Tohoku University) 25 Discrete Random Variable and Marginal Probability Distribution Marginal Probability Distribution Summation over all the possible events in which every pair of events are exclusive of each other. Simplified Notation Normalization Condition Let us suppose that the sample is expressed by Ω=A 1 ∪ A 2 ∪ … ∪ A M where every pair of events A i and A j are exclusive of each other. We introduce a one to one mapping X:A i x i (i=1,2,…,M).
26
Physics Fluctuomatics (Tohoku University) 26 Discrete Random Variable and Marginal Probability Marginal Probability Distribution XY Z U Marginalize Marginal Probability of High Dimensional Probability Distribution
27
Physics Fluctuomatics (Tohoku University) 27 Independency of Discrete Random Variable If random variables X and Y are independent of each others, Joint Probability Distribution of Random Variables X and Y Probability Distribution of Random Variable X Probability Distrubution of Random Variable Y Marginal Probability Distribution of Random Varuiable Y
28
Physics Fluctuomatics (Tohoku University) 28 Covariance of Discrete Random Variables Covariance of Random Variables X and Y Covariance Matrix
29
Physics Fluctuomatics (Tohoku University) 29 Example of Probability Distribution a E[X] 0
30
Physics Fluctuomatics (Tohoku University) 30 Example of Joint Probability Distributions a Cov[X,Y] 0
31
Physics Fluctuomatics (Tohoku University) 31 Example of Conditional Probability Distribution Conditional Probability of Binary Symmetric Channel
32
Physics Fluctuomatics (Tohoku University) 32 Continuous Random Variable and Probability Density Function For a random variable X defined in the state space (−∞,+∞), the probability that the state x is in the interval (a,b) in expressed as Distribution Function Probability Density Function
33
Physics Fluctuomatics (Tohoku University) 33 Continuous Random Variable and Probability Density Function Normalization Condition
34
Physics Fluctuomatics (Tohoku University) 34 Average and Variance of Continuous Random Variable Average of Random Variable X Variance of Random Variable X
35
Physics Fluctuomatics (Tohoku University) 35 Continuous Random variables and Joint Probability Density Function 確率変数 X と Y の状態空間 (−∞,+∞) において 状態 x と y が区間 (a,b)×(c,d) にある確率 Joint Probability Density Function Normalization Condition For random variables X and Y defined in the state space (−∞,+∞), the probability that the state vector (x,y) is in the region (a,b) (c,d) is expressed as
36
Physics Fluctuomatics (Tohoku University) 36 Continuous Random Variables and Marginal Probability Density Function Marginal Probability Density Function of Random Variable Y
37
Physics Fluctuomatics (Tohoku University) 37 Independency of Continuous Random Variables Random variables X and Y are independent of each other. Joint Probability Density Function of X and Y Probability Density Function of Y Marginal Probability Density Function Y Probability Density Function of X
38
Physics Fluctuomatics (Tohoku University) 38 Covariance of Continuous Random Variables Covariance of Random Variables X and Y Covariance Matrix
39
Physics Fluctuomatics (Tohoku University) 39 Uniform Distribution U(a,b) Probability Density Function of Uniform Distribution p(x)p(x) x 0 ab (b-a) -1
40
Physics Fluctuomatics (Tohoku University) 40 Gauss Distribution N(μ,σ 2 ) The average and the variance are derived by means of Gauss Integral Formula Probability Density Function of Gauss Distribution with average μ and variance σ 2 p(x)p(x) μ x 0
41
Physics Fluctuomatics (Tohoku University) 41 Multi-Dimensional Gauss Distribution by using the following d -dimentional Gauss integral formula For a positive definite real symmetric matrix C, two- Dimensional Gaussian Distribution is defined by The covariance matrix is given in terms of the matrix C as follows:
42
Physics Fluctuomatics (Tohoku University) 42 Law of Large Numbers Let us suppose that random variables X 1,X 2,...,X n are identical and mutual independent random variables with average Then we have Central Limit Theorem tends to the Gauss distribution with average and variance 2 /n as n + . We consider a sequence of independent, identical distributed random variables, {X 1,X 2,...,X n }, with average and variance Then the distribution of the random variable
43
Physics Fluctuomatics (Tohoku University) 43 Summary a.Event and Probability b.Joint Probability and Conditional Probability c.Bayes Formula, Prior Probability and Posterior Probability d.Discrete Random Variable and Probability Distribution e.Continuous Random Variable and Probability Density Function f.Average, Variance and Covariance g.Uniform Distribution h.Gauss Distribution Last Talk Present Talk
44
Physics Fluctuomatics (Tohoku University) 44 Practice 2-1 Let us suppose that a random variable X takes binary values 1 and the probability distribution is given by Derive the expression of average E[X] and variance V[X] and draw their graphs by using your personal computer.
45
Physics Fluctuomatics (Tohoku University) 45 Practice 2-2 Derive the expressions of Marginal Probability Destribution of X, P(X), and the covariance of X and Y, Cov[X,Y]. Let us suppose that random variables X and Y take binary values 1 and the joint probability distribution is given by
46
Physics Fluctuomatics (Tohoku University) 46 Practice 2-3 Show that it is rewritten as Hint cosh(c) is an even function for any real number c. Let us suppose that random variables X and Y take binary values 1 and the conditional probability distribution is given by
47
Physics Fluctuomatics (Tohoku University) 47 Practice 2-4 Prove the Gauss integral formula: Hint
48
Physics Fluctuomatics (Tohoku University) 48 Practice 2-5 Prove that the average E[X] and the variance V[X] are given by Let us suppose that a continuous random variable X takes any real number and its probability density function is given by Draw the graphs of p(x) for μ=0, σ=10, 20, 40 by using your personal computer.
49
Physics Fluctuomatics (Tohoku University) 49 Practice 2-6 Make a program for generating random numbers of uniform distribution U(0,1). Draw histgrams for N generated random numbers for N=10, 20, 50, 100 and 1000. In the C language, you can use the function rand() that generate one of values 0,1,2,…,randmax, randomly. Here, randmax is the maximum value of outputs of rand().
50
Physics Fluctuomatics (Tohoku University) 50 Practice 2-7 Make a program that generates random numbers of Gauss distribution with average and variance σ 2. Draw histgrams for N generated random numbers for N=10, 20, 50, 100 and 1000. For n random numbers x 1,x 2,…,x n generated by any probability distribution, (x 1 +x 2 +…+x n )/n tends to the Gauss distribution with average m and variance σ 2 /n for sufficient large n. [Central Limit Theorem] First we have to generate twelve uniform random numbers x 1,x 2,…,x 12 in the interval [0,1]. Gauss random number with average 0 and variaince 1 σ ξ +μ generate Gauss random numbers with average μ and variance σ 2 Hint:
51
Physics Fluctuomatics (Tohoku University) 51 Practice 2-8 For any positive integer d and d d positive definite real symmetric matrix C, prove the following d- dimensional Gauss integral formulas: By using eigenvalues λ i and their corresponding eigenvectors (i=1,2,…,d) of the matrix C, we have Hint:
52
Physics Fluctuomatics (Tohoku University) 52 Practice 2-9 Prove that the average vector is and the covariance matrix is C. We consider continuous random variables X 1,X 2,…,,X d. The joint probability density function is given by
53
Physics Fluctuomatics (Tohoku University) 53 Summary a.Event and Probability b.Joint Probability and Conditional Probability c.Bayes Formulas, Prior Probability and Posterior Probability d.Discrete Random Variable and Probability Distribution e.Continuous Random Variable and Probability Density Function f.Average, Variance and Covariance g.Uniform Distribution h.Gauss Distribution
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.