Rev 3734 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## $Id: README,v 1.1 1999/10/13 00:50:09 saikat Exp $Transcripts of lme analyses of examples from"SAS System for Mixed Models"Douglas BatesDept. of Statistics, U. of Wisconsin-MadisonJose C. PinheiroBell Labs, Lucent TechnologiesThis directory contains transcripts of analyses of some of theexamples from the book "SAS System for Mixed Models" by Littell,Milliken, Stroup, and Wolfinger (SAS Institute, 1996). Thesealternate analyses were done in S-PLUS 3.4 using version 3.0 of thenlme library. They primarily use the lme function for fitting linearmixed effects models.For each example there is a file with a .St extension which is anS-transcript file. Another file with a .q extension contains thecommands and comments only. If you have the data files available as Sobjects in the directory ../data/.Data, you should be able toreproduce the HR.St transcript, for example, by defining a .Firstfunction so that the NLME/.Data and the SAS_Mixed/.Data directoriesget attached and so that the NLME/NLME.so shared object getsdyn.loaded. We also use a setting for the options ofoptions( width = 65, length = 10000, digits = 5, prompt = "S> " )ThenSplus BATCH HR.q HR.outshould produce a file HR.out similar to the HR.St file. The graphicswill be in a file with a name like ps.out.0001.psAn alternative, if you use ESS (Emacs Speaks Statistics) within theemacs editor is to start an Splus process, attach the appropriatedirectories, dyn.load the shared object and set the options then findthe .q file and used C-c C-n to step through the file sending thecommands to the S-PLUS process. Of course this can also be done inESS by finding the transcript file itself then using C-m in thetranscript file. ESS is available fromhttp://franz.stat.wisc.edu/pub/ESS