Class SemBicScore
java.lang.Object
edu.cmu.tetrad.algcomparison.score.SemBicScore
- All Implemented Interfaces:
- ScoreWrapper,- HasParameters,- TetradSerializable,- Serializable
@Score(name="Sem BIC Score",
       command="sem-bic-score",
       dataType={Continuous,Covariance})
@LinearGaussian
public class SemBicScore
extends Object
implements ScoreWrapper
Wrapper for linear, Gaussian SEM BIC score.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the data type of the current score.Returns the description of the Sem BIC Score.Returns a list of parameters applicable to this method.getScore(DataModel dataSet, Parameters parameters) Returns true, iff x and y are independent, conditional on z for the given data set.getVariable(String name) Retrieves the variable with the given name from the data set.
- 
Constructor Details- 
SemBicScorepublic SemBicScore()Constructs a new instance of the SemBicScore.
 
- 
- 
Method Details- 
getScoreReturns true, iff x and y are independent, conditional on z for the given data set.- Specified by:
- getScorein interface- ScoreWrapper
- Parameters:
- dataSet- The data set to test independence against.
- parameters- The parameters of the test.
- Returns:
- True iff independence holds.
 
- 
getDescriptionReturns the description of the Sem BIC Score.- Specified by:
- getDescriptionin interface- ScoreWrapper
- Returns:
- the description of the Sem BIC Score
 
- 
getDataTypeReturns the data type of the current score.- Specified by:
- getDataTypein interface- ScoreWrapper
- Returns:
- the data type of the score
 
- 
getParametersReturns a list of parameters applicable to this method.- Specified by:
- getParametersin interface- HasParameters
- Specified by:
- getParametersin interface- ScoreWrapper
- Returns:
- a list of parameters
 
- 
getVariableRetrieves the variable with the given name from the data set.- Specified by:
- getVariablein interface- ScoreWrapper
- Parameters:
- name- the name of the variable
- Returns:
- the variable with the given name, or null if no such variable exists
 
 
-