Date: Mon, 26 Oct 2009 08:42:53 -0400
Reply-To: Annette Hultaker <annette.hultaker@SCANIA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Annette Hultaker <annette.hultaker@SCANIA.COM>
Subject: Re: Matlab matrix-calculation to SAS
Solved!
Clever colleagues sorted it out for me. Tau will be used as an id. For each
unique tau I now calculate t1 and t2 and merge with lambda(t1) and Fl(t2).
The sum (for each unique tau) of lambda(t1) * Fl(t2) is stored in a dataset
with tau. As I know tau for each item, the lambda-Fl sum is easily added to
each and every item.
I also skipped the macro and do the summary for each period k later in the
program.
|