Indicator Response
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.
observed Response
the response variable that will be observed for changes
name
a name for the indicator variable that will appear on statistical reporting.