Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

deal (version 1.1-1)

localmaster: Local master

Description

Calculates the joint distribution of a node and its parents from the joint prior.

Usage

localmaster(family,nw,prior=jointprior(nw))
printmaster(nw,prior=jointprior(nw))

Arguments

nw
The network.
family
Indices of node and parents of the node.
prior
A joint prior, see jointprior.

Details

Called by cond.node. For the discrete part of the network, the master is the marginal distribution of the discrete nodes in the family. For the mixed part of the network, for each configuration $i$ of the discrete variables in family, the joint parameter priors are given by jointprior as p(mi|Σi)=N(μi,Σi/νi) p(Σi)=IW(ρi,Φi) where IW denotes the inverse Wishart distribution. Then, the local master for configuration $i$ is deduced for the family $A$ as ΣAΓ|iAΔIW(ρiAΔ,Φ~AΓ|iAΔ) mAΓ|iAΔ|ΣAΓ|iAΔN(μ¯AΓ|iAΔ,ΣAΓ|iAΔ/νAΔ) where $\Gamma$ is the set of continuous nodes and $\Delta$ is the set of discrete nodes. Furthermore, ρiAΔ=j:jAΔ=iAΔρj and likewise for $\nu_{i_{A\cap\Delta}}$ and $\Phi_{i_{A\cap\Delta}}$. Finally, μ¯AΔ=(j:jAΔ=iAΔμjνj)/νiAΔ Φ~AΓ|iAΔ=ΦiAΔ+j:jAΔ=iAΔνj(μjμ¯iAΔ)(μjμ¯iAΔ)

References

Further information about Deal can be found at: http://www.math.auc.dk/novo/deal.

See Also

cond.node