MulaiMulai sekarang secara gratis

Inference with imputed data

In the last exercise, you have run mice to multiply impute the africa data. In this one, you will implement the other two steps of the mice - with - pool flow you've learned about earlier in the course. The model of interest is a linear regression that explains the GDP, gdp_pc, with other variables. You are particularly interested in the coefficient of civil liberties, civlib. Is more liberty associated with more economic growth once we incorporate the uncertainty from imputation? Let's find out!

Latihan ini adalah bagian dari kursus

Handling Missing Data with Imputations in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Fit linear regression to each imputed data set
lm_multiimp <- ___(___, ___)
Edit dan Jalankan Kode