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 
a.sas  07Aug95  6  Calculates main points and areas within limited areas, like a map 
amean.sas  20May96  3.5  Calculates the arithmetical row and column mean 
cart2pol.sas  07Aug95  2  Converts cartesian coordinates into polar 
choice.sas  17Jan96  3  Selects data from within one data set 
differ.sas  31Oct94

6  Calculates the parametric function F´(x) from F(x) 
differ3d.sas  07Aug95  24  Calculates the parametric function F´(x,y) from F(x,y) 
geomean.sas  20May96  4  Calculates the geometric row and column mean 
identity.sas  07Aug95  1  Draws line of identity to given data 
integr3d.sas  27Nov96  19  Calculates parametric function z=F(x,y) from z'=F´(x,y), Integral of 3D function. Volume is also computed. 
integral.sas  25Jun98  17  Calculates the parametric function F(x) from F´(x), Integral of function. Surface and mainpointcoordinates are also computed 
mediter.sas  24Aug96  1  Selects countries around the Mediterranean sea for proc GMAP 
mimaval.sas  07Aug95  1  Searches minimal and maximal value within a data set and produces a simply SAS note 
nearest.sas  17Jan96  4  Searches nearest neighbours 
nearest2.sas  22Aug95  7  Searches nearest neighbours around a given value 
pol2cart.sas  07Aug95  2  Converts polar coordinates into cartesian 
quickint.sas  07Aug95  8  Calculates a parametric function F(x) from F´(x) without interpolation quickly (Integral) 
ray.sas  07Aug95  1  Prepares a data set to plot as a starray plot 
remarks.sas  07Aug95  3  Creates an annotate data set for comment on remarking upon a plot 
roundud.sas  21Nov97  0.5  Rounds data up or down to nearest roundoff unit 
sampletest.sas  06Oct00  16  Another Sampling SAS program , it tests samples by Student, Fisher, Chi Square or Normal distributions. Plots the results as WiskersBoxPlots. 
scale.sas  18Sep98  3  Scales data to given ranges or, by default to [0101] 
scale3d.sas  07Aug95  3  Scales the data to given ranges or, by default to [010101] 
smooth.sas  07Aug95  1  Interpolates functionvalues y=F(x) with proc g3grid 
spline.sas  07Aug95  9  Fits a parametric function with SAS/IML function SPLINE 
sum.sas  10Jun96  3.5  Adds variablerows and/or column data 
trans.sas  07Aug95  5  Transforms data into desired value's ranges 
type_chk.sas  30Aug96  0.3  Checks macro parameter's type (numeric or character) 
usandca.sas  24Aug95  6  Relocates USA and CA borders of states and provinces on one map (using in proc gmap) 