{smcl} {* *! version 0.0.1 16oct2020}{...} {p2colset 1 14 16 2}{...} {p2col:{bf:stprisk} {hline 2}}Tabulate incidence risks{p_end} {p2colreset}{...} {marker syntax}{...} {title:Syntax} {p 8 15 2} {cmd:stprisk} [{varlist}] {ifin} [{cmd:,} {it:{help stprisk##stprisk_options:options}}] {synoptset 28 tabbed}{...} {marker options}{...} {synopthdr:options} {synoptline} {synopt :{opt l:evel(#)}}set confidence level; the default is {cmd:level(95)} or as set by {helpb set level}.{p_end} {synopt :{opt g:raph}}graph risks against the groups defined by {varlist}.{p_end} {synopt :{opt now:hisker}}omit confidence intervals from the graph.{p_end} {synoptline} {p2colreset}{...} {p 4 6 2}You must {cmd:stset} your data before using {cmd:stprisk}, {cmd:stmh}, and {cmd:stmc}; see {manhelp stset ST}.{p_end} {p 4 6 2}{opt fweight}s, {opt iweight}s, and {opt pweights} may be specified using {cmd:stset}; see {manhelp stset ST}.{p_end} {marker description}{...} {title:Description} {pstd} {cmd:stprisk} tabulates incidence risks by one or more categorical variables declared in {varlist}. {marker examples}{...} {title:Examples} {pstd}{stata ". sysuse cancer"}{p_end} {pstd}{stata ". stset studytime, f(died) scale(12)"}{p_end} {pstd}{stata ". stprisk"}{p_end} {pstd}{stata ". stprisk drug"}{p_end} {pstd}{stata ". stprisk drug, level(90)"}{p_end} {title:Reference} {pstd}Bottai, M. (2017). A regression method for modelling geometric risks. Statistical Methods in Medical Research 26(6), 2700-2707.{p_end} {title:Author} {pstd}Matteo Bottai{p_end} {pstd}Karolinska Institutet{p_end} {pstd}Stockholm, Sweden{p_end} {title:Also see} {psee} Online: {manhelp st R:st}, {manhelp stprisk R:stprisk}, {manhelp stprisk R:stsplit} {p_end}