I would like to sum multiple variables of 1's and .'s
This is the situation. I have 5 divisions of one variable. so there is a column for type 1, type 2 ... type 5 with a 1 if this obs is that type . else.
The second part is a success column for each type:
type1success, type2success, ... type5success with a 1 if this observation was a success.
I would like to set up a table with 5 rows one for each type and 3 variables like so: ('...' are so u can see the columns)
..........sumoftype1........sumoftype1success........success/type1 (ie success rate)
type 1
type 2
type 5
please let me know if you can help with this. Thanks!
Message was edited by: Bryce