Thank you Robert. Considering your suggestion for question (2), I calculated the values and called them in a macro variable. However, I have a BY statement and the macro variable saved only the last intercept and slope. Any idea how to save the values for each DATE and PLACE? I am thinking to use each value in a custom text string onto the graph. PROC REG DATA=ALLOPENP; BY DateA Place; MODEL NDVI=CUMADAYTaphid; ODS OUTPUT ParameterEstimates=estimates FitStatistics=stats; run; DATA reg_results; MERGE estimates stats; BY DateA Place; if variable="CUMADAYTaphid" then call symput("slope", estimate); if variable="Intercept" then call symput("intercept", estimate); if Label2="R-Square" then call symput("rsquare", cValue2); run;
... View more