SURVREG
Parametric accelerated failure time survival models (Weibull, exponential, log-normal, log-logistic).
Syntax
Section titled “Syntax”SURVREG time [BY factors] [WITH covariates] /STATUS=var(event values) [/DISTRIBUTION=WEIBULL|EXPONENTIAL|LOGNORMAL|LOGLOGISTIC] [/MODEL=effects] [/CRITERIA=CIN(95)] [/PRINT=PARAMETER FIT] [/SAVE=PRED RESID].Synopsis
Section titled “Synopsis”| Kind | Procedure (reads data, produces output) |
| Body | main /SUBCOMMAND[=] … |
| Changes data | yes, undoable |
| Subcommands | /CRITERIA, /DISTRIBUTION, /MISSING, /MODEL, /PRINT, /SAVE, /STATUS |
| Menu | Analyze ▸ Regression |
| Slot: Time | 1–1 variable(s); levels: scale; types: numeric |
| Slot: Status | 1–1 variable(s); levels: nominal, ordinal, scale; types: numeric |
| Slot: Factor(s) | 0+ variable(s); levels: nominal, ordinal, scale; types: numeric, string |
| Slot: Covariate(s) | 0+ variable(s); levels: nominal, ordinal, scale; types: numeric |
Examples
Section titled “Examples”SURVREG months BY stage WITH age /STATUS=died(1) /DISTRIBUTION=WEIBULL /SAVE=PRED.- Exp(B) is a time ratio. /SAVE=PRED saves the predicted median survival time.
Related
Section titled “Related”Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.