@ematznick wrote: Expected for mhterm2_display elbow 63/102 (61.8%) knee 51/102 (50.0%) ankle 3/102 (2.9%) wrist 3/102 (2.9%) foot 4/102 (3.9%) neck 15/102 (14.7%)
This adds to more than 100%, and that was specifically my first question. Your original description talked only about counts, not percents, and if you want percents, what is the denominator 102? Your answer to my first question was that the sum would be greater than the number of records, but if you run it through PROC FREQ using my code, you get a percent that totals 100%. So PROC FREQ doesn't work? Or does it?
@ematznick , you shouldn't be providing us the problem to be solved in bits and pieces, and only when we ask. Please take a few minutes and write a clear and complete description of the problem, so we don't have to keep asking questions and modifying code, so hopefully, we can solve it once.
... View more