[R] problem with normality tests using fBasics

Ricardo Avelino ricardo.avelino at gmail.com
Mon Apr 7 17:46:47 CEST 2008


Dear members,

I'm having some problems using the normality tests in fBasics (adTest,
jarqueberaTest, ksnormTest). I'm using a Debian system and I updated
my R version recently to 2.6.2 (2008-02-08) and all the R packages
using apt-get. The code is here (in Portuguese) with the error
message:

> reg8.1 <- lm(MI ~ PNBpc + TAF)
> library(fBasics)
Carregando pacotes exigidos: MASS
Carregando pacotes exigidos: fEcofin
Carregando pacotes exigidos: fCalendar

Rmetrics, (C) 1999-2006, Diethelm Wuertz, GPL
fCalendar: Time, Date and Calendar Tools

Rmetrics, (C) 1999-2005, Diethelm Wuertz, GPL
fBasics: Markets and Basic Statistics
> jarqueberaTest(summary(reg8.1)$residuals)

Title:
 Jarque - Bera Normalality Test

Test Results:
  STATISTIC:
Erro em .Internal(round(x, digits, ...)) :
  nenhuma função interna "round"


Many thanks and best wishes,
Ricardo Gomes.



More information about the R-help mailing list