Class LinearFisherModel
java.lang.Object
edu.cmu.tetrad.algcomparison.simulation.LinearFisherModel
- All Implemented Interfaces:
- Simulation,- HasParameters,- TakesData,- TetradSerializable,- Serializable
Linear Fisher Model.
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionLinearFisherModel(RandomGraph graph) LinearFisherModel(RandomGraph graph, List<DataModel> shocks) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateData(Parameters parameters, boolean newModel) Creates a data set and simulates data.getDataModel(int index) Returns the number of data sets to simulate.Returns the data type of the data.Returns the description of the simulation.intReturns the number of data models.Returns the list of parameters used in the simulation.getTrueGraph(int index) Returns the true graph at the given index.
- 
Constructor Details- 
LinearFisherModel
- 
LinearFisherModel
 
- 
- 
Method Details- 
createDataDescription copied from interface:SimulationCreates a data set and simulates data.- Specified by:
- createDatain interface- Simulation
- Parameters:
- parameters- The parameters to use in the simulation.
- newModel- If true, a new model is created. If false, the model is reused.
 
- 
getDataModelDescription copied from interface:SimulationReturns the number of data sets to simulate.- Specified by:
- getDataModelin interface- Simulation
- Parameters:
- index- The index of the desired simulated data set.
- Returns:
- That data set.
 
- 
getTrueGraphDescription copied from interface:SimulationReturns the true graph at the given index.- Specified by:
- getTrueGraphin interface- Simulation
- Parameters:
- index- The index of the desired true graph.
- Returns:
- That graph.
 
- 
getDescriptionDescription copied from interface:SimulationReturns the description of the simulation.- Specified by:
- getDescriptionin interface- Simulation
- Returns:
- Returns a one-line description of the simulation, to be printed at the beginning of the report.
 
- 
getParametersDescription copied from interface:SimulationReturns the list of parameters used in the simulation.- 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()Description copied from interface:SimulationReturns the number of data models.- Specified by:
- getNumDataModelsin interface- Simulation
- Returns:
- The number of data sets to simulate.
 
- 
getDataTypeDescription copied from interface:SimulationReturns the data type of the data.- Specified by:
- getDataTypein interface- Simulation
- Returns:
- Returns the type of the data, continuous, discrete or mixed.
 
 
-