Probabilistic and Bayesian Machine Learning

Μέγεθος: px
Εμφάνιση ξεκινά από τη σελίδα:

Download "Probabilistic and Bayesian Machine Learning"

Transcript

1 Probabilistic and Bayesian Machine Learning Day 3: The EM Algorithm Yee Whye Teh Gatsby Computational Neuroscience Unit University College London ywteh/teaching/probmodels

2 The Expectation Maximisation (EM) algorithm The EM algorithm finds a (local) maximum of a latent variable model likelihood P (X, Y θ). It starts from arbitrary values of the parameters, and iterates two steps: E step: Fill in values of latent variables according to posterior given data. M step: Maximise likelihood as if latent variables were not hidden. Useful in models where learning would be easy if unobserved variables were, in fact, observed (e.g. MoGs). Decomposes difficult problems into series of tractable steps. No gradients and learning rate. Framework lends itself to principled approximations.

3 Jensen s Inequality log(x) log(α x 1 + (1 α) x 2 ) α log(x 1 ) + (1 α) log(x 2 ) x 1 α x 1 + (1 α)x 2 x 2 For α i 0, α i = 1 and any {x i > 0} ( ) log α i x i i i α i log(x i ) Equality if and only if α i = 1 for some i (and therefore all others are 0).

4 The Free Energy for a Latent Variable Model Observed data X = {X i }; Latent variables Y = {Y i }; Parameters θ. Goal: Maximize the log likelihood (i.e. ML learning) wrt θ: l(θ) = log P (X θ) = log dy, Any distribution,, over the hidden variables can be used to obtain a lower bound on the log likelihood using Jensen s inequality: l(θ) = log dy log dy def = F(q, θ). Now, log dy = = log dy log dy log dy + H[q], where H[q] is the entropy of. So: F(q, θ) = log + H[q]

5 The Free Energy for a Latent Variable Model Observed data X = {X i }; Latent variables Y = {Y i }; Parameters θ. Goal: Maximize the log likelihood (i.e. ML learning) wrt θ: l(θ) = log P (X θ) = log dy, Any distribution,, over the hidden variables can be used to obtain a lower bound on the log likelihood using Jensen s inequality: l(θ) = log dy log dy def = F(q, θ). Now, log dy = = log dy log dy log dy + H[q], where H[q] is the entropy of. So: F(q, θ) = log + H[q]

6 The Free Energy for a Latent Variable Model Observed data X = {X i }; Latent variables Y = {Y i }; Parameters θ. Goal: Maximize the log likelihood (i.e. ML learning) wrt θ: l(θ) = log P (X θ) = log dy, Any distribution,, over the hidden variables can be used to obtain a lower bound on the log likelihood using Jensen s inequality: l(θ) = log dy log dy def = F(q, θ). Now, log dy = = log dy log dy log dy + H[q], where H[q] is the entropy of. So: F(q, θ) = log + H[q]

7 The Free Energy for a Latent Variable Model Observed data X = {X i }; Latent variables Y = {Y i }; Parameters θ. Goal: Maximize the log likelihood (i.e. ML learning) wrt θ: l(θ) = log P (X θ) = log dy, Any distribution,, over the hidden variables can be used to obtain a lower bound on the log likelihood using Jensen s inequality: l(θ) = log dy log dy def = F(q, θ). Now, log dy = = log dy log dy log dy + H[q], where H[q] is the entropy of. So: F(q, θ) = log + H[q]

8 The Free Energy for a Latent Variable Model Observed data X = {X i }; Latent variables Y = {Y i }; Parameters θ. Goal: Maximize the log likelihood (i.e. ML learning) wrt θ: l(θ) = log P (X θ) = log dy, Any distribution,, over the hidden variables can be used to obtain a lower bound on the log likelihood using Jensen s inequality: l(θ) = log dy log dy def = F(q, θ). Now, log dy = = log dy log dy log dy + H[q], where H[q] is the entropy of. So: F(q, θ) = log + H[q]

9 The E and M steps of EM The lower bound on the log likelihood is given by: F(q, θ) = log + H[q], EM alternates between: E step: optimize F(q, θ) wrt distribution over hidden variables holding parameters fixed: q (k) (Y) := argmax F (, θ (k 1)). M step: maximize F(q, θ) wrt parameters holding hidden distribution fixed: θ (k) := argmax θ F ( q (k) (Y), θ ) = argmax θ log q (k) (Y) The second equality comes from the fact that the entropy of does not depend directly on θ.

10 The E and M steps of EM The lower bound on the log likelihood is given by: F(q, θ) = log + H[q], EM alternates between: E step: optimize F(q, θ) wrt distribution over hidden variables holding parameters fixed: q (k) (Y) := argmax F (, θ (k 1)). M step: maximize F(q, θ) wrt parameters holding hidden distribution fixed: θ (k) := argmax θ F ( q (k) (Y), θ ) = argmax θ log q (k) (Y) The second equality comes from the fact that the entropy of does not depend directly on θ.

11 The E and M steps of EM The lower bound on the log likelihood is given by: F(q, θ) = log + H[q], EM alternates between: E step: optimize F(q, θ) wrt distribution over hidden variables holding parameters fixed: q (k) (Y) := argmax F (, θ (k 1)). M step: maximize F(q, θ) wrt parameters holding hidden distribution fixed: θ (k) := argmax θ F ( q (k) (Y), θ ) = argmax θ log q (k) (Y) The second equality comes from the fact that the entropy of does not depend directly on θ.

12 EM as Coordinate Ascent in F r π

13 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

14 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

15 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

16 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

17 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

18 The E Step The free energy can be re-written F(q, θ)= log dy P (Y X, θ)p (X θ) = log dy = log P (X θ) dy + log = l(θ) KL[ P (Y X, θ)] The second term is the Kullback-Leibler divergence. P (Y X, θ) dy This means that, for fixed θ, F is bounded above by l, and achieves that bound when KL[ P (Y X, θ)] = 0. But KL[q p] is zero if and only if q = p. So, the E step simply sets q (k) (Y) = P (Y X, θ (k 1) ) and, after an E step, the free energy equals the likelihood.

