• Ei tuloksia

Having the sampleS, investigate its distribution: calculate the mean and variance, and using the Matlab functionhist, investigate the behavior of the distribution as the sample sizeN increases

N/A
N/A
Info
Lataa
Protected

Academic year: 2022

Jaa "Having the sampleS, investigate its distribution: calculate the mean and variance, and using the Matlab functionhist, investigate the behavior of the distribution as the sample sizeN increases"

Copied!
2
0
0

Kokoteksti

(1)

Computational Methods in Inverse Problems, Mat–1.3626

Fall 2007 Erkki Somersalo/Knarik Tunyan

Excercise 6, 12.11.–18.11.2007

1. One of the classical examples in dynamical systems and chaos theory is the iteration of the mapping

f : [0,1]→[0,1], x7→4x(1−x).

Although perfectly deterministic, the function can be used to generate a sample that is chaotic, i.e., it looks like a random sample: Start with a valuex1∈[0,1],x16= 0,1/2,1, and generate the sampleS=

x1, x2, . . . , xN

using the algorithm

xj+1 =f(xj).

Having the sampleS, investigate its distribution: calculate the mean and variance, and using the Matlab functionhist, investigate the behavior of the distribution as the sample sizeN increases.

2. Consider the Rayleigh distribution: ifU andV are two independent ran- dom variables, both normally distributed with mean zero and varianceσ2, then the distribution ofX =√

U2+V2 is the Rayleigh distribution, P{X < t}= 1

σ Z t

0

sexp

− s22

ds.

Given σ2, generate a sample S =

x1, x2, . . . , xN from the Rayleigh distribution. Assume now that you believe that the distribution comes from alog-normal distribution, that is, the sampleS=

w1, w2, . . . , wN , wj= logxj, is normally distributed. Write a Gaussian parametric distri- bution and estimate the mean and variance of it. Investigate the viability of the log-normality assumption as follows.

Denote byw0andγ2 the mean and the variance of your sampleS. If the sample would be normally distributed, then you should have

number ofwj less than t

N ≈ 1

p2πγ2 Z t

−∞

exp

−(w−w0)22

dw. Plot the left and right hand sides and compare. (Hint: Matlab has a useful functionerf).

3. This example is meant to clarify the meaning of the maximum likelihood estimator. Consider again the Rayleigh distribution,

π(x) = x σ2exp

−x22

, x≥0.

1

(2)

Unlike the normal distribution, the maximum of π(x) and the center of mass of it do not coincide. Calculate the maximum and the center of mass, and control your result graphically.

Assume that you have just one sample point, x1. Find the maximum likelihood estimator forσ2 based on this data. Doesx1coincide with the maximum or the mean?

4. Consider again the additive noise model in one dimensions, Y =AX,

whereAis a log-normallydistributed multiplicative noise, that is, logA∼ N(loga0, σ2), and it is assumed to be independent of X. By taking the logarithm, the noise model becomes additive. From this observation, de- rive the likelihood densityπ(y|x).

2

Viittaukset

LIITTYVÄT TIEDOSTOT

muksen (Björkroth ja Grönlund 2014, 120; Grönlund ja Björkroth 2011, 44) perusteella yhtä odotettua oli, että sanomalehdistö näyttäytyy keskittyneempänä nettomyynnin kuin levikin

7 Tieteellisen tiedon tuottamisen järjestelmään liittyvät tutkimuksellisten käytäntöjen lisäksi tiede ja korkeakoulupolitiikka sekä erilaiset toimijat, jotka

Työn merkityksellisyyden rakentamista ohjaa moraalinen kehys; se auttaa ihmistä valitsemaan asioita, joihin hän sitoutuu. Yksilön moraaliseen kehyk- seen voi kytkeytyä

The new European Border and Coast Guard com- prises the European Border and Coast Guard Agency, namely Frontex, and all the national border control authorities in the member

The problem is that the popu- lar mandate to continue the great power politics will seriously limit Russia’s foreign policy choices after the elections. This implies that the

The US and the European Union feature in multiple roles. Both are identified as responsible for “creating a chronic seat of instability in Eu- rope and in the immediate vicinity

Mil- itary technology that is contactless for the user – not for the adversary – can jeopardize the Powell Doctrine’s clear and present threat principle because it eases

Te transition can be defined as the shift by the energy sector away from fossil fuel-based systems of energy production and consumption to fossil-free sources, such as wind,