Class ConditionalGaussianSimulation
java.lang.Object
edu.cmu.tetrad.algcomparison.simulation.ConditionalGaussianSimulation
- All Implemented Interfaces:
- Simulation,- HasParameters,- TetradSerializable,- Serializable
A simulation method based on the conditional Gaussian assumption.
- Author:
- jdramsey
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateData(Parameters parameters, boolean newModel) Creates a data set and simulates data.getDataModel(int index) intgetTrueGraph(int index) voidsetCoefHigh(double coefHigh) voidsetCoefLow(double coefLow) voidsetCoefSymmetric(boolean coefSymmetric) voidsetMeanHigh(double meanHigh) voidsetMeanLow(double meanLow) voidsetVarHigh(double varHigh) voidsetVarLow(double varLow) 
- 
Constructor Details- 
ConditionalGaussianSimulation
 
- 
- 
Method Details- 
createDataDescription copied from interface:SimulationCreates a data set and simulates data.- Specified by:
- createDatain interface- Simulation
 
- 
getTrueGraph- Specified by:
- getTrueGraphin interface- Simulation
- Parameters:
- index- The index of the desired true graph.
- Returns:
- That graph.
 
- 
getDataModel- Specified by:
- getDataModelin interface- Simulation
- Parameters:
- index- The index of the desired simulated data set.
- Returns:
- That data set.
 
- 
getDescription- Specified by:
- getDescriptionin interface- Simulation
- Returns:
- Returns a one-line description of the simulation, to be printed at the beginning of the report.
 
- 
getParameters- Specified by:
- getParametersin interface- HasParameters
- Specified by:
- getParametersin interface- Simulation
- Returns:
- Returns the parameters used in the simulation. These are the parameters whose values can be varied.
 
- 
getNumDataModelspublic int getNumDataModels()- Specified by:
- getNumDataModelsin interface- Simulation
- Returns:
- The number of data sets to simulate.
 
- 
getDataType- Specified by:
- getDataTypein interface- Simulation
- Returns:
- Returns the type of the data, continuous, discrete or mixed.
 
- 
setVarLowpublic void setVarLow(double varLow) 
- 
setVarHighpublic void setVarHigh(double varHigh) 
- 
setCoefLowpublic void setCoefLow(double coefLow) 
- 
setCoefHighpublic void setCoefHigh(double coefHigh) 
- 
setCoefSymmetricpublic void setCoefSymmetric(boolean coefSymmetric) 
- 
setMeanLowpublic void setMeanLow(double meanLow) 
- 
setMeanHighpublic void setMeanHigh(double meanHigh) 
 
-