Make your own free website on
SASMacros  by Arnold Schick

On this page here, SAS macros are listed, which were developed in the frame of applications at the University of Marburg, Germany by Arnold Schick. All SAS macros provided on this page are free but are at the user's own risk. They are tested with data which are included as SAS comments at the bottom of the source in every macro. The internal used SAS data sets are stored in the SAS library WORK only. Every macro is provided "as it is". If you find an error condition, please reply. Thanks!

One SAS macro will be prepared to call, simply in SAS by including the macro's source (as provided in the following list) into the PGM (Program Editor) of SAS, and by submitting of the included macro source with the submit command or submit command button. Thereafter, within the SAS's PGM, you can apply by calling the macro using its name and your own data in the same SAS session. In addition, there are also other methods which use macros in SAS.

The list is sorted alphabetically by macronames. The scope of application, the date and size information are also given. You can also use a Search utility to search this collection.

   Name    Date   

Size [Kbyte]

 Description 07-Aug-95 6    Calculates main points and areas within limited areas, like a map 20-May-96 3.5    Calculates the arithmetical row and column mean 07-Aug-95 2    Converts cartesian coordinates into polar 17-Jan-96 3    Selects data from within one data set 31-Oct-94

6    Calculates the parametric function F´(x) from F(x) 07-Aug-95 24    Calculates the parametric function F´(x,y) from F(x,y) 20-May-96 4    Calculates the geometric row and column mean 07-Aug-95 1    Draws line of identity to given data 27-Nov-96 19    Calculates parametric function z=F(x,y) from z'=F´(x,y), Integral of 3D function. Volume is also computed. 25-Jun-98 17    Calculates the parametric function F(x) from F´(x), Integral of function. Surface and mainpoint-coordinates are also computed 24-Aug-96 1    Selects countries around the Mediterranean sea for proc GMAP 07-Aug-95 1    Searches minimal and maximal value within a data set and produces a simply SAS note 17-Jan-96 4    Searches nearest neighbours 22-Aug-95 7    Searches nearest neighbours around a given value 07-Aug-95 2    Converts polar coordinates into cartesian 07-Aug-95 8    Calculates a parametric function F(x) from F´(x) without interpolation quickly (Integral) 07-Aug-95 1    Prepares a data set to plot as a star-ray plot 07-Aug-95 3    Creates an annotate data set for comment on remarking upon a plot 21-Nov-97 0.5   Rounds data up or down to nearest roundoff unit 06-Oct-00 16   Another Sampling SAS program , it tests samples by Student-, Fisher, Chi Square or Normal distributions. Plots the results as Wiskers-Box-Plots. 18-Sep-98 3    Scales data to given ranges or, by default to [0-1|0-1] 07-Aug-95 3    Scales the data to given ranges or, by default to [0-1|0-1|0-1] 07-Aug-95 1    Interpolates function-values y=F(x) with proc g3grid 07-Aug-95 9    Fits a parametric function with SAS/IML function SPLINE 10-Jun-96 3.5    Adds variable-rows and/or column data 07-Aug-95 5    Transforms data into desired value's ranges 30-Aug-96 0.3    Checks macro parameter's type (numeric or character) 24-Aug-95 6    Relocates USA and CA borders of states and provinces on one map (using in proc gmap)