• Rezultati Niso Bili Najdeni

University of Ljubljana Doctoral Programme in Statistics Methodology of Statistical Research Written examination February 13

N/A
N/A
Protected

Academic year: 2022

Share "University of Ljubljana Doctoral Programme in Statistics Methodology of Statistical Research Written examination February 13"

Copied!
7
0
0

Celotno besedilo

(1)University of Ljubljana Doctoral Programme in Statistics Methodology of Statistical Research Written examination February 13th , 2020. ID number:. io n. Instructions. s. Name and surname:. Read carefully the wording of the problem before you start. There are four problems altogeher. You may use a A4 sheet of paper and a mathematical handbook. Please write all the answers on the sheets provided. You have two hours.. a.. b.. c. • • • •. So. lu t. Problem 1. 2. 3. 4. Total. d. • • • •.

(2) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. 1. (25) For sampling purposes a population of size N is divided into K strata of sizes N1 , N2 , . . . , NK . Let µ and σ 2 be the population mean and the population variance. For i = 1, 2, . . . , K let µi and σi2 be the population means and the population variances for individual strata. Assume that a stratified sample is selected such that the sample sizes for individual strata are ni for i = 1, 2, . . . , K. Denote wi = Ni /N for i = 1, 2, . . . , K. a. (10) Let Ȳi be the sample mean for the i-th stratum. Let Ȳ be the unbiased estimator of the population mean K X. Ȳ =. wi Ȳi .. i=1. Show that K X   2 2 2 E (Ȳi − Ȳ ) = var(Ȳi ) + µi + var(Ȳ ) + µ − 2.   wj µi µj − 2wi var(Ȳi ) .. j=1. Solution: Compute h 2 i E Ȳi − Ȳ = E(Ȳi2 − 2Ȳi Ȳ + Ȳ 2 ) = var(Ȳi ) + µ2i + var(Ȳ ) + µ2 − 2E(Ȳi Ȳ ) .. By independence of Ȳ1 , Ȳ2 , . . . , ȲK we get E(Ȳi Ȳ ) =. K X. wj E(Ȳi Ȳj ). j=1. =. K X. wj µi µj + wi E(Ȳi2 ). j=1,j6=i. =. K X. wj µi µj + wi (var(Ȳi ) + µ2i ). j=1,j6=i.  K  X = wj µi µj + wi var(Ȳi ) . j=1. b. (15) Let γ=. K X. 2. wi (µi − µ) =. i=1. K X i=1. 2. wi µ2i − µ2 ..

(3) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. Let γ̂ =. K X. wi (Ȳi − Ȳ )2 .. i=1. be an estimator of γ. Modify this estimator to make it an unbiased estimator of γ. Solution: We compute E(γ̂) =. =. K X i=1 K X. wi E Ȳi − Ȳ. 2.  X  K 2 2 wi var(Ȳi ) + µi + var(Ȳ ) + µ − 2 (wj µi µj ) + wi var(Ȳi ). i=1. =. K X. j=1. wi var(Ȳi ) +. i=1. K X. wi µ2i + var(Ȳ ) + µ2 −. i=1. −2 var(Ȳ ) − 2. K X K X. w i w j µi µj. i=1 j=1. =. K X. wi var(Ȳi ) +. i=1. = γ+. K X. wi µ2i + var(Ȳ ) + µ2 − 2var(Ȳ ) − 2µ2. i=1 K X. wi var(Ȳi ) − var(Ȳ ) .. i=1. Both additional terms in the expectation can be estimated in an unbiased way. Subtracting these unbiased estimates from γ̂ gives an unbiased estimate of γ.. 3.

(4) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. 2. (25) The Pareto distribution has the density f (x, α, λ) =. αλα (λ + x)α+1. for x > 0 where α, λ > 0. Assume the data x1 , x2 , . . . , xn are an i.i.d. sample from the Pareto distribution. a. (10) Write down the equations for the maximum likelihood estimates of the parameters α and λ. Solution: The log-likelihood function is l(x, α, λ) = n log(α) + nα log(λ) − (α + 1). n X. log(λ + xi ) .. i=1. Equate partial derivatives to 0 to get the equations ∂l(x,α,λ) ∂α ∂l(x,α,λ) ∂λ. = =. Pn n log(λ + n log(λ) − α Pn i=1 1 nα − (α + 1) i=1 λ+xi λ. + xi ) = 0 = 0.. b. (15) Compute the approximate standard error of the maximum likelihood estimator α̂. Solution: The second partial derivatives of the density are ∂ 2 l(x,α,λ) ∂α2 ∂ 2 l(x,α,λ) ∂λ2 ∂ 2 l(x,α,λ) ∂α∂λ. = − α12 = − λα2 + =. x λ(λ+x). α+1 (λ+x)2. .. Integrating we get I(α, λ) =. 1 α2 1 − λ(α+1). 1 − λ(α+1). !. α λ2 (α+2). The approximate standard error is 1 se(α̂) = √ n. q. −1 I11 ,. −1 where I11 is the element in the upper left corner of the inverse I −1 (α, λ).. 4.

