Skip to contents

Applies information-theoretic weighting to detection or non-detection data. For detections, weights are adjusted based on the station's effective DE to account for station capability differences. For non-detections, raw DE values are used as they already encode the strength of absence evidence.

Usage

apply_information_weighting(
  probs_data,
  station_characteristics,
  weighting_type = "detection",
  dampening_factor = 1
)

Arguments

probs_data

Data frame containing probability data with columns for station_id, DE_pred, and optionally n_detections

station_characteristics

Data frame with station DE characteristics from calculate_station_de_characteristics()

weighting_type

Character. Either "detection" or "non_detection" to specify the type of weighting to apply

dampening_factor

Numeric. Optional dampening factor for extreme weights. Use sqrt for square root dampening (default 1 for no dampening)

Value

Data frame with added weighting columns