Announcement

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

  • reference in Stata (How can I change reference group in stata?)

    In fact, I changed reference group with "fvset base last
    fvset base first". Unfortunately the result is same. What can I do?

  • #2
    Originally posted by Omer Faruk View Post
    What can I do?
    Provide a reproducible example, including what you typed (exactly) and what Stata did in response (exactly), using code delimiters.

    Best
    Daniel

    Comment


    • #3
      I understand you. I'm sorry. I can't do it.

      Comment


      • #4
        Omar,

        From the help file (help fvset) you can see the syntax of this Stata command:
        Code:
         fvset base base_spec varlist
        Note that a variable or variable list is required, not optional. From your post, it appears you did not supply a variable list.

        Best,
        Alan

        Comment


        • #5
          Thanks

          But I did it..

          Comment


          • #6
            Help!

            Comment


            • #7
              Omer, it would help if you showed your code and output using code tags. See pt. 12 of the FAQ. Anyway, it looks to me like you are treating your independent variables as continuous rather than as categorical. See -help fvvarlist-. In other words, instead of something like

              reg y x1 x2

              you need

              reg y i.x1 i.x2

              If that isn't solving your problem please show complete code and output.
              -------------------------------------------
              Richard Williams, Notre Dame Dept of Sociology
              StataNow Version: 19.5 MP (2 processor)

              EMAIL: [email protected]
              WWW: https://www3.nd.edu/~rwilliam

              Comment

              Working...
              X