Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calculation R2 after estimation xtgls

    Hello, my model is generalized least squares method, but the R2 has not been calculated. How is it calculated?

    xtgls arlag c.ibvol##i.spec auto lev lnat btm tenure opinion los matweak,panels(heteroskedastic)

    Cross-sectional time-series FGLS regression

    Coefficients: generalized least squares
    Panels: heteroskedastic
    Correlation: no autocorrelation

    Estimated covariances = 133 Number of obs = 1,064
    Estimated autocorrelations = 0 Number of groups = 133
    Estimated coefficients = 12 Time periods = 8
    Wald chi2(11) = 682.79
    Prob > chi2 = 0.0000

    thankyou

  • #2
    Ahmad:
    welcometothis forum.
    -xtgls- returns -chi2-.
    Just type:
    Code:
    ereturn list
    for further details.
    Last edited by Carlo Lazzaro; 16 Apr 2022, 15:32.
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Thank you mr lazzaro but how interpret goodnees of fit GLS estimation?

      Comment


      • #4
        Ahmad:
        see -Waldi chi2- outcome.
        That said, if you have a N>T panel dataset, why going -xtgls- instead of -xtreg-?
        Kind regards,
        Carlo
        (StataNow 18.5)

        Comment


        • #5
          160 / 5,000 Translation results

          My model has hetroskedastic and That's why I estimated my model to GLS by command xtgls . Is there another way to correct report the coefficient of determination (r2) to me? Thank you

          Comment


          • #6
            Ahmad:
            -xtreg- with -vce(cluster clusterid) option accounts for heteroskedasticity and/or autocorrelation.
            Kind regards,
            Carlo
            (StataNow 18.5)

            Comment


            • #7

              Thank you. My model is fixed effect. Do not need a Voldridge test or modified wald ?

              Comment


              • #8
                Ahmad:
                if you've already detected heteroskedasticity, there's no need for another test.
                Kind regards,
                Carlo
                (StataNow 18.5)

                Comment

                Working...
                X