19 Coordinate Ascent in F (Demo) One parameter mixture: s Bernoulli[π] x s = 0 N [ 1, 1] x s = 1 N [1, 1] and one data point x 1 =.3. q(s) is a distribution on a single binary latent, and so is represented by r 1 [0, 1]

20 Coordinate Ascent in F (Demo) r π

21 EM for Learning HMMs Y 1 Y 2 Y 3 Y τ X 1 X 2 X 3 X τ Parameters: θ = {π, T, A} Free energy: F(q, θ) = Y 1:τ q(y 1:τ )(log P (X 1:τ, Y 1:τ θ) log q(y 1:τ )) E-step: Maximise F w.r.t. q with θ fixed: q (Y 1:τ ) = P (Y 1:τ X 1:τ, θ) We will only need the marginal probabilities q (Y t, Y t+1 ), which can also be obtained from the forward-backward algorithm. M-step: Maximize F w.r.t. θ with q fixed. We can re-estimate the parameters by computing the expected number of times the HMM was in state i, emitted symbol k and transitioned to state j. This is the Baum-Welch algorithm and it predates the (more general) EM algorithm.

22 M step: Parameter updates are given by just ratios of expected counts We can derive the following updates by taking derivatives of F w.r.t. θ. Let the posterior marginals be: γ t (i) = P (Y t = i X 1:τ ) α t (i)β t (i) ξ t (ij) = P (Y t = i, Y t+1 = j X 1:τ ) α i (i)p (Y t+1 = j Y t = i)p (X t+1 Y t+1 = j)β t+1 (j) The initial state distribution is the expected number of times in state i at t = 1: The estimated transition probabilities are: ˆπ i = γ 1 (i) ˆT ij = τ 1 t=1 ξ t(ij) τ 1 t=1 γ t(i) The output distributions are the expected number of times we observe a particular symbol in a particular state: t:x  ik = t =k γ t(i) τ t=1 γ t(i) (or the state-probability-weighted sufficient statistics for exponential family observation models).

23 EM Never Decreases the Likelihood The E and M steps together never decrease the log likelihood: l ( θ (k 1)) = E step F( q (k), θ (k 1)) M step F ( q (k), θ (k)) Jensen l ( θ (k)), The E step brings the free energy to the likelihood. The M-step maximises the free energy wrt θ. F l by Jensen or, equivalently, from the non-negativity of KL If the M-step is executed so that θ (k) θ (k 1) iff F increases, then the overall EM iteration will step to a new value of θ iff the likelihood increases.

24 EM Never Decreases the Likelihood The E and M steps together never decrease the log likelihood: l ( θ (k 1)) = E step F( q (k), θ (k 1)) M step F ( q (k), θ (k)) Jensen l ( θ (k)), The E step brings the free energy to the likelihood. The M-step maximises the free energy wrt θ. F l by Jensen or, equivalently, from the non-negativity of KL If the M-step is executed so that θ (k) θ (k 1) iff F increases, then the overall EM iteration will step to a new value of θ iff the likelihood increases.

25 EM Never Decreases the Likelihood The E and M steps together never decrease the log likelihood: l ( θ (k 1)) = E step F( q (k), θ (k 1)) M step F ( q (k), θ (k)) Jensen l ( θ (k)), The E step brings the free energy to the likelihood. The M-step maximises the free energy wrt θ. F l by Jensen or, equivalently, from the non-negativity of KL If the M-step is executed so that θ (k) θ (k 1) iff F increases, then the overall EM iteration will step to a new value of θ iff the likelihood increases.

26 EM Never Decreases the Likelihood The E and M steps together never decrease the log likelihood: l ( θ (k 1)) = E step F( q (k), θ (k 1)) M step F ( q (k), θ (k)) Jensen l ( θ (k)), The E step brings the free energy to the likelihood. The M-step maximises the free energy wrt θ. F l by Jensen or, equivalently, from the non-negativity of KL If the M-step is executed so that θ (k) θ (k 1) iff F increases, then the overall EM iteration will step to a new value of θ iff the likelihood increases.

27 EM Never Decreases the Likelihood The E and M steps together never decrease the log likelihood: l ( θ (k 1)) = E step F( q (k), θ (k 1)) M step F ( q (k), θ (k)) Jensen l ( θ (k)), The E step brings the free energy to the likelihood. The M-step maximises the free energy wrt θ. F l by Jensen or, equivalently, from the non-negativity of KL If the M-step is executed so that θ (k) θ (k 1) iff F increases, then the overall EM iteration will step to a new value of θ iff the likelihood increases.

28 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

29 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

30 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

31 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

32 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

33 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

34 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

35 Fixed Points of EM are Stationary Points in l Let a fixed point of EM occur with parameter θ. Then: θ log P (Y, X θ) P (Y X,θ ) = 0 θ Now, l(θ)= log P (X θ)= log P (X θ) P (Y X,θ ) = log P (Y X, θ) so, P (Y X,θ ) = log P (Y X,θ ) log P (Y X, θ) P (Y X,θ ) d dθ l(θ)= d dθ log P (Y X,θ ) d dθ log P (Y X, θ) P (Y X,θ ) The second term is 0 at θ if the derivative exists (minimum of KL[ ]), and thus: d dθ l(θ) θ = d dθ log P (Y X,θ ) = 0 θ So, EM converges to a stationary point of l(θ).

36 Maxima in F correspond to maxima in l Let θ now be the parameter value at a local maximum of F (and thus at a fixed point) Differentiating the previous expression wrt θ again we find d 2 d2 dθ2l(θ)= dθ 2 log P (Y X,θ ) d2 dθ 2 log P (Y X, θ) P (Y X,θ ) The first term on the right is negative (a maximum) and the second term is positive (a minimum). Thus the curvature of the likelihood is negative and θ is a maximum of l. [... as long as the derivatives exist. They sometimes don t (zero-noise ICA)].

37 Maxima in F correspond to maxima in l Let θ now be the parameter value at a local maximum of F (and thus at a fixed point) Differentiating the previous expression wrt θ again we find d 2 d2 dθ2l(θ)= dθ 2 log P (Y X,θ ) d2 dθ 2 log P (Y X, θ) P (Y X,θ ) The first term on the right is negative (a maximum) and the second term is positive (a minimum). Thus the curvature of the likelihood is negative and θ is a maximum of l. [... as long as the derivatives exist. They sometimes don t (zero-noise ICA)].

