Announcement

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

  • Reg without constant term

    Hi,

    I know that when I estimate a regression with fixed effects the constant term should not be included.
    However, when I run the regression os Stata, it estimates the constant term.

    How can I run my regression without a constant term?
    or what is the interpretation of the constant term in the presence of the fixed effects?

    Thanks!





  • #2
    I'm not sure why you wouldn't usually want a constant term in a fixed-effects regression. Are you asking about something like the following?
    Code:
    sysuse bplong
    
    quietly regress bp i.when ibn.patient, noconstant
    margins when
    
    xtreg bp i.when, i(patient) fe
    margins when

    Comment


    • #3
      Yes, thanks Joseph Coveney.

      I understand that no constant term is included in the presence of the fixed effects.
      The equations with fixed effects usually do not have the constant term.

      Comment


      • #4
        Originally posted by Daniel Gomez View Post
        I understand that no constant term is included in the presence of the fixed effects.
        There are multiple ways to identify a fixed effects model, some include the constant some don't, but in the end they are all exactly equivalent.
        ---------------------------------
        Maarten L. Buis
        University of Konstanz
        Department of history and sociology
        box 40
        78457 Konstanz
        Germany
        http://www.maartenbuis.nl
        ---------------------------------

        Comment


        • #5
          Thanks Maarten Buis !

          Comment


          • #6
            Daniel:
            you might be interested in taking a look at: https://www.stata.com/support/faqs/s...effects-model/
            Kind regards,
            Carlo
            (Stata 19.0)

            Comment


            • #7
              Originally posted by Carlo Lazzaro View Post
              Daniel:
              you might be interested in taking a look at: https://www.stata.com/support/faqs/s...effects-model/
              This is great!!!! Carlo Lazzaro

              Comment

              Working...
              X