Index of /pub/masal
Name Last modified Size Description
Parent Directory 21-Jan-2008 05:11 -
index.htm 20-Jan-2008 17:01 1k
masal.SSC 20-Jan-2008 17:03 2k
masal.zip 20-Jan-2008 17:03 24k
masalPC.exe 20-Jan-2008 17:03 96k
masalSUN.exe 20-Jan-2008 17:03 889k
This is a revised version of MASAL that is available to the public. The author
bears no responsibility for the use of the program although he welcomes
comments and suggestions from the users.
In this directory, masalSUN.exe and masalPC.exe are executable codes compiled
on a SUN ULTRA-1 with solaris 2.6 and an IBP PC with Windows 95, respectively.
You must prepare an ASCII data set whose format is similar to the one used
in SAS PROC MIXED. For example, the data file should look like
1001 0 2 28 2 1 40 506 10.6
1001 0 2 28 2 1 40 464 10.6
1001 0 2 28 2 1 40 304 9.8
1001 0 2 28 2 1 40 243 9.5
1001 0 2 28 2 1 40 234 9.6
1003 0 0 22 1 1 40 509 11.5
1003 0 0 22 1 1 40 502 11.5
1003 0 0 22 1 1 40 285 9.6
where the first column is the ID number, columns 2 - 7 are covariates
(can be time-dependent), column 8 is time, and the response is in the last
column. Be sure to sort your data by ID number while preparing the data set.
To run the program, execute the command: masalSUN.exe on UNIX and
click masalPC.exe on PC. The program asks for some inputs from you.
For example, the following is the script when I ran the program on my system.
-----------------------------------------------------------------------------
enter data file name: coc.dat /*coc.dat is the data file name*/
enter output file name: coc.out /*coc.out is the output file*/
maximal number of terms: 15 /*you need enter 15 or another number*/
maximal number of interactions: 2 /*1, 2, or 3 is suggested*/
enter the number of columns in your data: 9 /*9 is the # of columns in data
file: coc.dat*/
constant term? (0 for no, 1 for yes) 1 /*I allow covariance to depend on
linear term? (0 for no, 1 for yes) 0 *time in a relatively simple manner*/
square term? (0 for no, 1 for yes) 0
Do you want to enforce certain terms into the model? (0 for no, 1 for yes) 1
/*you can enforce any terms before
MASAL starts. Enter 0 if not needed*/
How many terms? 1 /*enforce one term for example*/
Please enter the corresponding covariate numbers 3 /*x3 is chosen*/
*********** Iteration 1 ***********
initial RSS 24737
..............forward step started ..................
1 terms in: the current RSS 24715.2
2 terms in: largest h 20986.3 with 1 7 151.186
the current RSS 3728.9
4 terms in: largest h 779.15 with 1 6 27
-----------------------------------------------------------------------
Let it go until the program is done. A final MASAL formula is output
in TeX format.
----------
Copyright by Heping Zhang, 01/15/2001