It's hard to tell from the data above. The design points are clustered, leaving vast areas of the design space uncovered.. It may look linear or not, depending on how much smoothing you apply
proc g3grid data=have out=haveg;
grid temp*rh=day / axis1=9 to 30 by 1 axis2=60 to 95 by 1 spline smooth=0.01 1;
run;
proc sql;
create table haveGraph as
select unique
a.*,
b.RH as RHpoint,
b.temp as tempPoint,
b.day as dayPoint
from haveg as a left join
have as b on a.rh=b.rh and a.temp=b.temp
order by _smth_, rh, temp;
quit;
proc template;
define statgraph contourplotparm;
begingraph;
entrytitle "Contour Plot of Day by temp and RH";
layout overlay / xaxisopts=(griddisplay=on) yaxisopts=(griddisplay=on) ;
contourplotparm x=temp y=RH z=day /
contourtype=labeledline nhint=12 gridded=true;
scatterplot x=tempPoint y=rhPoint / datalabel=dayPoint
markerattrs=(symbol=circlefilled) jitter=auto;
endlayout;
endgraph;
end;
run;
ods graphics / height=700 width=700;
proc sgrender data=haveGraph template=contourplotparm;
by _smth_;
run;
Shoothing = 0.01:
Smoothing = 1.0:
... View more