Closed zkamvar closed 5 years ago
Yes. It does a simple comparison in the end.
On 23. Jul 2019, at 16:50, Zhian N. Kamvar notifications@github.com wrote:
Okay,
So, I'm going through the anthro_prevalence function once again to try and figure out what the h*ck is going on and I stumble across
and I'm just thinking, what madness is this? I'm already super tired because I've already clawed my way up to this point from the compute_prevalence_zscore_summary() function and now I realize I have to travel up yet another two calls to figure out where cutoff_dir and cutoffs came from.
After some (soul) searching, I realize that this function evaluates to zscore_prev > y or zscore_prev < y. Am I correct?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Okay,
So, I'm going through the
anthro_prevalence
function once again to try and figure out what the h*ck is going on and I stumble acrosshttps://github.com/dirkschumacher/anthro/blob/97dcb8b435a4961d44c4fdc2cc89dc810bf2fea5/R/prevalence.R#L478-L479
and I'm just thinking, what madness is this? I'm already super tired because I've already clawed my way up to this point from the
compute_prevalence_zscore_summary()
function and now I realize I have to travel up yet another two calls to figure out where cutoff_dir and cutoffs came from.After some (soul) searching, I realize that this function evaluates to
zscore_prev > y
orzscore_prev < y
. Am I correct?