UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

SPSS Textbook Examples
Computer-Aided Multivariate Analysis, Afifi and Clark
Chapter 13

Page 318 Table 13.2  Percentage of deaths versus explanatory variables

get file 'c:\cama3\surv.sav'.

crosstabs 
 /tables = staget by death
 /tables = perfbl by death
 /tables = treat by death
 /tables = poinf by death
 /cells = row.

Page 318 Table 13.3  Log-linear model for lung cancer data:  results

We were unable to reproduce this table.

Page 320 Table 13.4  Cox's model for lung cancer data:  results

coxreg days
 /status = death(1)
 /method = enter staget perfbl poinf treat.
<some output omitted>

Page 321 Figure 13.8  Computer-generated graph of log(-logS(t)) versus t for lung cancer data (A = large tumor, B = small tumor)

coxreg days
 /status = death(1)
 /method = enter staget perfbl poinf treat
 /categorical = staget perfbl poinf treat
 /plot = lml
 /pattern = perfbl(.156) poinf(.05) treat(.513) by staget.


How to cite this page

Report an error on this page

UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services


The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California