Help using Base SAS procedures

Adding a trend line to graphs

Posts: 0

Adding a trend line to graphs


I have a series of line graphs which I rendered in SAS. Each graph represents a customer (the data is grouped "by id_number") and plots sum of purchases on the Y axis and year on the X axis for the years 2004 through 2008.

What I would like to do is add a trend line to each graph and write the p-value and slope information to the customers' records.

I have attempted to do this through Time Series Forecasting but am not succeeding.

If anyone can please offer assistance, even if it is just to point me in the right direction, I would be greatly appreciative.

Thank you very much.
Ask a Question
Discussion stats
  • 0 replies
  • 1 in conversation