[R] Anderson Darling Goodness of fit test

David L Carlson dcarlson at tamu.edu
Tue Aug 2 19:01:40 CEST 2016

I think you did not include the other error messages you got while running your code. Package adk was removed from CRAN a while ago:

> install.packages("adk")
Warning message:
package 'adk' is not available (for R version 3.3.1)
> library(adk)
Error in library(adk) : there is no package called 'adk'

The error you included says that adk.test could not be found since the package was never installed.

There are many implementations of the Anderson Darling test. A quick search using Google turned up versions in packages nortest, kSamples, and DescTools.

David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of roslinazairimah zakaria
Sent: Tuesday, August 2, 2016 11:37 AM
To: r-help mailing list
Subject: [R] Anderson Darling Goodness of fit test

Dear r-users,

I would like to perform Anderson Darling Goodness of fit test as such:

x3 <- list(stn_all[,1], balok_gen); x3

#x3 <- list(jun_data1_pos,jun_gen); x3

However, I got this reply:

> adk.test(x3)
Error: could not find function "adk.test"

Thank you so much for any help given.

*Dr. Roslinazairimah Binti Zakaria*
*Tel: +609-5492370; Fax. No.+609-5492766*

*Email: roslinazairimah at ump.edu.my <roslinazairimah at ump.edu.my>;
roslinaump at gmail.com <roslinaump at gmail.com>*
Deputy Dean (Academic & Student Affairs)
Faculty of Industrial Sciences & Technology
University Malaysia Pahang
Lebuhraya Tun Razak, 26300 Gambang, Pahang, Malaysia

	[[alternative HTML version deleted]]

R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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