obj_fn_probabilities: Compute the objective function that is described in the text.

View source: R/objective_functions.R

obj_fn_probabilitiesR Documentation

Compute the objective function that is described in the text.

Description

Compute the objective function that is described in the text.

Usage

obj_fn_probabilities(alphas, obj_fn_args, by_site = FALSE)

Arguments

alphas

An m-by-k matrix for a system with m origins and k destinations. alphas[i,j] is x[i,j] as described in the manuscript text.

The following arguments should be in obj_fn_args.

delta

The threshold for "irrelevant" connections.

epsilon

The threshold for stopping.

pi

The probability that a connection must be "irrelevant" for it to be ignored.

Value

The value of the objective function.


btjones16/sequential-analysis-software documentation built on Feb. 21, 2024, 2:23 p.m.