loglratio: Compute log-likelihood ratio for ghype models.

Description Usage Arguments Value Examples

View source: R/logl.R

Description

Compute log-likelihood ratio for ghype models.

Usage

1
loglratio(mod0, mod1)

Arguments

mod0

ghype, null model

mod1

ghype, alternative model

Value

scalar, log-likelihood ratio

Examples

1
2
3
4
data('adj_karate')
sc.model <- scm(adj_karate, FALSE, FALSE)
full.model <- ghype(adj_karate, FALSE, FALSE)
loglratio(sc.model,full.model)

ghypernet documentation built on Oct. 15, 2021, 5:14 p.m.