Skip to contents

Score a set of responses according to the method of Kirby et al. (1999, doi:10.1037//0096-3445.128.1.78 ). This is described in detail in Kaplan et al. (2016, doi:10.1007/s40614-016-0070-9 ).

Usage

kirby_score(data, discount_function = c("hyperbolic", "exponential"))

Arguments

data

Responses to score.

discount_function

Should \(k\) values be computed according to the hyperbolic or exponential discount function? The original method uses the hyperbolic, but in principle the exponential is also possible.

Value

An object of class td_ipm.

Examples

if (FALSE) { # \dontrun{
data("td_bc_single_ptpt")
mod <- kirby_score(td_bc_single_ptpt)
} # }