*! version 0.0.1 16oct2020

stprisk -- Tabulate incidence risks

Syntax

stprisk [varlist] [if] [in] [,
options]

options

level(#) set confidence level; the default is level(95) or as set by set level.

graph graph risks against the groups defined by varlist.

nowhisker omit confidence intervals from the graph.

You must stset your data before using stprisk, stmh, and stmc; see [ST] stset.

fweights, iweights, and pweights may be specified using stset; see [ST] stset.

Description

stprisk tabulates incidence risks by one or more categorical variables declared in
varlist.

Examples

. sysuse cancer

. stset studytime, f(died) scale(12)

. stprisk

. stprisk drug

. stprisk drug, level(90)

Reference

Bottai, M. (2017). A regression method for modelling geometric risks. Statistical Methods in Medical Research 26(6), 2700-2707.

Author

Matteo Bottai

Karolinska Institutet

Stockholm, Sweden

Also see

Online: [R] st, [R] stprisk, [R] stsplit