R: EM Algorithm for Missing Data

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • One option to deal with missing data in R is using the EM algorithm (expectation-maximization) and then using the imputed dataset for your analyses.
    R Package missMethods:
    cran.r-project...

Комментарии • 2

  • @anonymeironikerin2839
    @anonymeironikerin2839 2 месяца назад

    Why do we need seed function?

    • @RegorzStatistik
      @RegorzStatistik  2 месяца назад +1

      From my understanding the EM algorithm has a random component. Setting a seed value for the random numbers generator should make sure that you or somebody else will get the same results when running the code with the same data in order to ensure replicability of the analysis.