Qs 13 and 14, HW 4?

Qs 13 and 14, HW 4?

by Melanie Thomas -
Number of replies: 2
Hi there-
Anyone else having trouble with these questions? This is the command I'm using in STATA and it won't run:

mhodds dead anycac [age_60], by (gender)
In reply to Melanie Thomas

Re: Qs 13 and 14, HW 4?

by Stephen Chang -

Someone else asked the same question! get rid of the brackets [  ].

See below:

mhodds dead anycac age_60, by (gender)

Now it should work!

Best,

Stephen

In reply to Melanie Thomas

Re: Qs 13 and 14, HW 4?

by Kristen -

Hi Melanie, 

Sorry for the confusion. The brackets were meant to denote that it is [optional] to include adjustment variables in the mhodds command. In the actual command there are no brackets so it should be: 

mhodds dead anycac age_60, by (gender)

Thanks for the question,

Kristen