I have a dataset which in a simplified view looks like this; Index Time Var1 Var2 Var3 . . . Var7 1 1 a b c 1 2 d e f 1 3 g h i 1 4 j k l 2 1 m n o 2 2 p q r 2 3 s t u 2 4 v w x . . . . . . . . 5000 It is hoped that it can be used to develop 5000 different non-liner regression models. I have generated a list of 7 random knot locations between 0 to 60 for 5000 models, these have then been used to calculate a truncated power series where the values are stored under Var1 to Var7. What I need to know is how to do a proc reg on the values within the rows of data where index = (i = 1 to 5000) and then obtain the AIC for each model. The LONG way would be to subset 5000 times and do each model individually and then compare AICs. Is there a way to automate this process? Many Thanks Graeme Torrance University of St. Andrews
... View more