38 Maxima in F correspond to maxima in l Let θ now be the parameter value at a local maximum of F (and thus at a fixed point) Differentiating the previous expression wrt θ again we find d 2 d2 dθ2l(θ)= dθ 2 log P (Y X,θ ) d2 dθ 2 log P (Y X, θ) P (Y X,θ ) The first term on the right is negative (a maximum) and the second term is positive (a minimum). Thus the curvature of the likelihood is negative and θ is a maximum of l. [... as long as the derivatives exist. They sometimes don t (zero-noise ICA)].

39 Maxima in F correspond to maxima in l Let θ now be the parameter value at a local maximum of F (and thus at a fixed point) Differentiating the previous expression wrt θ again we find d 2 d2 dθ2l(θ)= dθ 2 log P (Y X,θ ) d2 dθ 2 log P (Y X, θ) P (Y X,θ ) The first term on the right is negative (a maximum) and the second term is positive (a minimum). Thus the curvature of the likelihood is negative and θ is a maximum of l. [... as long as the derivatives exist. They sometimes don t (zero-noise ICA)].

40 Maxima in F correspond to maxima in l Let θ now be the parameter value at a local maximum of F (and thus at a fixed point) Differentiating the previous expression wrt θ again we find d 2 d2 dθ2l(θ)= dθ 2 log P (Y X,θ ) d2 dθ 2 log P (Y X, θ) P (Y X,θ ) The first term on the right is negative (a maximum) and the second term is positive (a minimum). Thus the curvature of the likelihood is negative and θ is a maximum of l. [... as long as the derivatives exist. They sometimes don t (zero-noise ICA)].

41 Partial M steps and Partial E steps Partial M steps: The proof holds even if we just increase F wrt θ rather than maximize. (Dempster, Laird and Rubin (1977) call this the generalized EM, or GEM, algorithm). Partial E steps: We can also just increase F wrt to some of the qs. For example, sparse or online versions of the EM algorithm would compute the posterior for a subset of the data points or as the data arrives, respectively. You can also update the posterior over a subset of the hidden variables, while holding others fixed...

42 Failure Modes of EM EM can fail under a number of degenerate situations: EM may converge to a bad local maximum. Likelihood function may not be bounded above. E.g. a cluster responsible for a single data item can given arbitrarily large likelihood if variance σ m 0. Free energy may not be well defined (or is ).

43 EM for Exponential Families Defn: P is in the exponential family for Y, X if it can be written: = h(y, X) exp{θ T(Y, X)}/Z(θ) where Z(θ) = h(y, X) exp{θ T(Y, X)}d(Y, X) E step: q(y ) = P (Y X, θ) M step: θ (k) := argmax F(q, θ) θ F(q, θ) = = q(y ) log dy H[q] q(y )[θ T(Y, X) log Z(θ)]dY + const It is easy to verify that: Therefore, M step solves: log Z(θ) θ = E P (Y,X θ) [T(Y, X)] F θ = E q(y )[T(Y, X)] E P (Y,X θ) [T(Y, X)] = 0

44 The Central Role of the Partition Function The partition function Z(θ) of exponential families plays an important role in inference and learning of such models. Undirected graphical models are exponential families if each factor in the model has an exponential family form: f i (Y Ci, X Ci ) = h i (Y Ci, X Ci ) exp{θi T i (Y Ci, X Ci )} { } = 1 h i (Y Ci, X Ci ) exp θi T i (Y Ci, X Ci ) Z(θ) i Likelihoods P (X θ) are basically partition functions of undirected graphical models. Derivatives give the sufficient statistics of the models: log Z(θ) = µ = E P (Y,X θ) [T(Y, X)] Second derivatives give the covariance of sufficient statistics: 2 log Z(θ) = E P (Y,X θ) [(T(Y, X) µ)(t(y, X) µ) ] Higher order derivatives give all cumulants, so log Z(θ) is the cumulant generative function of the exponential family distribution. Many approximate inference techniques are based on approximating log Z(θ). i

45 End Notes A. P. Dempster, N. M. Laird and D. B. Rubin (1977). Maximum Likelihood from Incomplete Data via the EM Algorithm. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 39, No. 1 (1977), pp R. M. Neal and G. E. Hinton (1998). A view of the EM algorithm that justifies incremental, sparse, and other variants. In M. I. Jordan (editor) Learning in Graphical Models, pp , Dordrecht: Kluwer Academic Publishers. radford/ftp/emk.pdf Z. Ghahramani and G. E. Hinton (1996). The EM Algorithm for Mixtures of Factor Analyzers. University of Toronto Technical Report CRG-TR

46 End Notes

Probabilistic & Unsupervised Learning

Probabilistic & Unsupervised Learning Probabilistic & Unsupervised Learning Week 3: The EM algorithm Yee Whye Teh ywteh@gatsby.ucl.ac.uk Gatsby Computational Neuroscience Unit University College London Term 1, Autumn 2009 Mixtures of Gaussians

Διαβάστε περισσότερα

lecture 10: the em algorithm (contd)

lecture 10: the em algorithm (contd) lecture 10: the em algorithm (contd) STAT 545: Intro. to Computational Statistics Vinayak Rao Purdue University September 24, 2018 Exponential family models Consider a space X. E.g. R, R d or N. ϕ(x) =

Διαβάστε περισσότερα

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science. Bayesian statistics DS GA 1002 Probability and Statistics for Data Science http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall17 Carlos Fernandez-Granda Frequentist vs Bayesian statistics In frequentist

Διαβάστε περισσότερα

Other Test Constructions: Likelihood Ratio & Bayes Tests

