Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
On 8/16/09, Ted Harding wrote: > > Oh, I had a slightly different H0 in mind. In the given example, > > cor.test(..., met="kendall") would test "H0: x and y are independent", > > but cor.test(..., met="pearson") would test: "H0: x and y are not > > correlated (or `are linearly independent')" .

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
On 16-Aug-09 14:06:18, Liviu Andronic wrote: > Hello, > On 8/16/09, Ted Harding wrote: >> I don't know about *compelling* reasons! But (as a general rule) >> if the Alternative Hyptohesis is stated, then the Null Hypothesis >> is simply its negation. So, in your example, you can infer >> >> H0

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Hello, On 8/16/09, Ted Harding wrote: > I don't know about *compelling* reasons! But (as a general rule) > if the Alternative Hyptohesis is stated, then the Null Hypothesis > is simply its negation. So, in your example, you can infer > > H0: true tau equals 0 > Ha: true tau is not equal to

Re: [Rd] Printing the null hypothesis

2009-08-16 Thread Ted Harding
On 16-Aug-09 10:38:40, Liviu Andronic wrote: > Dear R developers, > Currently many (all?) test functions in R describe the alternative > hypothesis, but not the the null hypothesis being tested. For example, > cor.test: >> require(boot) >> data(mtcars) >> with(mtcars, cor.test(mpg, wt, met="kendall

[Rd] Printing the null hypothesis

2009-08-16 Thread Liviu Andronic
Dear R developers, Currently many (all?) test functions in R describe the alternative hypothesis, but not the the null hypothesis being tested. For example, cor.test: > require(boot) > data(mtcars) > with(mtcars, cor.test(mpg, wt, met="kendall")) Kendall's rank correlation tau data: mpg