类 GLSMultipleLinearRegressionTest
java.lang.Object
org.hipparchus.stat.regression.MultipleLinearRegressionAbstractTest
org.hipparchus.stat.regression.GLSMultipleLinearRegressionTest
-
字段概要
从类继承的字段 org.hipparchus.stat.regression.MultipleLinearRegressionAbstractTest
regression
-
构造器概要
-
方法概要
修饰符和类型方法说明void
void
void
void
void
void
protected GLSMultipleLinearRegression
protected int
protected int
void
void
setUp()
void
生成一个误差协方差矩阵和代表具有此误差结构的模型的样本数据。void
验证具有单位协方差矩阵的GLS是否给出与OLS相同的结果。void
验证分别设置X、Y和协方差是否与newSample(X,Y,cov)具有相同效果。void
测试计算Y方差从类继承的方法 org.hipparchus.stat.regression.MultipleLinearRegressionAbstractTest
canEstimateRegressandVariance, canEstimateRegressionParameters, canEstimateRegressionParametersVariance, canEstimateResiduals, testNewSample, testNewSampleInsufficientData, testNewSampleInvalidData, testNewSampleNullData, testXSampleDataNull, testYSampleDataNull
-
构造器详细资料
-
GLSMultipleLinearRegressionTest
public GLSMultipleLinearRegressionTest()
-
-
方法详细资料
-
setUp
public void setUp() -
cannotAddXSampleData
public void cannotAddXSampleData() -
cannotAddNullYSampleData
public void cannotAddNullYSampleData() -
cannotAddSampleDataWithSizeMismatch
public void cannotAddSampleDataWithSizeMismatch() -
cannotAddNullCovarianceData
public void cannotAddNullCovarianceData() -
notEnoughData
public void notEnoughData() -
cannotAddCovarianceDataWithSampleSizeMismatch
public void cannotAddCovarianceDataWithSampleSizeMismatch() -
cannotAddCovarianceDataThatIsNotSquare
public void cannotAddCovarianceDataThatIsNotSquare() -
createRegression
-
getNumberOfRegressors
protected int getNumberOfRegressors() -
getSampleSize
protected int getSampleSize() -
testYVariance
public void testYVariance()测试计算Y方差 -
testNewSample2
public void testNewSample2()验证分别设置X、Y和协方差是否与newSample(X,Y,cov)具有相同效果。 -
testGLSOLSConsistency
public void testGLSOLSConsistency()验证具有单位协方差矩阵的GLS是否给出与OLS相同的结果。 -
testGLSEfficiency
public void testGLSEfficiency()生成一个误差协方差矩阵和代表具有此误差结构的模型的样本数据。然后验证GLS估计的系数平均表现优于OLS。
-