estLogLik {bingat}R Documentation

Estimate the Log Likelihood Value

Description

This function estimates log likelihood value for a given graph.

Usage

estLogLik(data, type, gstar, tau, g = NULL)

Arguments

data

A data frame in which the columns (subjects) contain a 0/1 value for row (Node or Edge).

type

The type of graph being used (adjmatrix or adjmatrixlt).

gstar

A single vector to estimate the likelihood for.

tau

A single value used in estimating the likelihood.

g

Deprecated. Replaced with gstar for clarity.

Value

The log-likelihood value of the data.

Author(s)

Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon

Examples

	data(braingraphs)
	
	braingstar <- estGStar(braingraphs) 
	braintau <- estTau(braingraphs, "adjMatrix", braingstar)
	brainll <- estLogLik(braingraphs, "adjMatrix", braingstar, braintau)
	brainll

[Package bingat version 1.3 Index]