neg_log_like: Negative Log-Likelihood function based on R0 and R

Description Usage Arguments Value Author(s)

View source: R/estimation.R

Description

Log-Likelihood function based on R0 and R multiplied by -1.

Usage

1
neg_log_like(pi2, R, R0, pi0, n, alpha0, alpha, beta0, beta, ...)

Arguments

pi2

A numeric value for p0.

R

A numeric that provides the people of positive people in the sample.

R0

A numeric that provides the people of positive people in the sample that were known to be positive.

n

A numeric that provides the sample size.

alpha0

A numeric that provides the False Negative (FN) rate for the sample R0. Default value is 0.

alpha

A numeric that provides the False Negative (FN) rate for the sample R. Default value is 0.

beta0

A numeric that provides the False Positive (FP) rate for the sample R0. Default value is 0.

beta

A numeric that provides the False Positive (FP) rate for the sample R. Default value is 0.

...

Additional arguments.

Value

Negative Log-Likelihood

Author(s)

Stephane Guerrier


stephaneguerrier/CPreval documentation built on June 6, 2020, 2:28 a.m.