pro.test {bda}R Documentation

Test effectiveness based on PROs

Description

Tests for effectiveness evaluations based on PROs.

Usage

 pro.test(x,y,group,cutoff,x.range,type)

Arguments

x, y

vector of PROs at T0 and T1.

group

Group assignment: control or treatment.

cutoff

Class boundaries to define states. Works only when 'x' and 'y' are numeric.

x.range

Range of the scores for 'x' and 'y'.

type

Data (grouping/binning) type: 'vas', 'nrs', 'wbf'.

Details

To be added.

Value

To be added.

References

To be added.

Examples

states <- c("low", "moderate", "high")
x0 <- sample(states, size=100, replace=TRUE)
x1 <- sample(states, size=100, replace=TRUE)
grp <- c(rep("control",50),rep("treatment",50))
pro.test(x=x0,y=x1,group=grp)

[Package bda version 18.2.2 Index]