clear_lastminute_nas
will erase too much data as written for chng
#103
Milestone
clear_lastminute_nas
will erase too much data as written for chng
#103
Currently,
clear_lastminute_nas
will remove any row which has anyNA
's in it whatsoever. With multiple signals, this can mean removing rows with real data (as an example, see11-29-24
, for which10-02-24
is the last day with data). Before usingchng
, we will need another scheme to handle differently missing data. Ideas:NA
's in non-outcome signals. This is not a great idea, as lags likely become meaningless.extend_ahead
but for lags (e.g. if the last observation for chng is 30 days behind, adjust the lags ofc(0,7,14)
toc(30,37,44)
.@brookslogan may have other thoughts I forgot about.
The text was updated successfully, but these errors were encountered: