Interpolate NA values

后端 未结 3 1945
不思量自难忘°
不思量自难忘° 2020-11-27 19:37

I have two set of samples that are time independent. I would like to merge them and calculate the missing values for the times where I do not have values of both. Simplified

3条回答
  •  萌比男神i
    2020-11-27 20:22

    The proper way to do this statistically and still get valid confidence intervals is to use Multiple Imputation. See Rubin's classic book, and there's an excellent R package for this (mi).

提交回复
热议问题