Skip to content

Anderson Darling Goodness of fit test

5 messages · David L Carlson, Marc Schwartz, roslinazairimah zakaria

#
Dear r-users,

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

install.packages("adk")
library(adk)
x3 <- list(stn_all[,1], balok_gen); x3
adk.test(x3)

#x3 <- list(jun_data1_pos,jun_gen); x3
#adk.test(x3)

However, I got this reply:
Error: could not find function "adk.test"


Thank you so much for any help given.
#
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:
Warning message:
package 'adk' is not available (for R version 3.3.1)
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:

install.packages("adk")
library(adk)
x3 <- list(stn_all[,1], balok_gen); x3
adk.test(x3)

#x3 <- list(jun_data1_pos,jun_gen); x3
#adk.test(x3)

However, I got this reply:
Error: could not find function "adk.test"


Thank you so much for any help given.
#
According to CRAN:

  https://cran.r-project.org/web/packages/adk/index.html

The 'adk' package has been archived, so it is likely that you did not actually install the package and should have received an error message:

Warning message:
package ?adk? is not available (for R version 3.3.1) 

presuming that you are using the current stable release of R.

A search using http://rseek.org would suggest that the test is available in other packages on CRAN.

You may also wish to search the R-Help archives to see frequent discussions on the utility (or primarily the lack thereof) of normality tests...

Regards,

Marc Schwartz
#
Hi david,

I will try again. Thank you..
On Wed, Aug 3, 2016 at 1:01 AM, David L Carlson <dcarlson at tamu.edu> wrote:

            

  
    
#
Hi Marc,

I will try again. Thank you.
On Wed, Aug 3, 2016 at 1:02 AM, Marc Schwartz <marc_schwartz at me.com> wrote: