Announcement

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

  • R cbind command - equivalent (or similar) Stata command?

    Hello,

    I would like to run a multivariate model in Stata. In R someone can combine the response variables with the cbind command so a possible model would look like this:

    glmer ((cbind(D6,A6)) ~ age + sex + route + age:route + age:sex + route:sex, data=data)

    However, I can't figure out how to do this in Stata and all reading made me even more confused

    Appreciate any comments to get this done.

    Thanks



  • #2
    There isn't an equivalent for this case. You just need to look at the Stata syntax for a command to see how response variables are segregated (just as Stata doesn't insist on + to bind predictors together).

    Comment

    Working...
    X