Learn R Programming

updog (version 1.1.3)

f1_obj: Objective for mixture of known dist and uniform dist.

Description

Objective for mixture of known dist and uniform dist.

Usage

f1_obj(alpha, pvec, weight_vec)

Arguments

alpha

The mixing weight.

pvec

The known distribution (e.g. from assuming an F1 population).

weight_vec

A vector of weights.

Value

The objective when updating pivec when model = "f1" or model = "s1" in flexdog_full.