Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: cusum for count data
From
Rachel Savage <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: cusum for count data
Date
Fri, 16 Aug 2013 16:55:52 +0000
Hi All
We are analysing surveillance data (aggregate counts of cases by day) and wanted to apply CUSUM methodology to detect aberrant events.
In SAS, you can specify key parameters to be used in the calculation of your CUSUM (mean, std dev, shift in mean you wish to detect, along with the threshold parameter) as follows below. SAS will then plot the cusum and identify where the cusum goes above the set threshold.
proc cusum data=example;
xchart cases*date/
scheme=onesided
mu0=4
sigma0=0.7
delta=1.5
k=0.75
h=4
Outtable=cusum_output;
run;