Learn R Programming

randomizeR (version 1.4.2)

doublyTValues: Calculation of the biased type-one-error (resp. power) of Student`s t-test

Description

Computes the biased type-one-error (resp. power) of Student`ts t-test due to shifts in the expectation vectors in both treatment groups.

Usage

doublyTValues(randSeq, bias, endp)

Arguments

randSeq

object of the class randSeq.

bias

object of the class bias.

endp

object of the class endpoint.

Value

the biased type-one-error (resp. power) of all randomization sequences.

Examples

Run this code
# NOT RUN {
myPar <- crPar(4)
M <- getAllSeq(myPar)
cs <- selBias("CS", 1, "exact")
endp <- normEndp(mu = c(0, 0), sigma = c(1, 1))
doublyTValues(M, cs, endp)

# }

Run the code above in your browser using DataLab