Class DiscreteBicScore
java.lang.Object
edu.cmu.tetrad.algcomparison.score.DiscreteBicScore
- All Implemented Interfaces:
- ScoreWrapper,- HasParameters,- TetradSerializable,- Serializable
@Score(name="Discrete BIC Score",
       command="disc-bic-score",
       dataType=Discrete)
public class DiscreteBicScore
extends Object
implements ScoreWrapper
Wrapper for Discrete BIC test.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes a new instance of the DiscreteBicScore class.
- 
Method SummaryModifier 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- 
DiscreteBicScorepublic DiscreteBicScore()Initializes a new instance of the DiscreteBicScore class.
 
- 
- 
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 a short of this independence test.- Specified by:
- getDescriptionin interface- ScoreWrapper
- Returns:
- This description.
 
- 
getDataTypeReturns the data type that the search requires, whether continuous, discrete, or mixed.- Specified by:
- getDataTypein interface- ScoreWrapper
- Returns:
- This type.
 
- 
getParametersReturns the parameters that this search uses.- Specified by:
- getParametersin interface- HasParameters
- Specified by:
- getParametersin interface- ScoreWrapper
- Returns:
- A list for String names of parameters.
 
- 
getVariableReturns the variable with the given name.- Specified by:
- getVariablein interface- ScoreWrapper
- Parameters:
- name- the name.
- Returns:
- the variable.
 
 
-