Package edu.cmu.tetrad.search
Class MimbuildBollen
java.lang.Object
edu.cmu.tetrad.search.MimbuildBollen
MimbuildBollen (BlockSpec version)
 
Takes a clustering of measured variables (disjoint blocks), one latent per block, estimates the latent covariance via a simple ML-like objective, then learns a structure over the latents using BOSS + SEM-BIC.
Required input is a DataSet and a BlockSpec (blocks + latent nodes).
See Spirtes et al., "Causation, Prediction, and Search".
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves the latent covariance matrix associated with the MimbuildBollen instance.doubleRetrieves the minimum value associated with the MimbuildBollen class.doubleRetrieves the p-value associated with the MimbuildBollen class.search()Executes a search operation to build and optimize a graphical structure based on the covariance of latent and measured variables.voidsetPenaltyDiscount(double penaltyDiscount) Sets the penalty discount value associated with the MimbuildBollen class.
- 
Constructor Details- 
MimbuildBollenConstructor for the MimbuildBollen class. Initializes the object with the provided BlockSpec, validates the input, and prepares internal data structures for processing.- Parameters:
- spec- the BlockSpec defining the data set, blocks, and latent variables. Must not be null. The BlockSpec must contain at least one block, and the number of latent variables must match the number of blocks. Each block must be non-empty, reference valid columns in the data set, and be disjoint from all other blocks. Latent variable names must be unique.
- Throws:
- IllegalArgumentException- if spec is null, contains invalid blocks, or fails validation criteria as described above.
 
 
- 
- 
Method Details- 
searchExecutes a search operation to build and optimize a graphical structure based on the covariance of latent and measured variables.The procedure comprises: - Construct a covariance matrix for the selected variables within the specified blocks.
- Define an indicator layout consistent with the selected covariance matrix.
- Estimate the latent covariance matrix and associated parameters via optimization.
- Score and search over latent variables to construct the resulting graph.
 - Returns:
- a Graphrepresenting the optimized structure of latent variables and their relationships.
- Throws:
- InterruptedException- if the thread executing the search is interrupted.
 
- 
getLatentsCovarianceRetrieves the latent covariance matrix associated with the MimbuildBollen instance.- Returns:
- the latent covariance matrix as an ICovarianceMatrix object.
 
- 
getMinimumpublic double getMinimum()Retrieves the minimum value associated with the MimbuildBollen class.- Returns:
- the minimum value as a double.
 
- 
getPValuepublic double getPValue()Retrieves the p-value associated with the MimbuildBollen class.- Returns:
- the p-value as a double
 
- 
setPenaltyDiscountpublic void setPenaltyDiscount(double penaltyDiscount) Sets the penalty discount value associated with the MimbuildBollen class.- Parameters:
- penaltyDiscount- the penalty discount value to set, represented as a double
 
 
-