IndicatorResponse

class IndicatorResponse @JvmOverloads constructor(predicate: (Double) -> Boolean, observedResponse: Response, name: String? = null) : Response(source)

An IndicatorResponse implements the concept of an indicator variable. This facilitates the collection and reporting of probability estimates based on the observed response.

Parameters

predicate

the predicate indicating true or false based on the double value of the response when it changes value.

observedResponse

the response variable that will be observed for changes

name

a name for the indicator variable that will appear on statistical reporting.

Constructors

Link copied to clipboard
constructor(predicate: (Double) -> Boolean, observedResponse: ResponseCIfc, name: String? = null)
constructor(predicate: (Double) -> Boolean, observedResponse: Response, name: String? = null)

Functions

Link copied to clipboard
fun detach()