Class SemBicScoreDeterministic
java.lang.Object
edu.cmu.tetrad.algcomparison.score.SemBicScoreDeterministic
- All Implemented Interfaces:
ScoreWrapper
,HasParameters
,TetradSerializable
,Serializable
SemBicScoreDeterministic is a class that implements the ScoreWrapper interface. It is used to calculate the Sem BIC
Score for deterministic models.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of the SemBicScoreDeterministic. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the data type of the ScoreWrapper implementation.Returns a short description of the method.Retrieves the list of parameters required for the getScore() 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 Node with the given name from the data set.
-
Constructor Details
-
SemBicScoreDeterministic
public SemBicScoreDeterministic()Constructs a new instance of the SemBicScoreDeterministic.
-
-
Method Details
-
getScore
Returns true iff x and y are independent conditional on z for the given data set.- Specified by:
getScore
in interfaceScoreWrapper
- Parameters:
dataSet
- The data set to test independence against.parameters
- The paramters of the test.- Returns:
- True iff independence holds.
-
getDescription
Returns a short description of the method.- Specified by:
getDescription
in interfaceScoreWrapper
- Returns:
- The description of the method.
-
getDataType
Retrieves the data type of the ScoreWrapper implementation.- Specified by:
getDataType
in interfaceScoreWrapper
- Returns:
- The data type of the ScoreWrapper implementation.
-
getParameters
Retrieves the list of parameters required for the getScore() method.- Specified by:
getParameters
in interfaceHasParameters
- Specified by:
getParameters
in interfaceScoreWrapper
- Returns:
- A list of String names of parameters required for the getScore() method.
-
getVariable
Retrieves the Node with the given name from the data set.- Specified by:
getVariable
in interfaceScoreWrapper
- Parameters:
name
- the name of the variable- Returns:
- the Node with the specified name
-