Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Uwe Ligges
On 29.04.2012 16:28, Kyriakos Antoniou wrote: Hi, i am trying to run an ANCOVA and a bootstrapped ANCOVA analysis on a specific data set. I am using the ancova and ancboot functions as in the following code: setwd(C:/Users/User/Desktop/Rdatabilingualstudy2012)

Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Kyriakos Antoniou
Sorry!! Data now attached. Note that this is a .dat file while in the R code i import data directly from an SPSS file (.sav). Best, Kyriakos Date: Mon, 30 Apr 2012 15:20:04 +0200 From: lig...@statistik.tu-dortmund.de To: antonio...@hotmail.com CC: r-help@r-project.org Subject: Re: [R]

Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Kyriakos Antoniou
Dear Uwe. Many thanks for your reply. I attach the data set that i use for the analyses. Hopefully this will help you identify the problem. I'm really new in using r so please bear with me. All the best, Kyriakos Date: Mon, 30 Apr 2012 15:20:04 +0200 From:

Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Uwe Ligges
On 30.04.2012 15:52, Kyriakos Antoniou wrote: Sorry!! Data now attached. Note that this is a .dat file while in the R code i import data directly from an SPSS file (.sav). Oh, come on, we do not have endless time to import your data, so inlcuding code please. Moreover, you have not

Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Kyriakos Antoniou
Dear Uwe, really sorry about this. The code i use is the following (data attached again): setwd(C:/Users/User/Desktop/Rdatabilingualstudy2012) bilingualdataforconferences2012-read.delim(bilingualdataforconferences2012.dat, header=TRUE)

Re: [R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-30 Thread Uwe Ligges
As far as I understand you want: lmo - lm(Simon ~ TypeBiling + FAS, data = bilingualdataforconferences2012) anova(lmo) summary(lmo) for the ordinary ancova. Not sure if there is a proper implementation for that kind of bootstrapped robust ancova you are using. You may have to fix the code

[R] Error in if (nuhat 2) stop(The degrees of freedom must be greater than or equal to 2) : missing value where TRUE/FALSE needed

2012-04-29 Thread Kyriakos Antoniou
Hi, i am trying to run an ANCOVA and a bootstrapped ANCOVA analysis on a specific data set. I am using the ancova and ancboot functions as in the following code: setwd(C:/Users/User/Desktop/Rdatabilingualstudy2012) bilingualismdata-read.spss(bilingualdataforconferences2012.sav,