Package edu.cmu.tetrad.sem
Class GeneralizedSemEstimator
java.lang.Object
edu.cmu.tetrad.sem.GeneralizedSemEstimator
Estimates a Generalized SEM I'M given a Generalized SEM PM and a data set.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionestimate(GeneralizedSemPm pm, DataSet data) Maximizes likelihood equation by equation.doubleReturns the value of the field aSquaredStar.Retrieves the report generated by the GeneralizedSemEstimator.
-
Constructor Details
-
GeneralizedSemEstimator
public GeneralizedSemEstimator()Constructs a new GeneralizedSemEstimator.
-
-
Method Details
-
estimate
Maximizes likelihood equation by equation. Assumes the equations are recursive and that each has exactly one error term.- Parameters:
pm- aGeneralizedSemPmobjectdata- aDataSetobject- Returns:
- a
GeneralizedSemImobject
-
getReport
Retrieves the report generated by the GeneralizedSemEstimator.- Returns:
- The report as a String.
-
getaSquaredStar
public double getaSquaredStar()Returns the value of the field aSquaredStar.- Returns:
- the value of aSquaredStar
-