Skip to content

R help

3 messages · Rolf Turner, Peter Dalgaard, Shutnik

#
Peter Dalgaard writes:
+ x(t,n) 

	I presume this means y(t) = x(t,1) + ... + x(t,n)  (R.T.)
I presume you want x(t,i)~N(mu/n, sigma.sq/n),
	elsewise the question doesn't make sense.

	I also presume you want the x(t,i) to be independent,
	elsewise the question is trivial.                  (R.T.)
I don't think it's that simple:  By my calculations,

	Var(x_i) = 2*sigma.sq/n - sigma.sq/n^2,  not sigma.sq/n.

I think the problem is actually fairly subtle (although I may
be overlooking something simple).  Something like a Gramm-Schmidt
approach should work, but I can't quite suss it out.

					cheers,

						Rolf Turner
						rolf at math.unb.ca
#
Rolf Turner <rolf at math.unb.ca> writes:
+ x(t,n)
Try again... Var(y/n) = sigma.sq/n^2, not sigma.sq/n so it cancels the
second term rather than doubling the first.
You just need to orhtogonalize against the vector (1,1,...,1), which
is what I did, effectively. The residuals x-mean(x) are independent of
mean(x) by the Fisher-Cochran theorem (if I remember the name
correctly...) and y/n has same distribution as mean(x) so you can
substitute y/n for mean(x) and paste things back together again.

But where does the t in y(t) and x(t,i) enter in all of this??