Tests Doob's central thesis that imprisonment is decoupled from
crime by computing the Pearson correlation between the two time
series and (optionally) running Pettitt change-point on each.
Usage
decoupling_test(crime_series, imprisonment_series, years = NULL)
Arguments
- crime_series
Numeric vector of per-period crime rates.
- imprisonment_series
Numeric vector of per-period
imprisonment rates, same length as crime_series.
- years
Optional integer vector of period labels.
Value
A morie_result named-list.