Learn R Programming

GPTCM (version 1.1.3)

target: Target density

Description

Predefined target density corresponding to the population survival function of GPTCM

Usage

target(x, theta, proportion, mu, kappas)

Value

value of the targeted (improper) probability density function

Arguments

x

value generated from the proposal distribution

theta

cure rate parameter (log scale)

proportion

proportions data

mu

mean survival time

kappas

Weibull's true shape parameter

Examples

Run this code

time1 <- target(1.2, 0.1, c(0.2, 0.3, 0.5), c(0.2, 0.1, 0.4), 2)

Run the code above in your browser using DataLab