Class GicScores
java.lang.Object
edu.cmu.tetrad.algcomparison.score.GicScores
- All Implemented Interfaces:
- ScoreWrapper,- HasParameters,- TetradSerializable,- Serializable
@Score(name="Generalized Information Criterion Scores",
       command="gic-scores",
       dataType={Continuous,Covariance})
@LinearGaussian
public class GicScores
extends Object
implements ScoreWrapper
The GicScores class is an implementation of the ScoreWrapper interface that calculates the Generalized Information
 Criterion (GIC) scores for a given data model. It is used to test the independence between variables in the data
 set.
- See Also:
- 
Constructor SummaryConstructors
- 
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- 
GicScorespublic GicScores()Constructs a new instance of the algorithm.
 
- 
- 
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.
 
 
-