Package edu.cmu.tetrad.sem
Class Ricf
java.lang.Object
edu.cmu.tetrad.sem.Ricf
Implements ICF as specified in Drton and Richardson (2003), Iterative Conditional Fitting for Gaussian Ancestral
Graph Models, using hints from previous implementations by Drton in the ggm package in R and by Silva in the Purify
class. The reason for reimplementing in this case is to take advantage of linear algebra optimizations in the COLT
library.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The fit con graph result.static class
RICF result. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncliques.ricf
(SemGraph mag, ICovarianceMatrix covMatrix, double tolerance) ricf.ricf2
(Graph mag, ICovarianceMatrix covMatrix, double tolerance) same as above but takes a Graph instead of a SemGraph
-
Constructor Details
-
Ricf
public Ricf()Constructor for Ricf.
-
-
Method Details
-
ricf
ricf.
- Parameters:
mag
- aSemGraph
objectcovMatrix
- aICovarianceMatrix
objecttolerance
- a double- Returns:
- a
Ricf.RicfResult
object
-
ricf2
same as above but takes a Graph instead of a SemGraph- Parameters:
mag
- aGraph
objectcovMatrix
- aICovarianceMatrix
objecttolerance
- a double- Returns:
- a
Ricf.RicfResult
object
-
cliques
cliques.
- Parameters:
graph
- aGraph
object- Returns:
- an enumeration of the cliques of the given graph considered as undirected.
-