My Basis Function

!MBF

!MBF mbf(v,n) f [ !SKIP k ]
specified on a separate line after the datafile line predefines the model term mbf(v,n) as a set of n covariates indexed by the data values in variable v. MBF stands for My Basis Function and uses the same mechanism as the leg(), pol() and spl() model functions but with covariates supplied by the user.

The file f should contain 1+n fields where the first field contains the values which are in the data variable or at which prediction is required, and the remaining n fields define the corresponding covariate values.

!SKIP k is an optional qualifier which requests the first k lines of the file be ignored.

Return to start