Learn R Programming

sp23design (version 0.9-1)

loglik1GivenDelta: Computes the constrained response log-likelihood (on the alternative)

Description

Computes the constrained response log-likelihood (on the alternative)

Usage

loglik1GivenDelta(p, respSummary, delta = 0)

Arguments

p

The probability \(\pi_0\)

respSummary

A vector consisting of the summary of data described in computeResponseSummary

delta

The scalar value of the difference \(\pi_1-\pi_0\)

Value

the (constrained) response log likelihood

Details

Computes the constrained response log-likelihood (on the alternative)

References

Lai, Tze Leung and Lavori, Philip W. and Shih, Mei-Chiung. Sequential Design of Phase II-III Cancer Trials, Statistics in Medicine, Volume 31, issue 18, p.1944-1960, 2012.