50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

bingat (version 1.3)

estLogLik: 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.

Examples

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

Run the code above in your browser using DataLab