Announcement

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

  • Statistical Analysis with Control and treatment group

    I would like some advice on what statistical analysis to use to test my hypothesis. I have two groups and several (about 10) control variables, which are mostly on a scale from 0-6.
    I thought a linear regression would fit, but how do I include the difference between the two groups?

    Thanks in advance.

    Andreas

  • #2
    Originally posted by Andreas Klinar View Post
    how do I include the difference between the two groups?
    You could use a Stata's factor variable notation for the grouping variable. If you're fitting a linear regression model, then the regression coefficient for the grouping variable will be the difference in adjusted means between the two groups. Something like the following, perhaps.
    Code:
    regress outcome_variable i.grouping_variable i.(<categorical_"control"_variables>) c.(<continuous_"control"_variables>)

    Comment

    Working...
    X