R*********d 发帖数: 128 | 1 i have a series of data, for example I have month 3,4,7,9,12,14,18,21,25,30.
the values of these month are 2,3,5, 10, 8, 7.5, 5.4,3.7,2.8, 1.99.
I want a simple interpolation of those points so that I could get values of
each month(month 3,4,5,6....30).
what i want is keep the peak point as in month9 which value is 10.
I've tried to use proc expand with spline(natural)function, the result is
not looks good cuz the peak point is switched, the month 11's value is the
highest.
any suggestion? |
|