Learn R Programming

sp23design (version 0.9-1)

loglik1: Compute the response log-likelihood

Description

Compute the response log-likelihood

Usage

loglik1(piVec, respSummary)

Arguments

piVec

The two-element vector of \((\pi_0, \pi_1)\)

respSummary

A vector consisting of the summary of data described in computeResponseSummary

Value

the log-likelihood

Details

Computes the log-likelihood

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.