Re: [R] Shapiro-Wilk cpoefficients: 2 Qs

2012-04-05 Thread Ted Harding
[See at end] On 05-Apr-2012 00:34:30 Peter Ehlers wrote: > Hi Ted, > > On 2012-04-04 15:06, Ted Harding wrote: >> Greetings! >> I want to have the coefficients that R uses in shapiro.test() >> for the Shapiro-Wilk test for a prticular sample size, i.e. >> the a[i] in >> >>W = Sum(a[i]*x[i])/(S

Re: [R] Shapiro-Wilk cpoefficients: 2 Qs

2012-04-04 Thread Peter Ehlers
Hi Ted, On 2012-04-04 15:06, Ted Harding wrote: Greetings! I want to have the coefficients that R uses in shapiro.test() for the Shapiro-Wilk test for a prticular sample size, i.e. the a[i] in W = Sum(a[i]*x[i])/(Sum(x[i] - mean(x))^2) (where the x[i] are sorted). Two questions: Q1: Is the

[R] Shapiro-Wilk cpoefficients: 2 Qs

2012-04-04 Thread Ted Harding
Greetings! I want to have the coefficients that R uses in shapiro.test() for the Shapiro-Wilk test for a prticular sample size, i.e. the a[i] in W = Sum(a[i]*x[i])/(Sum(x[i] - mean(x))^2) (where the x[i] are sorted). Two questions: Q1: Is there a readymade R function from which I can extract t