clocktower
Index A-Z
From the Chancellor
Visitors
Alumni
People Finder
For the Media
For Parents
Jobs
SalukiNet
SIUC Intranet
Athletics
Events Calendar
Weather
IT Home
Get Help
How Do I
FAQ
Get Network ID
Get UNIX ID
Get Mypage ID
Change Password
Services Index
Doc Index
line

Lisrel and Prelis on the FATMAN Unix Server

Print friendly page

Lisrel 8 and Prelis 2 for Sun Solaris allows the interactive execution of programs from the Unix environment. Access to Lisrel and Prelis requires a Unix ID on the FATMAN Server (fatman.siu.edu) and knowledge of Lisrel and Prelis commands and syntax. (Unix access for a Network ID can be obtained on the web.) The following paragraphs describe how to execute programs on Unix.

Sample Programs

To run a Lisrel or Prelis program under the Unix environment, create a file containing the commands using a Unix editor (e.g., VI, Emacs, or XE). The Lisrel program file typically has the file suffix "ls8" (e.g., sample.ls8), while the Prelis program ends with "pr2" (e.g., lab1.pr2).

A sample Lisrel 8 program follows:

hypothetical model estimated by ml
da ni=11 no=100
cm sy fi=ex1.cov
mo ny=4 nx=7 ne=2 nk=3 be=fu ps=sy,fr
fr ly 2 1 ly 4 2 lx 2 1 lx 3 1 lx 3 2 lx 5 2 lx 7 3 be 2 1 be 1 2
fi ga 1 3 ga 2 2
va 1 ly 1 1 ly 3 2 lx 1 1 lx 4 2 lx 6 3
ou mi rs ef mr ss sc

A sample Prelis 2 program is:

example 1a: prelis test on data.100
da ni = 6   nobs = 100    missing = -9    treatment = pairwise
raw-data = data.100
labels
contin1 ordinal1 ordinal2 ordinal3 contin2 ordinal4
continuous: contin1 contin2
output matrix = pmatrix

 

Executing Programs

To execute a Lisrel program, type the following command from the Unix $ prompt:

lisrel sample.ls8 sample.out

where "sample.ls8" is the name of the program file and "sample.out" is the output file to be created.

 

To execute a Prelis program, type the following command from the Unix $ prompt:

prelis2 prog1.pr2 prog1.out

where "prog1.pr2" is the name of the program file and "prog1.out" is the output file to be created.

 

References

The following Lisrel and Prelis reference manuals were written by Karl Joreskog and Dag Sorbom:

Lisrel 8: Structural Equation Modeling with the SIMPLIS Command Language. 1993. Scientific Software International. Chicago. (ISBN 0-89498-033-5)

Lisrel 8: User's Reference Guide. 1996. Scientific Software International. Chicago. (ISBN 0-89498-040-8)

Prelis 2: User's Reference Guide. 1996. Scientific Software International. Chicago. (ISBN 0-89498-041-6)

Scientific Software International
1525 East 53rd Street, Suite 530
Chicago, IL 60615

Telephone: 312-684-4920
Fax: 312-684-4979