Hello José,
This is a much convenient way of looking at the components!
Thanks very much!
Cheers,
Rebecca
-Original Message-
From: Jose Iparraguirre [mailto:jose.iparragui...@ageuk.org.uk]
Sent: Friday, March 22, 2013 11:25 AM
To: Yuan, Rebecca; R help
Subject: RE: error while extract
Yes, it should be $p.value
Have a look at the components here:
> names(ht)
José
José Iparraguirre
Chief Economist
Age UK
T 020 303 31482
E jose.iparragui...@ageuk.org.uk
Twitter @jose.iparraguirre@ageuk
Tavis House, 1- 6 Tavistock Square
London, WC1H 9NB
www.ageuk.org.uk | ageukblog.org.uk
Hello Sarah,
Thanks! I will look into help next time before sending out the question.
Thanks,
Rebecca
-Original Message-
From: Sarah Goslee [mailto:sarah.gos...@gmail.com]
Sent: Friday, March 22, 2013 10:22 AM
To: Yuan, Rebecca
Cc: R help
Subject: Re: [R] error while extracting the p
On Fri, Mar 22, 2013 at 2:03 PM, Yuan, Rebecca
wrote:
> Hello all,
>
> I tried to extract the p-value from adf.test in tseries; however, I got the
> error message such as
>
>> ht=adf.test(list.var$aa)
>> ht$p-value
> Error in ht$p - value : non-numeric argument to binary operator
>> ht
>
>
Hi,
When I look at ?adf.test I see:
A list with class
"htest"
containing the following components:
statistic the value of the test statistic.
parameter the lag order.
p.valuethe p-value of the test.
method a character string indicating what type of test was performed.
data.name a charac
5 matches
Mail list logo