[R] Anderson Darling Goodness of fit test

Marc Schwartz marc_schwartz at me.com
Tue Aug 2 19:02:52 CEST 2016


> On Aug 2, 2016, at 11:37 AM, roslinazairimah zakaria <roslinaump at gmail.com> wrote:
> 
> 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:
> 
>> adk.test(x3)
> 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



More information about the R-help mailing list