Hi,

should be possible to make a simple AB test in Knime? E.g.

Test A: p1=0,122 (25), n1=205

Test B, p2=0,18 (35), n2=194

H0:p1≤p2; H1:p1>p2 (one side); α=5%; t value=-1.63; p=0.0515

Thanks,

Alfredo

Hi,

should be possible to make a simple AB test in Knime? E.g.

Test A: p1=0,122 (25), n1=205

Test B, p2=0,18 (35), n2=194

H0:p1≤p2; H1:p1>p2 (one side); α=5%; t value=-1.63; p=0.0515

Thanks,

Alfredo

Hi Alfredo,

I would suggest to use the R Snippet node for this. Specifically the prop.test function. The code would be something like the one below:

prop.test(c(25, 35), c(194,205))

Hope that helps,

Best,

Vincenzo

Hi Vincenzo,

thanks for the advice, I was able to calculate it.

Here's the R code.

Cheers

Alfredo

knime.out <- knime.in

p = prop.test(c(knime.in$n2, knime.in$n1),

c(knime.in$N2, knime.in$N1),

alt="greater",

conf.level=.95, correct=FALSE)

knime.out$p_value <- as.double(p[3])