Hello Everyone,
I am trying to rename the labels for my graph so that they read "Cohort I," "Cohort II" instead of "Proportions 0.09648 0.06272," "0.09365 0.06555,", etc. Is there an easy way to do this?
Here is my code and I have also attatched a PNG of the graph:
Proc power; twosamplefreq test = pchi sides = 2 alpha = 0.05 groupproportions = (0.09648, 0.06272) /*35*/ (0.09365, 0.06555) /*30*/ (0.09097, 0.06823) /*25*/ (0.08844, 0.07076) /*20*/ (0.08605, 0.07315) /*15*/ (0.08379, 0.07541) /*10*/ (0.08164, 0.07756) /*05*/ ntotal = 0 200 400 600 800 1000 1200 1400 1600 1800 2000 2200 2400 2600 2800 3000 3200 3400 3600 3800 4000 4200 4400 4600 4800 5000 5200 5400 5600 5800 6000 6200 6400 6600 6800 7000 7200 7400 7600 7800 8000 8200 8400 8600 8800 9000 9200 9400 9600 9800 10000 10200 10400 10600 10800 11000 11200 11400 11600 11800 12000 12200 12400 12600 12800 13000 13200 13400 13600 13800 14000 14200 14400 14600 14800 15000 15200 15400 15600 15800 16000 16200 16400 16600 16800 17000 17200 17400 17600 17800 18000 18200 18400 18600 18800 19000 19200 19400 19600 19800 20000 power = .;
title 'Cohort 1 / 35% - 5% RRR'; plot x =N min = 200 max = 8000 xopts = (ref = 3514 crossref = yes) vary(color); /*ODS Output PlotContent = want;*/ run;
Thank you!
... View more