Announcement

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

  • Help with Regression Interaction Term Command

    Dear all,

    I am using Stata 16, on mac. I need help estimating the following model
    Click image for larger version

Name:	Screen Shot 2019-11-02 at 10.14.46 PM.png
Views:	1
Size:	10.9 KB
ID:	1523088


    Where educi x urbani is an interaction term


    I used the command: regress wage educ urban i.educ i.urban, but I am not sure if it is correct.


    I would greatly appreciate it if someone could check to see if my command is correct.


    Thank you in advance for your help

    Jason Browen

  • #2
    This sounds like a homework exercise to me. So I am not going to give you the full answer, not because I am mean (I may very well be), but because figuring this stuff out is part of the learning experience. All I am going to give you is a place to start, and that is: type in Stata help fvvarlist
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      You may wish to read this text: https://www.stata.com/features/overv...tor-variables/
      Best regards,

      Marcos

      Comment


      • #4
        I'm quite happy to give you exactly what you asked for. I've checked your "command" to see if it is correct. It is not.

        Comment


        • #5
          Jason:
          in all likelihood, the regression model you were requested to estimate suffers from endogeneity (see https://www.stata.com/bookstore/micr...metrics-stata/, Chapter 6).
          Kind regards,
          Carlo
          (Stata 19.0)

          Comment

          Working...
          X