PDF


15

仮定からIIDことN μ σ 2未知でμ R及びσ 2 > 0X1,X2,...,XnN(μ,σ2)μRσ2>0

してみましょうZ=X1X¯S,Sはここでの標準偏差です。

Zにルベーグpdf があることを示すことができます

f(z)=nΓ(n12)π(n1)Γ(n22)[1nz2(n1)2]n/22I(0,(n1)/n)(|Z|)

私の質問は、このPDFを取得する方法ですか?

質問からであるここでのUMVUE見つけることを例3.3.4にP(X1c)。UMVUEを見つけるためのロジックと手順は理解できますが、pdfの入手方法がわかりません。

私はこの質問にもこれに関連して考える1

助けてくれてありがとう、または関連する参考文献も当てはまります。

回答:


14

この結果について非常に興味深いのは、相関係数の分布のように見えることです。理由があります。


仮定(X,Y)ゼロ相関と共通の分散を持つ正規変量であるσ2両方の変数のために。iidサンプル描画し(x1,y1),,(xn,yn)ます。サンプル相関係数の分布は、よく知られ、幾何学的に(1世紀前にフィッシャーが行ったように)容易に確立されます。

r=i=1n(xix¯)(yiy¯)(n1)SxSy

f(r)=1B(12,n21)(1r2)n/22, 1r1.

(ここで、いつものように、及びˉ yはサンプル手段であり、Sは、xはS yは不偏分散推定量の平方根である。) Bは、であるベータ機能のために、x¯y¯SxSyB

(1)1B(12,n21)=Γ(n12)Γ(12)Γ(n21)=Γ(n12)πΓ(n21).

To compute r, we may exploit its invariance under rotations in Rn around the line generated by (1,1,,1), along with the invariance of the distribution of the sample under the same rotations, and choose yi/Sy to be any unit vector whose components sum to zero. One such vector is proportional to v=(n1,1,,1). Its standard deviation is

Sv=1n1((n1)2+(1)2++(1)2)=n.

Consequently, r must have the same distribution as

i=1n(xix¯)(viv¯)(n1)SxSv=(n1)x1x2xn(n1)Sxn=n(x1x¯)(n1)Sxn=nn1Z.

Therefore all we need to is rescale r to find the distribution of Z:

fZ(z)=|nn1|f(nn1z)=1B(12,n21)nn1(1n(n1)2z2)n/22

for |z|n1n. Formula (1) shows this is identical to that of the question.


Not entirely convinced? Here is the result of simulating this situation 100,000 times (with n=4, where the distribution is uniform).

Figure

The first histogram plots the correlation coefficients of (xi,yi),i=1,,4 while the second histogram plots the correlation coefficients of (xi,vi),i=1,,4) for a randomly chosen vector vi that remains fixed for all iterations. They are both uniform. The QQ-plot on the right confirms these distributions are essentially identical.

Here's the R code that produced the plot.

n <- 4
n.sim <- 1e5
set.seed(17)
par(mfrow=c(1,3))
#
# Simulate spherical bivariate normal samples of size n each.
#
x <- matrix(rnorm(n.sim*n), n)
y <- matrix(rnorm(n.sim*n), n)
#
# Look at the distribution of the correlation of `x` and `y`.
#
sim <- sapply(1:n.sim, function(i) cor(x[,i], y[,i]))
hist(sim)
#
# Specify *any* fixed vector in place of `y`.
#
v <- c(n-1, rep(-1, n-1)) # The case in question
v <- rnorm(n)             # Can use anything you want
#
# Look at the distribution of the correlation of `x` with `v`.
#
sim2 <- sapply(1:n.sim, function(i) cor(x[,i], v))
hist(sim2)
#
# Compare the two distributions.
#
qqplot(sim, sim2, main="QQ Plot")

Reference

R. A. Fisher, Frequency-distribution of the values of the correlation coefficient in samples from an indefinitely large population. Biometrika, 10, 507. See Section 3. (Quoted in Kendall's Advanced Theory of Statistics, 5th Ed., section 16.24.)


The link to the reference is broken.
Sextus Empiricus

@Martijn Thank you for checking. I see what you mean--the link works, but it doesn't go to anything relevant! I have fixed it up.
whuber

4

I'd like to suggest this way to get the pdf of Z by directly calculating the MVUE of P(Xc) using Bayes' theorem although it's handful and complex.

Since E[I(,c)(X1)]=P(X1c) and Z1=X¯, Z2=S2 are joint complete sufficient statistic, MVUE of P(Xc) would be like this:

ψ(z1,z2)=E[I(,c)(X1)|z1,z2]=I(,c)fX|Z1,Z2(x1|z1,z2)dx1

Now using Bayes' theorem, we get

fX|Z1,Z2(x1|z1,z2)=fZ1,Z2|X1(z1,z2|x1)fX1(x1)fZ1,Z2(z1,z2)

The denominator fZ1,Z2(z1,z2)=fZ1(z1)fZ2(z2) can be written in closed form because Z1N(μ,σ2n), Z2Γ(n12,2σ2n1) are independent of each other.

To get the closed form of numerator, we can adopt these statistics:

W1=i=2nXin1
W2=i=2nXi2(n1)W12(n1)1

which is the mean and the sample variance of X2,X3,...,Xn and they are independent of each other and also independent of X1. We can express these in terms of Z1,Z2.

W1=nZ1X1n1, W2=(n1)Z2+nZ12X12(n1)W12n2

We can use transformation while X1=x1,

fZ1,Z2|X1(z1,z2|x1)=nn2fW1,W2(w1,w2)=nn2fW1(w1)fW2(w2)

Since W1N(μ,σ2n1), W2Γ(n22,2σ2n2) we can get the closed form of this. Note that this holds only for w20 which restricts x1 to z1n1nz2x1z1+n1nz2.

So put them all together, exponential terms would disappear and you'd get,

fX|Z1,Z2(x1|z1,z2)=Γ(n12)πΓ(n22)nz2(n1)(1(n(x1z1)z2(n1))2)
where z1n1nz2x1z1+n1nz2 and zero elsewhere.

From this,at this point, we can get the pdf of Z=X1z1z2 using transformation.

By the way, the MVUE would be like this :

ψ(z1,z2)=Γ(n12)πΓ(n22)π2θccosn3θdθ
while θc=sin1(n(cz1)(n1)z1) and would be 1 if cz1+n1nz2

I am not a native English speaker and there could be some awkward sentences. I am studying statistics by myself with text book introduction to mathmatical statistics by Hogg. So there could be some grammatical or mathmatical conceptual mistakes. It would be appreciated if someone correct them.

Thank you for reading.

弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.