Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Jenson authored and Daniel Jenson committed Dec 5, 2018
1 parent 4beff30 commit a658c37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synthetic_data/bunching.R
Expand Up @@ -101,7 +101,9 @@ format_for_stan_bunching_aggregate <- function(tbl) {
group_by(officer_id, leniency) %>%
summarize(leniency_estimate = mean(recorded_excess_speed == 0)) %>%
ungroup()
# TODO(danj): finish
# TODO(danj): finish; when we use leniency to generate data for each
# officer, the mean of p_discount, or mean(recorded_excess_speed == 0),
# should be equal to the leniency rate that went into the model
}


Expand Down

0 comments on commit a658c37

Please sign in to comment.