For H_0: beta >= 0, then the correct p-value is
pt(tvalue,df)
regardless of the sign of tvalue. Negative tvalues of large magnitude
will yield small p-values.
albyn
On Mon, Aug 22, 2011 at 05:22:06PM +, Ben Bolker wrote:
> Campomizzi, Andrew J neo.tamu.edu> writes:
>
> > On 20/0
Campomizzi, Andrew J neo.tamu.edu> writes:
> On 20/08/11 10:20, Andrew Campomizzi wrote:
> > Hello,
> >
> > I'm having trouble figuring out how to calculate a p-value for a 1-tailed
> > test of beta_1 in a linear model fit using command lm. My model has only 1
> > continuous, predictor variable.
t answer also but it doesn't show the understanding.
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Monday, August 22, 2011 9:12 AM
To: Andrew Campomizzi
Cc: r-help@r-project.org
Subject: Re: [R] Calculating p-value for 1-tailed test in a linear model
Winsemius [mailto:dwinsem...@comcast.net]
Sent: Saturday, August 20, 2011 6:02 PM
To: Andrew Campomizzi
Cc: r-help@r-project.org
Subject: Re: [R] Calculating p-value for 1-tailed test in a linear model
On Aug 19, 2011, at 6:20 PM, Andrew Campomizzi wrote:
> Hello,
>
> I'm having tr
ponse answers my question.
Mark's response was not copied to the list.
--
David.
Thanks,
Andy
-Original Message-
From: David Winsemius [mailto:dwinsem...@comcast.net]
Sent: Saturday, August 20, 2011 6:02 PM
To: Andrew Campomizzi
Cc: r-help@r-project.org
Subject: Re: [R] Calculating p-value
On Aug 19, 2011, at 6:20 PM, Andrew Campomizzi wrote:
Hello,
I'm having trouble figuring out how to calculate a p-value for a 1-
tailed
test of beta_1 in a linear model fit using command lm. My model has
only 1
continuous, predictor variable. I want to test the null hypothesis
beta_1
is
is appreciated.
Thanks,
Andy
- Original Message -
From: "Rolf Turner"
To: "Andrew Campomizzi"
Cc: r-help@r-project.org
Sent: Friday, August 19, 2011 9:18:07 PM GMT -06:00 US/Canada Central
Subject: Re: [R] Calculating p-value for 1-tailed test in a linear model
The r-he
On 20/08/11 10:20, Andrew Campomizzi wrote:
Hello,
I'm having trouble figuring out how to calculate a p-value for a 1-tailed
test of beta_1 in a linear model fit using command lm. My model has only 1
continuous, predictor variable. I want to test the null hypothesis beta_1
is>= 0. I can calcu
8 matches
Mail list logo