50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


BuyseTest (version 2.1.3)

S4BuyseTest-coef: Coef Method for Class "S4BuyseTest"

Description

Extract summary statistics from the result of a BuyseTest function.

Usage

# S4 method for S4BuyseTest
coef(object, statistic = NULL, stratified = FALSE, cumulative = TRUE, ...)

Arguments

object

output of BuyseTest

statistic

[character] the type of summary statistic. See the detail section.

stratified

[logical] should the summary statistic be strata-specific? Otherwise a summary statistic over all strata is returned.

cumulative

[logical] should the score be cumulated over endpoints? Otherwise display the contribution of each endpoint.

...

ignored.

Details

One of the following statistic can be specified:

  • "netBenefit": returns the net benefit.

  • "winRatio": returns the win ratio.

  • "favorable": returns the proportion in favor of the treatment (also called Mann-Whitney parameter).

  • "unfavorable": returns the proportion in favor of the control.

  • "count.favorable": returns the number of pairs in favor of the treatment.

  • "count.unfavorable": returns the number of pairs in favor of the control.

  • "count.neutral": returns the number of neutral pairs.

  • "count.uninf": returns the number of uninformative pairs.

  • "pc.favorable": returns the percentage of pairs in favor of the treatment, i.e. P[XY+τ].

  • "pc.unfavorable": returns the percentage of pairs in favor of the control, i.e. P[YX+τ].

  • "pc.neutral": returns the percentage of neutral pairs.

  • "pc.uninf": returns the percentage of uninformative pairs.