scoreagainstDBN {BiDAG}R Documentation

Score against DBN

Description

Scoring observations against a DBN structure

Usage

scoreagainstDBN(
  scorepar,
  incidence,
  datatoscore = NULL,
  marginalise = FALSE,
  onlymain = FALSE,
  datainit = NULL
)

Arguments

scorepar

object of class 'scoreparameters'

incidence

adjacency matrix of a DAG

datatoscore

matrix or vector containing observations to be scored

marginalise

(logical) should marginal score be used?

onlymain

(logical) should static nodes be included in the score?

datainit

optional, in case of unbalanced design, the mean score of available samples for T0 are computed

Value

vector of log-scores

Author(s)

Polina Suter


[Package BiDAG version 2.1.4 Index]