pg 207 of course book

pg 207 of course book

by Laura Koth -
Number of replies: 1

tried to reproduce the syntax for the dichotomous test on pg 207 where I generated 2 dichotomous variables, one the gold standard and the other the test.

used the command syntax:

bysort var1: ci var2, binomial

and getting an error indicating that I need to specify one of the means, proportions or variance following the ci command

but the example in the book did not indicate this?

any ideas why this isn't working?

In reply to Laura Koth

Re: pg 207 of course book

by Kristen -

In older versions of Stata, you did not need to specify proportion or mean. 

From Stata version 14 + you need to specify ci proportion or ci mean