+ Reply to Thread
Results 1 to 2 of 2

Thread: Regression analysis with dummy var.

  1. #1
    Points: 4, Level: 1
    Level completed: 7%, Points required for next Level: 46

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Regression analysis with dummy var.



    Hi everybody!

    I am doing a multivar. regression analysis in stata.

    I would like to know if the percentage of women in af specific position relates to the size of the wage. I have three dummy var. Gender (male=0), position (10 different, out of work = 0) and wage (y-var). How can I do a regression analysis with these variables and find out what I need to know?

    I have tried to make a new dummy variable with eg. woman*leader. Is this the way to do it?

    Please help

    Best regards,
    Lea

  2. #2
    Points: 811, Level: 15
    Level completed: 11%, Points required for next Level: 89

    Posts
    78
    Thanks
    0
    Thanked 24 Times in 23 Posts

    Re: Regression analysis with dummy var.


    If you mean an interaction, in Stata 11 and Stata 12, you need to use

    # or ##

    Please see

    help fvvarlist

    for more information.

    A variable in the interaction term is assumed to be categorical unless you specify the operator c. (continuous variable). For example,

    female#c.wage

    female is categorical and wage is treated as a continuous variable.

    If you are using Stata 10 or earlier version, you need to use

    xi: i.female*wage

    Quote Originally Posted by Lea View Post
    Hi everybody!

    I am doing a multivar. regression analysis in stata.

    I would like to know if the percentage of women in af specific position relates to the size of the wage. I have three dummy var. Gender (male=0), position (10 different, out of work = 0) and wage (y-var). How can I do a regression analysis with these variables and find out what I need to know?

    I have tried to make a new dummy variable with eg. woman*leader. Is this the way to do it?

    Please help

    Best regards,
    Lea

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats