Skip to content

MLPP Featuring 1.3.0

Choose a tag to compare

@danielpes danielpes released this 06 Dec 12:23

Same as previous except for two main changes:

  • Allows lists for bucket_size and lag_count parameters
  • Added a new parameter: include_death_bucket, which determines if the bucket in which a patient died should be filled with zeroes in the final matrix (if false) or not

The final deafult mlpp_parameters config object is:

mlpp_parameters = {
  bucket_size = [30]  # in days
  lag_count = [10]
  min_timestamp = [2006, 1, 1]
  max_timestamp = [2009, 12, 31, 23, 59, 59]
  include_death_bucket = false

  exposures = {
    min_purchases = 1
    start_delay = 0
    purchases_window = 0
    only_first = false
    filter_lost_patients = false
    filter_diagnosed_patients = true
    diagnosed_patients_threshold = 0
    filter_delayed_entries = true
    delayed_entry_threshold = 12
  }
}