I've been asked to re-post my question.
First of all, thank you to all of community who helped me on my last post.
Current Question:
I've asked to work with proc gplot in an existing program. Once I have made the necessary changes and run my code I get a plot with a regression line that is not one continuous line.
My code is as follows:
symbol1 v=circle i=none c=BLACK h=2;
symbol2 v=none l=1 i=join c=BLACK h=3;
symbol3 v=square i = none c=BLACK h=3;
symbol4 v=star i = none c=BLACK h=3;
*goptions ftext=ARIAL;
axis1 logbase=10 logstyle=expand minor=(h=0.5) label=(h=2.5 "Cycle");
axis2 logbase=10 logstyle=expand minor=(h=0.5) label=(h=2.5 angle=90 "&l_pparm");
legend1 value=('Individual' 'Linear Regression' 'Geometric Mean' 'Median') label=(' ');
proc gplot data=pk1 annotate=anno;
plot pkpraw*cpevent1=1
yp*cpevent1=2
_geomean*cpevent1=3
z_median*cpevent1=4
/overlay skipmiss vaxis=axis2 haxis=axis1 hzero vzero legend=legend1 noframe;
format pkpraw pred _geomean z_median 8.;
run;
quit;
Data Used:
data SAMPLE;
infile datalines dsd truncover;
input PKPRAW:32. cpevent1:$200. cpevent2:32. pred:32. z_median:32. _geomean:32. yp:32.;
label PKPRAW="PK Parameter Value" pred="Predicted Value of y" z_median="PK Parameter Value";
datalines4;
11,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
25.2,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
27.1,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
27.3,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
29.8,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
30.5,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
34.9,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
39,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
39.2,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
42.4,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
44.3,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
45.8,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
47.6,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
47.7,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
48,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
49,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
53.6,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
56,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
58.3,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
59.6,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
60.6,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
61.8,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
62.5,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
65,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
66.2,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
67.2,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
72.8,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
74.3,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
76.6,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
79.6,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
81.4,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
81.8,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
81.9,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
84.4,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
89.2,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
93,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
94.9,C2D1,2,3.655622292,61.2,58.272469199,38.691591091
114,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
117,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
121,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
135,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
168,C2D1,2,4.12454122,61.2,58.272469199,61.839432047
5.93,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
14.3,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
24.2,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
29.9,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
39.6,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
43.9,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
44.7,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
44.8,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
47.4,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
47.5,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
51,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
52.4,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
52.9,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
55.3,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
55.5,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
58.1,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
61.7,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
63.1,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
64.8,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
67.9,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
69.4,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
71.6,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
79.2,C3D1,3,3.655622292,58.1,53.458339518,38.691591091
80.1,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
80.7,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
81.3,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
82,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
83.2,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
87.3,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
108,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
134,C3D1,3,4.12454122,58.1,53.458339518,61.839432047
6.91,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
11.8,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
19.4,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
27.4,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
28.6,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
32.8,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
34.7,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
38.2,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
41.9,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
43.1,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
44.7,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
45.9,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
49.5,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
59.2,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
60.5,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
61.7,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
62.1,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
65.3,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
66.7,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
67.2,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
68.4,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
70,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
70.5,C4D1,4,3.655622292,61.9,53.37077009,38.691591091
72.6,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
75.8,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
83,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
95.6,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
98.3,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
103,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
113,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
165,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
170,C4D1,4,4.12454122,61.9,53.37077009,61.839432047
;;;;
The output is attached.
Thank you in advance.
... View more