Other Test Constructions: Likelihood Ratio & Bayes Tests Other Test Constructions: Likelihood Ratio & Bayes Tests Side-Note: So far we have seen a few approaches for creating tests such as Neyman-Pearson Lemma ( most powerful tests of H 0 : θ = θ 0 vs H 1 :

Διαβάστε περισσότερα

Solution Series 9. i=1 x i and i=1 x i.

Solution Series 9. i=1 x i and i=1 x i. Lecturer: Prof. Dr. Mete SONER Coordinator: Yilin WANG Solution Series 9 Q1. Let α, β >, the p.d.f. of a beta distribution with parameters α and β is { Γ(α+β) Γ(α)Γ(β) f(x α, β) xα 1 (1 x) β 1 for < x

Διαβάστε περισσότερα

Statistical Inference I Locally most powerful tests

Statistical Inference I Locally most powerful tests Statistical Inference I Locally most powerful tests Shirsendu Mukherjee Department of Statistics, Asutosh College, Kolkata, India. shirsendu st@yahoo.co.in So far we have treated the testing of one-sided

Διαβάστε περισσότερα

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch: HOMEWORK 4 Problem a For the fast loading case, we want to derive the relationship between P zz and λ z. We know that the nominal stress is expressed as: P zz = ψ λ z where λ z = λ λ z. Therefore, applying

Διαβάστε περισσότερα

2 Composition. Invertible Mappings

2 Composition. Invertible Mappings Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan Composition. Invertible Mappings In this section we discuss two procedures for creating new mappings from old ones, namely,

Διαβάστε περισσότερα

Example Sheet 3 Solutions

Example Sheet 3 Solutions Example Sheet 3 Solutions. i Regular Sturm-Liouville. ii Singular Sturm-Liouville mixed boundary conditions. iii Not Sturm-Liouville ODE is not in Sturm-Liouville form. iv Regular Sturm-Liouville note

Διαβάστε περισσότερα

Homework 8 Model Solution Section

Homework 8 Model Solution Section MATH 004 Homework Solution Homework 8 Model Solution Section 14.5 14.6. 14.5. Use the Chain Rule to find dz where z cosx + 4y), x 5t 4, y 1 t. dz dx + dy y sinx + 4y)0t + 4) sinx + 4y) 1t ) 0t + 4t ) sinx

Διαβάστε περισσότερα

Math221: HW# 1 solutions

Math221: HW# 1 solutions Math: HW# solutions Andy Royston October, 5 7.5.7, 3 rd Ed. We have a n = b n = a = fxdx = xdx =, x cos nxdx = x sin nx n sin nxdx n = cos nx n = n n, x sin nxdx = x cos nx n + cos nxdx n cos n = + sin

Διαβάστε περισσότερα

Homework 3 Solutions

Homework 3 Solutions Homework 3 Solutions Igor Yanovsky (Math 151A TA) Problem 1: Compute the absolute error and relative error in approximations of p by p. (Use calculator!) a) p π, p 22/7; b) p π, p 3.141. Solution: For

Διαβάστε περισσότερα

Section 8.3 Trigonometric Equations

Section 8.3 Trigonometric Equations 99 Section 8. Trigonometric Equations Objective 1: Solve Equations Involving One Trigonometric Function. In this section and the next, we will exple how to solving equations involving trigonometric functions.

Διαβάστε περισσότερα

: Monte Carlo EM 313, Louis (1982) EM, EM Newton-Raphson, /. EM, 2 Monte Carlo EM Newton-Raphson, Monte Carlo EM, Monte Carlo EM, /. 3, Monte Carlo EM

: Monte Carlo EM 313, Louis (1982) EM, EM Newton-Raphson, /. EM, 2 Monte Carlo EM Newton-Raphson, Monte Carlo EM, Monte Carlo EM, /. 3, Monte Carlo EM 2008 6 Chinese Journal of Applied Probability and Statistics Vol.24 No.3 Jun. 2008 Monte Carlo EM 1,2 ( 1,, 200241; 2,, 310018) EM, E,,. Monte Carlo EM, EM E Monte Carlo,. EM, Monte Carlo EM,,,,. Newton-Raphson.

Διαβάστε περισσότερα

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018 Journal of rogressive Research in Mathematics(JRM) ISSN: 2395-028 SCITECH Volume 3, Issue 2 RESEARCH ORGANISATION ublished online: March 29, 208 Journal of rogressive Research in Mathematics www.scitecresearch.com/journals

