prune_prefs: Account for cases that refuse all matches

dim_checkR Documentation

Account for cases that refuse all matches

Description

To run the college admissions algorithm, it is assumed that each student/college has at least one possible match. In the activity transition application, possible matches are restricted to "nearby" cases, i.e. within some specified window_size. Thus, if there are no matches close by, there are no possible matches, and the case needs to be removed from the analysis in the college admissions algorithm. It needs to be re-inserted afterwards and labeled as a false positive or false negative, depending on whether it was a college (i.e., a predicted transition) or a student (i.e., an actual transition), respectively.

Usage

dim_check(x)

prune_prefs(prefs)

Arguments

prefs

an object passed from get_preferences

Value

A pruned list of matrices containing only cases with at least one possible match


paulhibbing/PAutilities documentation built on Sept. 12, 2022, 1:46 a.m.