RE: [R] Re: testing slopes different than a given value

2005-02-11 Thread John Fox
Of Vito Ricci Sent: Friday, February 11, 2005 3:30 AM To: r-help@stat.math.ethz.ch Cc: [EMAIL PROTECTED] Subject: [R] Re: testing slopes different than a given value Hi, We know that a regression coefficent fitted by sample data (under usual linear model hypothesis) b_hat has mean=b and se

Re: [R] Re: testing slopes different than a given value

2005-02-11 Thread Peter Dalgaard
John Fox [EMAIL PROTECTED] writes: Dear Vito, Since Manuel says that he wants to obtain a test and not obtain two tests, I assume that he's interested in the F-test for the hypothesis that both coefficients are simultaneously equal to the specified values rather than in the t-tests for the

Re: [R] Re: testing slopes different than a given value

2005-02-11 Thread Manuel Gutierrez
Thanks to all, Yes, I meant a single test for both coefficients. Peter's reply is what I wanted. I've tried with linear.hypothesis but I must confess that with my limited statistical experience and without the car book at hand, the nomenclature for the function was a bit difficult to understand

RE: [R] Re: testing slopes different than a given value

2005-02-11 Thread John Fox
Dear Peter, -Original Message- From: Peter Dalgaard [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 8:57 AM To: John Fox Cc: 'Vito Ricci'; [EMAIL PROTECTED]; r-help@stat.math.ethz.ch Subject: Re: [R] Re: testing slopes different than a given value John Fox [EMAIL

RE: [R] Re: testing slopes different than a given value

2005-02-11 Thread John Fox
, February 11, 2005 10:12 AM To: Peter Dalgaard; John Fox Cc: r-help@stat.math.ethz.ch; 'Vito Ricci'; [EMAIL PROTECTED] Subject: Re: [R] Re: testing slopes different than a given value Thanks to all, Yes, I meant a single test for both coefficients. Peter's reply is what I wanted. I've tried