difference_gain {maq}R Documentation

Get estimate of difference in gain given a spend level with paired standard errors.

Description

Given two Qini curves, QaQ_a and QbQ_b, get an estimate of the difference Qa(B)Qb(B)Q_a(B) - Q_b(B), at a spend level B.

Usage

difference_gain(object.lhs, object.rhs, spend)

Arguments

object.lhs

A maq object QaQ_a to subtract from.

object.rhs

A maq object QbQ_b to subtract with.

spend

The spend level B.

Value

An estimate of difference in gain along with standard errors.


[Package maq version 0.4.0 Index]