代做Assessment 5代做R编程

Assessment 5 (Due by 23:59pm 31st Oct 2024)

The following three questions are related to four references listed at the end of this question sheet. Please read the four papers and work on these questions. Note that you do not need go through all the contents of these papers. Please extract useful information from these papers, aiming to working out the assignment questions.

Question 1 [40 marks]

Consider two p-dimensional populations with covariance matrices Ip and (Ip + ∆), where

(1)

with δ1, δ2 ∈ R. Suppose we have p-dimensional random samples x1, x2, . . . , xm+1 from normal distribution N (0p, Ip) and p-dimensional random samples z1, z2, . . . , zn+1 also from normal distribution N (0p, Ip + ∆). We stack these random samples to obtain the data matrices X and Z and sample covariance matrices

(2)

(a). [5 marks]. Assume n, m, p → ∞ such that yn := p/n → y ∈ (0, 1) and cm := p/m → c > 0. Take δ1 = δ2 = 0, y = 1/4, and c = 3/4, what is the lower bound a and the upper bound b of the limiting spectral distribution of S? For each, give a formula in terms of c and y.

(b). [5 marks]. Suppose that δ1 = −ε and δ2 = ε with ε = 1/10. Would you expect S to have eigenvalues smaller than a and larger than b in this case? Please provide your reason.

(c). [10 marks]. In the paper Han et al. (2016), it is suggested that the largest eigenvalue λ1 of S, scaled as (λ1 − b)/sp, where b is from Question 1(a) and , behaves like a Tracy-Widom distribution of order 1. Show this using a simulation in the case n = 400, yn = 1/4 and cm = 3/4. Plot the histogram and compare it against the Tracy-Widom distribution of order 1.

(d). [10 marks]. The paper Wang and Yao (2017) also study the extreme eigenvalues of Fisher matrices. Suppose that δ1 < ℓ and δ2 > κ for some choice of ℓ and κ. What would be the critical values of ℓ and κ that would ensure you would have a large fundamental spike and a small fundamental spike? Give a formula for ℓ and κ. Also provide a simulation to give a numerical value for the formula in the case y = 1/4 and c = 3/4.

(e). [10 marks]. Suppose that δ1 = ℓ − 1/100 and δ2 = κ + 1/100 for your critical values of κ and ℓ you found in (d), then give a formula for each of the two locations where you think the spike eigenvalues will cluster around and also a numerical value for each. Also, perform. a simulation experiment to illustrate this phenomenon. That is, sample data and plot a histogram of eigenvalues of S, compare it to the theoretical density expected if δ1 = δ2 = 0, and plot the location where you expect spike eigenvalues to cluster around. Take n = 400, yn = 1/4, and cn = 3/4.

Question 2 [40 marks]

In this question, we consider high-dimensional sample covariance matrices of data that is sampled from an elliptical distribution. We say that a random vector x with zero mean follows an elliptical distribution if and only if it has the stochastic representation

(3)

where the matrix A ∈ R p×p is nonrandom and rank(A) = p, ξ ≥ 0 is a random variable representing the radius of x, and u ∈ Rp is the random direction, which is independent of ξ and uniformly distributed on the unit sphere S p−1 in R, denoted by u ∼ Unif(S p−1). The class of elliptical distributions is a natural generalization of the multivariate normal distribution, and contains many widely used distributions as special cases including the multivariate t-distribution, the symmetric multivariate Laplace distribution and the symmetric multivariate stable distribution.

(a). [20 marks]. Write a function runifsphere(n, p) that samples n observations from the distribution Unif(S p−1) using the fact that if z ∼ N (0p, Ip), then z/||z|| ∼ Unif(S p−1 ). Check your results by: (1) set p = 25, n = 50 and show that the Euclidean norm of each observation is equal to 1; (2) generate a scatter plot in the case p = 2, n = 500 to show that the samples lie on a circle.

Show that you can simulate a multivariate t-distribution tν(0p, Ip) by setting in (3) with A = Ip and Do this by sampling observations x1, x2, . . . , xn and comparing the two marginal histograms of the observations against the density of the univariate tν distribution.

(b). [20 marks]. Suppose that x1, x2, . . . , xn are p-dimensional observations sampled from an elliptic distribution in (3). We stack these observations into the data matrix X and calculate the sample covariance matrix Theorem 2.2 of the paper Hu et al. (2019) is a central limit theorem for linear spectral statistics (LSS) of Sn. For example, the equation (2.10) in Hu et al. (2019) provides the case of the joint distribution of the LSS ϕ1(x) = x and ϕ2(x) = x2. Following the notation used there (for all the following terms in this equation). Perform. a simulation experiment to examine the fluctuations of and . In the experiment, take with δ(x) being Dirac delta function, and choose the distribution of ξ ∼ k1 · Gamma(p, 1) with . Set the dimensions to be p = 200 and n = 400. Choose the number of simulations based on the computational power of your machine. Similar to Figure 1 in the paper Hu et al. (2019), use a QQ-plot to show normality.

Question 3 Only for STAT6017 Students [20 marks]

The results of the paper Hu et al. (2019) can not cover all elliptic distributions due to a moment condition on the population distribution, see Table 1 in Hu et al. (2019). The results in the paper Zhang et al. (2022) extend their results to more general elliptic distributions such as multivariate Gaussian mixtures. A p-dimensional vector x ∈ R p is a multivariate Gaussian mixture with k sub-populations if its density function has the form.

(4)

where pj , j = 1, . . . , k are the k mixing weights and ϕ(·; µj , Σj ) denote the density function of the j-th sub-population with mean vector µj and covariance matrix Σj . In the case where µ1 = µ2 = · · · = µk = 0 ∈ R p and Σj = vj · Σ for some vj > 0 with j = 1, . . . , k. Write an R function to sample from such a distribution using the representation from the equation (11) in the paper Zhang et al. (2022).

Note: This homework is to be submitted through Wattle in digital form. only as per ANU policy. The R codes for any computational question must be supplied.

References

Han, X., G. Pan, and B. Zhang (2016). The tracy-widom law for the largest eigenvalue of f-type matrices. The Annals of Statistics 44 (4), 1564–1592.

Hu, J., W. Li, Z. Liu, and W. Zhou (2019). High-dimensional covariance matrices in elliptical distributions with application to spherical test. The Annals of Statis-tics 47 (1), 527–555.

Wang, Q. and J. Yao (2017). Extreme eigenvalues of large-dimensional spiked fisher matrices with application. The Annals of Statistics 45 (1), 415–460.

Zhang, Y., J. Hu, and W. Li (2022). Clt for linear spectral statistics of high-dimensional sample covariance matrices in elliptical distributions. Journal of Multivariate Anal-ysis 191, 105007.




热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图