Description Usage Arguments Value Author(s) See Also Examples
For a given data sample, the function calculates the log-likelihood of a node with respect to a specified parent set.
1 | cnNodeLoglik(object, node, data, pert=NULL, softmode=FALSE, klmode=FALSE)
|
object |
a |
node |
an |
data |
a |
pert |
an optional perturbation |
softmode |
a |
klmode |
a |
a numeric
value
N. Balov
1 2 3 | cnet <- cnRandomCatnet(numnodes=10, maxpars=3, numcats=2)
psamples <- cnSamples(object=cnet, numsamples=100)
cnNodeLoglik(cnet, node=5, data=psamples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.