Just a final correction. I was wrong, stats::ks.test doesn't use only Marsaglia et al. It's even clearly written in the help page. Read the documentation before stating!
Rui Barradas Em 28-05-2012 11:51, maxbre escreveu: > thanks for the help: I'll have a look at the papers > max > > Il 28/05/2012 12:31, Rui Barradas [via R] ha scritto: >> Hello, >> >> That's a very difficult question. See >> >> Marsaglia, Tsang, Wang (2003) >> http://www.jstatsoft.org/v08/i18/ >> >> Simard, L'Ecuyer (2011) >> http://www.jstatsoft.org/v39/i11 >> >> R's ks functions are a port of Marsaglia et al. to the .C interface. >> >> Rui Barradas >> >> maxbre wrote >> thanks rui >> >> that's what I was looking for >> >> I have another related question: >> - why of the difference between the max distance D calculated with >> ks.test() and the max distance D âEURoemanuallyâEUR? calculated as in >> (2)? >> >> I guess it has something to do with the fact that KS is obtained >> with a maximisation that depends on the range of x values not >> necessarly coincident in the two different approaches >> >> ...any thought about this? >> >> maxbre >> >> >> >> ------------------------------------------------------------------------ >> If you reply to this email, your message will be added to the >> discussion below: >> http://r.789695.n4.nabble.com/Kolmogorov-Smirnov-test-and-the-plot-of-max-distance-between-two-ecdf-curves-tp4631437p4631571.html >> >> To unsubscribe from Kolmogorov-Smirnov test and the plot of max >> distance between two ecdf curves, click here >> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4631437&code=bWJyZXNzYW5AYXJwYS52ZW5ldG8uaXR8NDYzMTQzN3wyMjQwMjkzMTc=>. >> NAML >> <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > -- > View this message in context: > http://r.789695.n4.nabble.com/Kolmogorov-Smirnov-test-and-the-plot-of-max-distance-between-two-ecdf-curves-tp4631437p4631573.html > Sent from the R help mailing list archive at Nabble.com. > [[alternative HTML version deleted]] > > > > ______________________________________________ > R-help@r-project.org mailing list > 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. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list 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.