Class MagSemBicScore
java.lang.Object
edu.cmu.tetrad.algcomparison.score.MagSemBicScore
- All Implemented Interfaces:
ScoreWrapper,HasParameters,TetradSerializable,Serializable
Wrapper for linear, Gaussian SEM BIC score.
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the data type that the search requires, whether continuous, discrete, or mixed.Returns a short of this independence test.Returns the parameters that this search uses.getScore(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.getVariable(String name) Returns the variable with the given name.
-
Constructor Details
-
MagSemBicScore
public MagSemBicScore()
-
-
Method Details
-
getScore
Description copied from interface:ScoreWrapperReturns true iff x and y are independent conditional on z for the given data set.- Specified by:
getScorein interfaceScoreWrapper- Parameters:
dataSet- The data set to test independence against.parameters- The paramters of the test.- Returns:
- True iff independence holds.
-
getDescription
Description copied from interface:ScoreWrapperReturns a short of this independence test.- Specified by:
getDescriptionin interfaceScoreWrapper- Returns:
- This description.
-
getDataType
Description copied from interface:ScoreWrapperReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
getDataTypein interfaceScoreWrapper- Returns:
- This type.
-
getParameters
Description copied from interface:ScoreWrapperReturns the parameters that this search uses.- Specified by:
getParametersin interfaceHasParameters- Specified by:
getParametersin interfaceScoreWrapper- Returns:
- A list of String names of parameters.
-
getVariable
Description copied from interface:ScoreWrapperReturns the variable with the given name.- Specified by:
getVariablein interfaceScoreWrapper- Parameters:
name- the name.- Returns:
- the variable.
-