Skip to content
logo
linearmodels 6.1
linearmodels.system.gmm.HomoskedasticWeightMatrix.sigma
Initializing search
    linearmodels
    linearmodels
    • Instrumental Variable Estimation
    • Panel Data Model Estimation
    • Linear Factor Models for Asset Pricing
    • System Regression Models
      • Examples
      • Using formulas to specify models
      • Three-stage Least Squares (3SLS)
      • Module Reference
        • System Regression Estimators
        • Estimation Results
        • System Regression Estimator Covariance Estimation
        • GMM Moment Weighting
          • linearmodels.system.gmm.HomoskedasticWeightMatrix
            • Clinearmodels.system.gmm.HomoskedasticWeightMatrix
              • linearmodels.system.gmm.HomoskedasticWeightMatrix.sigma
                • MHomoskedasticWeightMatrix.sigma
                  • Parameters
                    • peps
                    • px
                  • Returns
                  • Return type
              • linearmodels.system.gmm.HomoskedasticWeightMatrix.weight_matrix
              • linearmodels.system.gmm.HomoskedasticWeightMatrix.config
          • linearmodels.system.gmm.HeteroskedasticWeightMatrix
          • linearmodels.system.gmm.KernelWeightMatrix
      • Seemingly Unrelated Regression (SUR/SURE)
      • Covariance Estimation
      • Memory efficient calculations
      • Three Stage Least Squares (3SLS)
      • System Generalized Method of Moments (GMM)
      • Testing Covariance and Correlations
      • System Measures of Fit (R^{2})
    • Utilities
    • Compatibility
    • Type Aliases
    • Module Plans
    • Contributing
    • Change Log
    • References
    • MHomoskedasticWeightMatrix.sigma
      • Parameters
        • peps
        • px
      • Returns
      • Return type

    linearmodels.system.gmm.HomoskedasticWeightMatrix.sigma¶

    HomoskedasticWeightMatrix.sigma(eps: ndarray, x: Sequence[ndarray]) → ndarray[source]¶

    Estimate residual covariance.

    Parameters:¶
    eps: ndarray¶

    The residuals from the system of equations.

    x: Sequence[ndarray]¶

    A list of the regressor matrices for each equation in the system.

    Returns:¶

    The estimated covariance matrix of the residuals.

    Return type:¶

    numpy.ndarray

    Previous linearmodels.system.gmm.HomoskedasticWeightMatrix
    Next linearmodels.system.gmm.HomoskedasticWeightMatrix.weight_matrix
    © Copyright 2021, Kevin Sheppard.
    Created using Sphinx 8.0.2. and Sphinx-Immaterial