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. -- *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]]
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: 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. -- *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 https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
> 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
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:> 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: > > 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. > > -- > *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 > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- *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]]
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:> > > 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 > > >-- *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]]