• Keine Ergebnisse gefunden

Statistics and Numerics

N/A
N/A
Protected

Academic year: 2022

Aktie "Statistics and Numerics"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Statistics and Numerics

Lecture Prof. Dr. Jens Timmer

Exercises Helge Hass, Mirjam Fehling-Kaschek

Exercise Sheet Nr. 4

Exercise 1: Parameter estimation

Consider the linear regression

yi=axii, εi∼N(0,1). (1) The maximum likelihood estimator ˆafor the parameteragivenNdata tuples(xi,yi)is

aˆ=∑Ni=1yixi

Ni=1x2i . (2)

a) Simulate data points fora=1 in the intervalx∈[0,20]: generateN=10 equidistantxvalues in the given range and simulate the respectiveyvalues by addingε. Compute ˆa. Plot the data and add a line to the plot using the estimated ˆa.

b) Estimate parameter a forN=2,5,10,50,100,500,1000 data points: calculate the mean and variance of ˆa, usingM=1000 realizations. Plot the variance and mean of ˆaas a function ofN.

c) For givenN, does the estimator resemble a normal distribution?

Hint:Compute the histogram, cumulative density function and Q-Q-Plot.

Exercise 2: Uniform noise distribution

Replace the noise termεiin Eq. (1) by

εi∼U(−b,b) (3)

with probability densityf(x) =

(1/(2b) −b≤x≤b

0 x∈/[−b,b] and repeat excercise 1.

• Choose the boundarybof the uniform distribution such that the variance equals one:var(ε) =1.

• Use the same estimator Eq. (2). Does it represent the maximum likelihood estimator?

Exercise 3: Log-normally distributed noise

Repeat the exercise with multiplicative log-normally distributed noise by replacing Eq. (1) by

yi=exp(ln(axi) +σ εi) (4)

withε∼N(0,1).

• Why does Eq. (4) represent a model with a multiplicative error? When does the log-normally distributed noise approximate normally distributed noise?Hint:Make use of the Taylor series.

• Repeat the exercise forσ=0.1,0.5,1. How are theyvalues affected by the choice ofσ.

• Use the same estimator Eq. (2). Does it represent the maximum likelihood estimator?

helge.hass@fdm.uni-freiburg.de mirjam.fehling@physik.uni-freiburg.de

http://jeti.uni-freiburg.de/vorles_stat_num/vorles_stat_num.html

Referenzen

ÄHNLICHE DOKUMENTE

In section 4, we derive rather technical necessary and sufficient conditions on preferences such that a multiplicative background risk will always lead to more cautious behavior:

Focussing on the results for men and women separately, there is a large negative risk aversion – effort link for men under multiplicative noise in the absence of PT ( − 0.258, round

The proof of Proposition 2.2.14 can be easily adapted to show that the topology of a lc tvs can be always induced by a directed family of seminorms ⌧ Q and that the corresponding

Diese Unterrichtseinheit ist vor allem geeignet für Schüler der Klassenstufen 9 bis 10 aller Schulfor- men. In Übereinstimmung mit dem gemeinsamen europäischen Referenzrahmen für

The key to prove the regret guarantee of Exp3 is a more careful analysis of the multiplicative- weights update, now allowing ˜ ` (t) i > 1 despite setting ρ = 1.. We can show

The proof applies Smyth’s Theorem on lower bounds for heights of non-reciprocal algebraic numbers and a Theorem of Mignotte.. As was already noticed in [CZ00], solutions of (0.0.1)

In the second case, the procedure is first transmitted from the remote object to the local site, by the semantics of field selection, and then executed locally.. Updating

3. In the right hand columns we show the agent characteristics. The coefficient of relative risk aversion is γ =1.5... Figure 1 depicts the derived RRA for γ = 1.5 and positive