Correlations with NA or with Zeros?
When calculating correlations in R
e.g. via cor
is it better to treat missing data as NAs or as Zeros
?
The latter would be regarded as numerical valid values so I'd guess NA
would be better?
Topic missing-data correlation r
Category Data Science