Διαβάστε περισσότερα

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β 3.4 SUM AND DIFFERENCE FORMULAS Page Theorem cos(αβ cos α cos β -sin α cos(α-β cos α cos β sin α NOTE: cos(αβ cos α cos β cos(α-β cos α -cos β Proof of cos(α-β cos α cos β sin α Let s use a unit circle

Διαβάστε περισσότερα

derivation of the Laplacian from rectangular to spherical coordinates

derivation of the Laplacian from rectangular to spherical coordinates derivation of the Laplacian from rectangular to spherical coordinates swapnizzle 03-03- :5:43 We begin by recognizing the familiar conversion from rectangular to spherical coordinates (note that φ is used

Διαβάστε περισσότερα

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM Solutions to Question 1 a) The cumulative distribution function of T conditional on N n is Pr T t N n) Pr max X 1,..., X N ) t N n) Pr max

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Αν κάπου κάνετε κάποιες υποθέσεις να αναφερθούν στη σχετική ερώτηση. Όλα τα αρχεία που αναφέρονται στα προβλήματα βρίσκονται στον ίδιο φάκελο με το εκτελέσιμο

Διαβάστε περισσότερα

ST5224: Advanced Statistical Theory II

ST5224: Advanced Statistical Theory II ST5224: Advanced Statistical Theory II 2014/2015: Semester II Tutorial 7 1. Let X be a sample from a population P and consider testing hypotheses H 0 : P = P 0 versus H 1 : P = P 1, where P j is a known

Διαβάστε περισσότερα

Solutions to Exercise Sheet 5

Solutions to Exercise Sheet 5 Solutions to Eercise Sheet 5 jacques@ucsd.edu. Let X and Y be random variables with joint pdf f(, y) = 3y( + y) where and y. Determine each of the following probabilities. Solutions. a. P (X ). b. P (X

Διαβάστε περισσότερα

C.S. 430 Assignment 6, Sample Solutions

C.S. 430 Assignment 6, Sample Solutions C.S. 430 Assignment 6, Sample Solutions Paul Liu November 15, 2007 Note that these are sample solutions only; in many cases there were many acceptable answers. 1 Reynolds Problem 10.1 1.1 Normal-order

Διαβάστε περισσότερα

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R + Chapter 3. Fuzzy Arithmetic 3- Fuzzy arithmetic: ~Addition(+) and subtraction (-): Let A = [a and B = [b, b in R If x [a and y [b, b than x+y [a +b +b Symbolically,we write A(+)B = [a (+)[b, b = [a +b

Διαβάστε περισσότερα

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ. Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο The time integral of a force is referred to as impulse, is determined by and is obtained from: Newton s 2 nd Law of motion states that the action

Διαβάστε περισσότερα

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS CHAPTER 5 SOLVING EQUATIONS BY ITERATIVE METHODS EXERCISE 104 Page 8 1. Find the positive root of the equation x + 3x 5 = 0, correct to 3 significant figures, using the method of bisection. Let f(x) =

Διαβάστε περισσότερα

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit Ting Zhang Stanford May 11, 2001 Stanford, 5/11/2001 1 Outline Ordinal Classification Ordinal Addition Ordinal Multiplication Ordinal

Διαβάστε περισσότερα

Problem Set 3: Solutions

Problem Set 3: Solutions CMPSCI 69GG Applied Information Theory Fall 006 Problem Set 3: Solutions. [Cover and Thomas 7.] a Define the following notation, C I p xx; Y max X; Y C I p xx; Ỹ max I X; Ỹ We would like to show that C

Διαβάστε περισσότερα

The Simply Typed Lambda Calculus

The Simply Typed Lambda Calculus Type Inference Instead of writing type annotations, can we use an algorithm to infer what the type annotations should be? That depends on the type system. For simple type systems the answer is yes, and

Διαβάστε περισσότερα

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8  questions or comments to Dan Fetter 1 Eon : Fall 8 Suggested Solutions to Problem Set 8 Email questions or omments to Dan Fetter Problem. Let X be a salar with density f(x, θ) (θx + θ) [ x ] with θ. (a) Find the most powerful level α test

Διαβάστε περισσότερα

4.6 Autoregressive Moving Average Model ARMA(1,1)

4.6 Autoregressive Moving Average Model ARMA(1,1) 84 CHAPTER 4. STATIONARY TS MODELS 4.6 Autoregressive Moving Average Model ARMA(,) This section is an introduction to a wide class of models ARMA(p,q) which we will consider in more detail later in this

Διαβάστε περισσότερα

Example of the Baum-Welch Algorithm

Example of the Baum-Welch Algorithm Example of the Baum-Welch Algorithm Larry Moss Q520, Spring 2008 1 Our corpus c We start with a very simple corpus. We take the set Y of unanalyzed words to be {ABBA, BAB}, and c to be given by c(abba)

Διαβάστε περισσότερα

6.3 Forecasting ARMA processes

6.3 Forecasting ARMA processes 122 CHAPTER 6. ARMA MODELS 6.3 Forecasting ARMA processes The purpose of forecasting is to predict future values of a TS based on the data collected to the present. In this section we will discuss a linear

Διαβάστε περισσότερα

Matrices and Determinants

Matrices and Determinants Matrices and Determinants SUBJECTIVE PROBLEMS: Q 1. For what value of k do the following system of equations possess a non-trivial (i.e., not all zero) solution over the set of rationals Q? x + ky + 3z

Διαβάστε περισσότερα

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013 Notes on Average Scattering imes and Hall Factors Jesse Maassen and Mar Lundstrom Purdue University November 5, 13 I. Introduction 1 II. Solution of the BE 1 III. Exercises: Woring out average scattering

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

Every set of first-order formulas is equivalent to an independent set

Every set of first-order formulas is equivalent to an independent set Every set of first-order formulas is equivalent to an independent set May 6, 2008 Abstract A set of first-order formulas, whatever the cardinality of the set of symbols, is equivalent to an independent

Διαβάστε περισσότερα

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with Week 03: C lassification of S econd- Order L inear Equations In last week s lectures we have illustrated how to obtain the general solutions of first order PDEs using the method of characteristics. We

Διαβάστε περισσότερα

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1. Exercises 0 More exercises are available in Elementary Differential Equations. If you have a problem to solve any of them, feel free to come to office hour. Problem Find a fundamental matrix of the given

Διαβάστε περισσότερα

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =? Teko Classes IITJEE/AIEEE Maths by SUHAAG SIR, Bhopal, Ph (0755) 3 00 000 www.tekoclasses.com ANSWERSHEET (TOPIC DIFFERENTIAL CALCULUS) COLLECTION # Question Type A.Single Correct Type Q. (A) Sol least

Διαβάστε περισσότερα

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM Solutions to Question 1 a) The cumulative distribution function of T conditional on N n is Pr (T t N n) Pr (max (X 1,..., X N ) t N n) Pr (max

Διαβάστε περισσότερα

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates Kiryl Tsishchanka Areas and Lengths in Polar Coordinates In this section we develop the formula for the area of a region whose boundary is given by a polar equation. We need to use the formula for the

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Ολοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα είναι μικρότεροι το 1000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Διάρκεια: 3,5 ώρες Καλή

Διαβάστε περισσότερα

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Chapter 6: Systems of Linear Differential. be continuous functions on the interval Chapter 6: Systems of Linear Differential Equations Let a (t), a 2 (t),..., a nn (t), b (t), b 2 (t),..., b n (t) be continuous functions on the interval I. The system of n first-order differential equations

Διαβάστε περισσότερα

Srednicki Chapter 55

Srednicki Chapter 55 Srednicki Chapter 55 QFT Problems & Solutions A. George August 3, 03 Srednicki 55.. Use equations 55.3-55.0 and A i, A j ] = Π i, Π j ] = 0 (at equal times) to verify equations 55.-55.3. This is our third

Διαβάστε περισσότερα

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3 1 State vector space and the dual space Space of wavefunctions The space of wavefunctions is the set of all

Διαβάστε περισσότερα

EE512: Error Control Coding

EE512: Error Control Coding EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3

Διαβάστε περισσότερα

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1 Conceptual Questions. State a Basic identity and then verify it. a) Identity: Solution: One identity is cscθ) = sinθ) Practice Exam b) Verification: Solution: Given the point of intersection x, y) of the

Διαβάστε περισσότερα

Second Order Partial Differential Equations

Second Order Partial Differential Equations Chapter 7 Second Order Partial Differential Equations 7.1 Introduction A second order linear PDE in two independent variables (x, y Ω can be written as A(x, y u x + B(x, y u xy + C(x, y u u u + D(x, y

Διαβάστε περισσότερα

6. MAXIMUM LIKELIHOOD ESTIMATION

6. MAXIMUM LIKELIHOOD ESTIMATION 6 MAXIMUM LIKELIHOOD ESIMAION [1] Maximum Likelihood Estimator (1) Cases in which θ (unknown parameter) is scalar Notational Clarification: From now on, we denote the true value of θ as θ o hen, view θ

Διαβάστε περισσότερα

Mean-Variance Analysis

Mean-Variance Analysis Mean-Variance Analysis Jan Schneider McCombs School of Business University of Texas at Austin Jan Schneider Mean-Variance Analysis Beta Representation of the Risk Premium risk premium E t [Rt t+τ ] R1

Διαβάστε περισσότερα

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics Fourier Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018 Introduction Not all functions can be represented by Taylor series. f (k) (c) A Taylor series f (x) = (x c)

Διαβάστε περισσότερα

Approximation of distance between locations on earth given by latitude and longitude

Approximation of distance between locations on earth given by latitude and longitude Approximation of distance between locations on earth given by latitude and longitude Jan Behrens 2012-12-31 In this paper we shall provide a method to approximate distances between two points on earth

Διαβάστε περισσότερα

Second Order RLC Filters

Second Order RLC Filters ECEN 60 Circuits/Electronics Spring 007-0-07 P. Mathys Second Order RLC Filters RLC Lowpass Filter A passive RLC lowpass filter (LPF) circuit is shown in the following schematic. R L C v O (t) Using phasor

Διαβάστε περισσότερα

Lecture 12: Pseudo likelihood approach

Lecture 12: Pseudo likelihood approach Lecture 12: Pseudo likelihood approach Pseudo MLE Let X 1,...,X n be a random sample from a pdf in a family indexed by two parameters θ and π with likelihood l(θ,π). The method of pseudo MLE may be viewed

Διαβάστε περισσότερα

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω 0 1 2 3 4 5 6 ω ω + 1 ω + 2 ω + 3 ω + 4 ω2 ω2 + 1 ω2 + 2 ω2 + 3 ω3 ω3 + 1 ω3 + 2 ω4 ω4 + 1 ω5 ω 2 ω 2 + 1 ω 2 + 2 ω 2 + ω ω 2 + ω + 1 ω 2 + ω2 ω 2 2 ω 2 2 + 1 ω 2 2 + ω ω 2 3 ω 3 ω 3 + 1 ω 3 + ω ω 3 +

Διαβάστε περισσότερα

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions SCHOOL OF MATHEMATICAL SCIENCES GLMA Linear Mathematics 00- Examination Solutions. (a) i. ( + 5i)( i) = (6 + 5) + (5 )i = + i. Real part is, imaginary part is. (b) ii. + 5i i ( + 5i)( + i) = ( i)( + i)

Διαβάστε περισσότερα

Tridiagonal matrices. Gérard MEURANT. October, 2008

Tridiagonal matrices. Gérard MEURANT. October, 2008 Tridiagonal matrices Gérard MEURANT October, 2008 1 Similarity 2 Cholesy factorizations 3 Eigenvalues 4 Inverse Similarity Let α 1 ω 1 β 1 α 2 ω 2 T =......... β 2 α 1 ω 1 β 1 α and β i ω i, i = 1,...,

Διαβάστε περισσότερα

Math 6 SL Probability Distributions Practice Test Mark Scheme

Math 6 SL Probability Distributions Practice Test Mark Scheme Math 6 SL Probability Distributions Practice Test Mark Scheme. (a) Note: Award A for vertical line to right of mean, A for shading to right of their vertical line. AA N (b) evidence of recognizing symmetry

Διαβάστε περισσότερα

Exercises to Statistics of Material Fatigue No. 5

Exercises to Statistics of Material Fatigue No. 5 Prof. Dr. Christine Müller Dipl.-Math. Christoph Kustosz Eercises to Statistics of Material Fatigue No. 5 E. 9 (5 a Show, that a Fisher information matri for a two dimensional parameter θ (θ,θ 2 R 2, can

Διαβάστε περισσότερα

Durbin-Levinson recursive method

Durbin-Levinson recursive method Durbin-Levinson recursive method A recursive method for computing ϕ n is useful because it avoids inverting large matrices; when new data are acquired, one can update predictions, instead of starting again

Διαβάστε περισσότερα

The challenges of non-stable predicates

The challenges of non-stable predicates The challenges of non-stable predicates Consider a non-stable predicate Φ encoding, say, a safety property. We want to determine whether Φ holds for our program. The challenges of non-stable predicates

Διαβάστε περισσότερα

Section 7.6 Double and Half Angle Formulas

Section 7.6 Double and Half Angle Formulas 09 Section 7. Double and Half Angle Fmulas To derive the double-angles fmulas, we will use the sum of two angles fmulas that we developed in the last section. We will let α θ and β θ: cos(θ) cos(θ + θ)

Διαβάστε περισσότερα

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required) Phys460.nb 81 ψ n (t) is still the (same) eigenstate of H But for tdependent H. The answer is NO. 5.5.5. Solution for the tdependent Schrodinger s equation If we assume that at time t 0, the electron starts

Διαβάστε περισσότερα

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- -----------------

Inverse trigonometric functions & General Solution of Trigonometric Equations. ------------------ ----------------------------- ----------------- Inverse trigonometric functions & General Solution of Trigonometric Equations. 1. Sin ( ) = a) b) c) d) Ans b. Solution : Method 1. Ans a: 17 > 1 a) is rejected. w.k.t Sin ( sin ) = d is rejected. If sin

Διαβάστε περισσότερα

Parametrized Surfaces

Parametrized Surfaces Parametrized Surfaces Recall from our unit on vector-valued functions at the beginning of the semester that an R 3 -valued function c(t) in one parameter is a mapping of the form c : I R 3 where I is some

Διαβάστε περισσότερα

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics A Bonus-Malus System as a Markov Set-Chain Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics Contents 1. Markov set-chain 2. Model of bonus-malus system 3. Example 4. Conclusions

Διαβάστε περισσότερα

PARTIAL NOTES for 6.1 Trigonometric Identities

PARTIAL NOTES for 6.1 Trigonometric Identities PARTIAL NOTES for 6.1 Trigonometric Identities tanθ = sinθ cosθ cotθ = cosθ sinθ BASIC IDENTITIES cscθ = 1 sinθ secθ = 1 cosθ cotθ = 1 tanθ PYTHAGOREAN IDENTITIES sin θ + cos θ =1 tan θ +1= sec θ 1 + cot

Διαβάστε περισσότερα

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD CHAPTER FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD EXERCISE 36 Page 66. Determine the Fourier series for the periodic function: f(x), when x +, when x which is periodic outside this rge of period.

Διαβάστε περισσότερα

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0. DESIGN OF MACHINERY SOLUTION MANUAL -7-1! PROBLEM -7 Statement: Design a double-dwell cam to move a follower from to 25 6, dwell for 12, fall 25 and dwell for the remader The total cycle must take 4 sec

Διαβάστε περισσότερα

Uniform Convergence of Fourier Series Michael Taylor

Uniform Convergence of Fourier Series Michael Taylor Uniform Convergence of Fourier Series Michael Taylor Given f L 1 T 1 ), we consider the partial sums of the Fourier series of f: N 1) S N fθ) = ˆfk)e ikθ. k= N A calculation gives the Dirichlet formula

Διαβάστε περισσότερα

Lecture 34 Bootstrap confidence intervals

Lecture 34 Bootstrap confidence intervals Lecture 34 Bootstrap confidence intervals Confidence Intervals θ: an unknown parameter of interest We want to find limits θ and θ such that Gt = P nˆθ θ t If G 1 1 α is known, then P θ θ = P θ θ = 1 α

Διαβάστε περισσότερα

Laplace Expansion. Peter McCullagh. WHOA-PSI, St Louis August, Department of Statistics University of Chicago

Laplace Expansion. Peter McCullagh. WHOA-PSI, St Louis August, Department of Statistics University of Chicago Laplace Expansion Peter McCullagh Department of Statistics University of Chicago WHOA-PSI, St Louis August, 2017 Outline Laplace approximation in 1D Laplace expansion in 1D Laplace expansion in R p Formal

Διαβάστε περισσότερα

5.4 The Poisson Distribution.

5.4 The Poisson Distribution. The worst thing you can do about a situation is nothing. Sr. O Shea Jackson 5.4 The Poisson Distribution. Description of the Poisson Distribution Discrete probability distribution. The random variable

Διαβάστε περισσότερα

An Inventory of Continuous Distributions

An Inventory of Continuous Distributions Appendi A An Inventory of Continuous Distributions A.1 Introduction The incomplete gamma function is given by Also, define Γ(α; ) = 1 with = G(α; ) = Z 0 Z 0 Z t α 1 e t dt, α > 0, >0 t α 1 e t dt, α >

Διαβάστε περισσότερα

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

Main source: Discrete-time systems and computer control by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1 A Brief History of Sampling Research 1915 - Edmund Taylor Whittaker (1873-1956) devised a

Διαβάστε περισσότερα

Tutorial on Multinomial Logistic Regression

Tutorial on Multinomial Logistic Regression Tutorial on Multinomial Logistic Regression Javier R Movellan June 19, 2013 1 1 General Model The inputs are n-dimensional vectors the outputs are c-dimensional vectors The training sample consist of m

Διαβάστε περισσότερα

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007 Οδηγίες: Να απαντηθούν όλες οι ερωτήσεις. Όλοι οι αριθμοί που αναφέρονται σε όλα τα ερωτήματα μικρότεροι του 10000 εκτός αν ορίζεται διαφορετικά στη διατύπωση του προβλήματος. Αν κάπου κάνετε κάποιες υποθέσεις

Διαβάστε περισσότερα

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits. EAMCET-. THEORY OF EQUATIONS PREVIOUS EAMCET Bits. Each of the roots of the equation x 6x + 6x 5= are increased by k so that the new transformed equation does not contain term. Then k =... - 4. - Sol.

Διαβάστε περισσότερα

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in : tail in X, head in A nowhere-zero Γ-flow is a Γ-circulation such that

Διαβάστε περισσότερα

HOMEWORK#1. t E(x) = 1 λ = (b) Find the median lifetime of a randomly selected light bulb. Answer:

HOMEWORK#1. t E(x) = 1 λ = (b) Find the median lifetime of a randomly selected light bulb. Answer: HOMEWORK# 52258 李亞晟 Eercise 2. The lifetime of light bulbs follows an eponential distribution with a hazard rate of. failures per hour of use (a) Find the mean lifetime of a randomly selected light bulb.

Διαβάστε περισσότερα

D Alembert s Solution to the Wave Equation

D Alembert s Solution to the Wave Equation D Alembert s Solution to the Wave Equation MATH 467 Partial Differential Equations J. Robert Buchanan Department of Mathematics Fall 2018 Objectives In this lesson we will learn: a change of variable technique

Διαβάστε περισσότερα

Web-based supplementary materials for Bayesian Quantile Regression for Ordinal Longitudinal Data

Web-based supplementary materials for Bayesian Quantile Regression for Ordinal Longitudinal Data Web-based supplementary materials for Bayesian Quantile Regression for Ordinal Longitudinal Data Rahim Alhamzawi, Haithem Taha Mohammad Ali Department of Statistics, College of Administration and Economics,

Διαβάστε περισσότερα

5. Choice under Uncertainty

5. Choice under Uncertainty 5. Choice under Uncertainty Daisuke Oyama Microeconomics I May 23, 2018 Formulations von Neumann-Morgenstern (1944/1947) X: Set of prizes Π: Set of probability distributions on X : Preference relation

Διαβάστε περισσότερα

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο

Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων. Εξάμηνο 7 ο Εργαστήριο Ανάπτυξης Εφαρμογών Βάσεων Δεδομένων Εξάμηνο 7 ο Procedures and Functions Stored procedures and functions are named blocks of code that enable you to group and organize a series of SQL and PL/SQL

Διαβάστε περισσότερα

Estimation for ARMA Processes with Stable Noise. Matt Calder & Richard A. Davis Colorado State University

Estimation for ARMA Processes with Stable Noise. Matt Calder & Richard A. Davis Colorado State University Estimation for ARMA Processes with Stable Noise Matt Calder & Richard A. Davis Colorado State University rdavis@stat.colostate.edu 1 ARMA processes with stable noise Review of M-estimation Examples of

Διαβάστε περισσότερα

HW 3 Solutions 1. a) I use the auto.arima R function to search over models using AIC and decide on an ARMA(3,1)

