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

6    Calculates the parametric function F´(x) from F(x)
differ3d.sas 07-Aug-95 24    Calculates the parametric function F´(x,y) from F(x,y)
geomean.sas 20-May-96 4    Calculates the geometric row and column mean
identity.sas 07-Aug-95 1    Draws line of identity to given data
integr3d.sas 27-Nov-96 19    Calculates parametric function z=F(x,y) from z'=F´(x,y), Integral of 3D function. Volume is also computed.
integral.sas 25-Jun-98 17    Calculates the parametric function F(x) from F´(x), Integral of function. Surface and mainpoint-coordinates are also computed
mediter.sas 24-Aug-96 1    Selects countries around the Mediterranean sea for proc GMAP
mimaval.sas 07-Aug-95 1    Searches minimal and maximal value within a data set and produces a simply SAS note
nearest.sas 17-Jan-96 4    Searches nearest neighbours
nearest2.sas 22-Aug-95 7    Searches nearest neighbours around a given value
pol2cart.sas 07-Aug-95 2    Converts polar coordinates into cartesian
quickint.sas 07-Aug-95 8    Calculates a parametric function F(x) from F´(x) without interpolation quickly (Integral)
ray.sas 07-Aug-95 1    Prepares a data set to plot as a star-ray plot
remarks.sas 07-Aug-95 3    Creates an annotate data set for comment on remarking upon a plot
roundud.sas 21-Nov-97 0.5   Rounds data up or down to nearest roundoff unit
sampletest.sas 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.
scale.sas 18-Sep-98 3    Scales data to given ranges or, by default to [0-1|0-1]
scale3d.sas 07-Aug-95 3    Scales the data to given ranges or, by default to [0-1|0-1|0-1]
smooth.sas 07-Aug-95 1    Interpolates function-values y=F(x) with proc g3grid
spline.sas 07-Aug-95 9    Fits a parametric function with SAS/IML function SPLINE
sum.sas 10-Jun-96 3.5    Adds variable-rows and/or column data
trans.sas 07-Aug-95 5    Transforms data into desired value's ranges
type_chk.sas 30-Aug-96 0.3    Checks macro parameter's type (numeric or character)
usandca.sas 24-Aug-95 6    Relocates USA and CA borders of states and provinces on one map (using in proc gmap)