(5) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. 3. (25) Assume the data x1 , x2 , . . . , xn are an i.i.d.sample from the normal distribution. Assume the parameter σ 2 is known. We test H0 : µ = 0 versus H1 : µ 6= 0. a. (10) The null-hypothesis H0 with a given confidence level α can be tested in two ways: - H0 is rejected if |X̄| > c for the value c such that the probability of Type I error if H0 holds is α. - Estimate µ and set up a (1−α)-confidence interval as x̄±z(1−α)/2 · √σn where P (−z(1−α)/2 ≤ Z ≤ z(1−α)/2 ) = 1 − α fro Z ∼ N(0, 1). If the interval does not contain 0 reject H0 . Are the two tests equal? Explain. Solution: Yes, the two tests are the same since σ 2 is known. b. (15) Compute the likelihood ratio tests statistics for the testing situation described above. What is the distribution of λ? Is the likelihood ratio test exact? Explain. Solution: The computation of Λ gives n X (xi − x̄)2 − x2i Λ = exp 2σ 2 i=1. ! ..   nx̄2 Λ = exp − 2 . 2σ Since σ 2 is known H0 is rejected if |x̄| > c for a suitable c. The distribution of the test statistic under H0 is exactly χ2 (1). The test is exact.. 5.

(6) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. 4. (25) The model for the data is described by two sets of regression equations Yi = α1 + βxi + i for i = 1, 2, . . . , m and Zj = α2 + βwj + ηj for j = 1, 2, . . . , n. For both sets of equations the standard linear regression assumptions hold. This means for all i, j we have E(i ) = E(ηj ) = 0, var(i ) = σ 2 and var(ηi ) = τ 2 , and all i and ηj are uncorrelated. Further assume that m X. xi = 0. n X. in. i=1. ter. m X. wj = 0. j=1. x2i = 1. in. i=1. n X. wj2 = 1 .. j=1. a. (10) Give an unbiased estimate of β based on all the data. What is the standard error of your estimate? Solution: The two sets of equations are combined into one.       Y1 1 0 x1 1  Y 2   1 0 x2   2     .  . . .   .   . . .     ..   .  . . .  .     α1   Ym  1 0 xm    m  α = +   .    2  η1   Z1  0 1 w1      β    Z2  0 1 w2   η2   .  . . .  .  ..   ..   .. .. ..  Zn 0 1 wn ηn Under the assumptions the OLS estimator  m T  X X= 0 0 The inverse is. . XT X We have. of β is unbiased. We compute  0 0 n 0 . 0 2. −1.  1/m 0 0 1/n 0  . = 0 0 0 1/2. Pm  Y i i=1 Pn . Zj XT Y =  P j=1P m n i=1 xi Yi + j=1 wj Zj . 6.

(7) Methodology of Statistical Research, 2019/2020, M. Perman, M. Pohar-Perme. It follows that m X. 1 β̂ = 2. xi Y i +. i=1. n X. ! wj Zj. .. j=1. The standard error is. √ se(β̂) =. σ2 + τ 2 . 2. b. (15) Assume that σ 2 /τ 2 = λ for known λ > 0. Compute the best unbiased linear estimate of β. What is its standard error? √ Solution: If we multiply the second set of equations by λ and denote √ √ √ √ Z̃j = λZj , α̃2 = λα2 , w̃j = λwj and η̃j = ληj for j = 1, 2, ..., n and combine the two sets of equations into one we get the standard regression model. In this case the OLS estimator is the best unbiased linear estimator of β. However, the matrix X changes and we get   m 0 0 0 . XT X =  0 m 0 0 1+λ and. Pm  i=1 Yi P n . Z̃j XT Y =  j=1P Pm n j=1 w̃j Z̃j i=1 xi Yi + . It follows 1 β̂ = 1+λ. m X. xi Y i +. i=1. n X j=1. The standard error is compute directly as se(β̂) = √. 7. σ . 1+λ. ! w̃j Z̃j. ..

(8)

Reference

POVEZANI DOKUMENTI

University of Ljubljana Doctoral Programme in Statistics Methodology of Statistical Research Written examination June 29th , 2021.. Name

Let Ik be the indicator of the event that the k-th unit is selected and Ik,1 the indicator that the k-th unit will respond YES,YES.. Let Ik,3 be the indicator of the event that the

Solution: By independence the likelihood function is equal to Lθ = 2n1 θ2n0 +n1 1 − θn1 +2n2 where nk is the number of occurences of k among the observed values.. We

Matej Černe from the Faculty of Economics of the University of Ljubljana who ac- cepted the position of the new editor of the Dy- namic Relationships Management Journal, and

The goal of the research: after adaptation of the model of integration of intercultural compe- tence in the processes of enterprise international- ization, to prepare the

Such criteria are the success of the managed enterprises (e.g. profitabil- ity, social responsibility) as we claim that it is the ut- most responsibility of managers; the attainment

Within the empirical part, the author conducts research and discusses management within Slovenian enterprises: how much of Slovenian managers’ time is devoted to manage

The research attempts to reveal which type of organisational culture is present within the enterprise, and whether the culture influences successful business performance.. Therefore,