[R] problem with urca package
cruz
cruadam at gmail.com
Wed Nov 12 02:17:28 CET 2008
is this what you expect?
> ur.df(PIBTUN$V1,type='none',lags=1)
###############################################################
# Augmented Dickey-Fuller Test Unit Root / Cointegration Test #
###############################################################
The value of the test statistic is: 6.2523
On Wed, Nov 12, 2008 at 8:56 AM, <hassen62 at voila.fr> wrote:
> Dear R users,
> I have the joined txt file in the following direct directory C://
> I have written the following lines:
> library(urca);
> PIBTUN<-read.table("C:/AF.txt", header=F);
> ur.df(PIBTUN,type='none',lags=1)
> but I have obtained the following message:
> Error in embed(z, lags) : 'x' is not a vector or matrix
> I don't What's the problem, can you please help me
> Thank you in advance
>
> ____________________________________________________
>
> Avec le traducteur Voila, lisez enfin les journaux étrangers ! http://tr.voila.fr/
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
More information about the R-help
mailing list