Announcement

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

  • xtgee output

    Hi
    how can I find the variance of the mean after xtgee? should I use SE to get Variance or is there any command to report it from the model?
    I have Y_i = beta + epsilon
    then xtgee y, i(id) t(time) cor(ar1)
    I need sigma^2
    many thanks for any help
    cheers
    Last edited by reza gh; 27 Apr 2019, 08:33.

  • #2
    I'm not sure what you're looking for, but maybe
    Code:
    xtset id time
    xtregar y, re
    will give you what you want.

    Comment


    • #3
      Hi, Joseph
      thank you for your suggestion.
      I am restricted using Generalised Estimation Equation (GEE) approach and I have run it.
      xtgee y, i(id) t(time) corr(ar1)
      my problem is that I cannot find the variance of data calculated by STATA in output.
      I can calculate it but I need to compare it with STATA result.
      cheers

      Comment


      • #4
        Could you post a reproducible example of your code and what are you looking for?

        Comment

        Working...
        X