HW 3 Solutions 1. a) I use the auto.arima R function to search over models using AIC and decide on an ARMA(3,1) HW 3 Solutions a) I use the autoarima R function to search over models using AIC and decide on an ARMA3,) b) I compare the ARMA3,) to ARMA,0) ARMA3,) does better in all three criteria c) The plot of the

Διαβάστε περισσότερα

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 10η: Basics of Game Theory part 2 Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 10η: Basics of Game Theory part 2 Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Ψηφιακή Οικονομία Διάλεξη 0η: Basics of Game Theory part 2 Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών Best Response Curves Used to solve for equilibria in games

Διαβάστε περισσότερα

Sequent Calculi for the Modal µ-calculus over S5. Luca Alberucci, University of Berne. Logic Colloquium Berne, July 4th 2008

Sequent Calculi for the Modal µ-calculus over S5. Luca Alberucci, University of Berne. Logic Colloquium Berne, July 4th 2008 Sequent Calculi for the Modal µ-calculus over S5 Luca Alberucci, University of Berne Logic Colloquium Berne, July 4th 2008 Introduction Koz: Axiomatisation for the modal µ-calculus over K Axioms: All classical

Διαβάστε περισσότερα

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Partial Differential Equations in Biology The boundary element method. March 26, 2013 The boundary element method March 26, 203 Introduction and notation The problem: u = f in D R d u = ϕ in Γ D u n = g on Γ N, where D = Γ D Γ N, Γ D Γ N = (possibly, Γ D = [Neumann problem] or Γ N = [Dirichlet

Διαβάστε περισσότερα

Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων

Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων Όρια Πιστότητας (Confidence Limits) 2/4/2014 Υπολογ.Φυσική ΣΣ 1 Τα όρια πιστότητας -Confidence Limits (CL) Tα όρια πιστότητας μιας μέτρησης Μπορεί να αναφέρονται

Διαβάστε περισσότερα

Μηχανική Μάθηση Hypothesis Testing

Μηχανική Μάθηση Hypothesis Testing ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ Μηχανική Μάθηση Hypothesis Testing Γιώργος Μπορμπουδάκης Τμήμα Επιστήμης Υπολογιστών Procedure 1. Form the null (H 0 ) and alternative (H 1 ) hypothesis 2. Consider

Διαβάστε περισσότερα

Numerical Analysis FMN011

Numerical Analysis FMN011 Numerical Analysis FMN011 Carmen Arévalo Lund University carmen@maths.lth.se Lecture 12 Periodic data A function g has period P if g(x + P ) = g(x) Model: Trigonometric polynomial of order M T M (x) =

Διαβάστε περισσότερα

Homomorphism in Intuitionistic Fuzzy Automata

Homomorphism in Intuitionistic Fuzzy Automata International Journal of Fuzzy Mathematics Systems. ISSN 2248-9940 Volume 3, Number 1 (2013), pp. 39-45 Research India Publications http://www.ripublication.com/ijfms.htm Homomorphism in Intuitionistic

Διαβάστε περισσότερα

Finite Field Problems: Solutions

Finite Field Problems: Solutions Finite Field Problems: Solutions 1. Let f = x 2 +1 Z 11 [x] and let F = Z 11 [x]/(f), a field. Let Solution: F =11 2 = 121, so F = 121 1 = 120. The possible orders are the divisors of 120. Solution: The

Διαβάστε περισσότερα

Theorem 8 Let φ be the most powerful size α test of H

Theorem 8 Let φ be the most powerful size α test of H Testing composite hypotheses Θ = Θ 0 Θ c 0 H 0 : θ Θ 0 H 1 : θ Θ c 0 Definition 16 A test φ is a uniformly most powerful (UMP) level α test for H 0 vs. H 1 if φ has level α and for any other level α test

Διαβάστε περισσότερα

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

6.1. Dirac Equation. Hamiltonian. Dirac Eq. 6.1. Dirac Equation Ref: M.Kaku, Quantum Field Theory, Oxford Univ Press (1993) η μν = η μν = diag(1, -1, -1, -1) p 0 = p 0 p = p i = -p i p μ p μ = p 0 p 0 + p i p i = E c 2 - p 2 = (m c) 2 H = c p 2

Διαβάστε περισσότερα

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ. Chemistry 362 Dr Jean M Standard Problem Set 9 Solutions The ˆ L 2 operator is defined as Verify that the angular wavefunction Y θ,φ) Also verify that the eigenvalue is given by 2! 2 & L ˆ 2! 2 2 θ 2 +

Διαβάστε περισσότερα

Pg The perimeter is P = 3x The area of a triangle is. where b is the base, h is the height. In our case b = x, then the area is

Pg The perimeter is P = 3x The area of a triangle is. where b is the base, h is the height. In our case b = x, then the area is Pg. 9. The perimeter is P = The area of a triangle is A = bh where b is the base, h is the height 0 h= btan 60 = b = b In our case b =, then the area is A = = 0. By Pythagorean theorem a + a = d a a =

Διαβάστε περισσότερα

DiracDelta. Notations. Primary definition. Specific values. General characteristics. Traditional name. Traditional notation

DiracDelta. Notations. Primary definition. Specific values. General characteristics. Traditional name. Traditional notation DiracDelta Notations Traditional name Dirac delta function Traditional notation x Mathematica StandardForm notation DiracDeltax Primary definition 4.03.02.000.0 x Π lim ε ; x ε0 x 2 2 ε Specific values

Διαβάστε περισσότερα

Statistics 104: Quantitative Methods for Economics Formula and Theorem Review

Statistics 104: Quantitative Methods for Economics Formula and Theorem Review Harvard College Statistics 104: Quantitative Methods for Economics Formula and Theorem Review Tommy MacWilliam, 13 tmacwilliam@college.harvard.edu March 10, 2011 Contents 1 Introduction to Data 5 1.1 Sample

Διαβάστε περισσότερα