HW 1 Kappa Stata .do File

HW 1 Kappa Stata .do File

by Ryan McMahan -
Number of replies: 0

Hello everyone - 

Some of you might find this .do file useful. 

It shows how you could use STATA to run the kappa statistic commands from homework #1.

It makes use of the "input" command which allows you to create a dataset with variables and frequencies. You can use this to essentially translate a 2x2 table into stata.

Also, it shows how you can use stata for more complicated tables, such as the mammogram question from the problem set.