Skip to contents

Computes Predictions in the Shortfall Model

Usage

shortfall_cpp(x, p, a, beta, delta)

Arguments

x

Numeric matrix, the outcomes

p

Numeric matrix, the probabilities

a

Numeric vector, the aspiration levels

beta

Model parameter

delta

Model parameter