wilcox.text() [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2026-04-26 11:44 (54 d 21:01 ago) – Posting: # 24609
Views: 659

Dear all,

since [image] 4.6.0 the function wilcox.test() can perform exact (conditional) inference in case of ties. Therefore, package coin* is no more needed for the comparison of tmax.

set.seed(123456)
T    <- 0.5 * round(runif(n = 24, min = 1, max = 3) / 0.5)
R    <- 0.5 * round(runif(n = 24, min = 1, max = 3) / 0.5)
data <- data.frame(subject = factor(c(1:24, 1:24)),
                   treatment = factor(c(rep("T", 24), rep("R", 24)), levels = c("T", "R")),
                   tmax = c(T, R))
by(data$tmax, data$treatment, summary)

data$treatment: T
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
  1.000   1.500   2.000   2.062   2.625   3.000
------------------------------------------------------------
data$treatment: R
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
  1.000   1.875   2.250   2.167   2.500   3.000



Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,655 posts in 4,993 threads, 1,570 registered users;
126 visitors (0 registered, 126 guests [including 16 identified bots]).
Forum time: 08:45 CEST (Europe/Vienna)

I have finally come to the konklusion
that a good reliable set ov bowels
iz worth more to a man
than enny quantity of brains.    Josh Billings

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5