liud4 / rVMAP

Data Management code for VMAC-MAP study
Other
3 stars 0 forks source link

total.complaint.rescale: incorrect derivation #42

Closed liud4 closed 4 years ago

liud4 commented 4 years ago

I cannot recall why we want to derive a rescaled total.complaint. Regardless, this code is not correct. The rescale and rescale2 functions was written to rescale each item, not the total score. I think we could remove all total.complaint.rescale related code.

https://github.com/liud4/rVMAP/blob/d03b7b760fd81e0585750e56de61f9de94626b7c/R/derive_cognitive_complaint.R#L317

omair-a-khan commented 4 years ago

@liud4, can you please verify the lines to remove for this issue are the ones I commented out in the previous commit (53d4c29)? Thanks.

liud4 commented 4 years ago

Yes. This is correct