You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: missing-data.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Note: Implemented in the R package 'naniar', function `mcar_test`. AND: takes a
65
65
Load data:
66
66
67
67
```{r}
68
-
DAT <- read_dta("3.Example1.dta")
68
+
DAT <- read_dta("data/3.Example1.dta")
69
69
summary(DAT)
70
70
```
71
71
@@ -176,7 +176,7 @@ One way of dealing with missing data, but meanwhile the most used one.
176
176
- To account for the variability induced by imputing missing values: impute missing values several times by making random draws from multivariate distributions
177
177
- data is incomplete, fill with imputed data from a data set with predictive power, depends on the distribution of the data set you fill the holes and account for the uncertainty with random imputations from multivariate distributions. Then you analyse the data and pooled the results.
- you identify different groups of data points in form of random nodes
336
336
- now we not use donors, we use the random nodes to impute the missing data points **→ Approach:**
@@ -566,7 +566,7 @@ Transformation is done on-the-fly within the imputation algorithm
566
566
- Since the transformed variable is available for imputation, the hope is that passive imputation removes the bias of the Impute, then transform methods
567
567
- while restoring consistency among the imputations that was broken in JAV (create derived variable first and impute just as another variable (JAV))
568
568
569
-
{width="width"}
569
+
{width="width"}
570
570
571
571
→ not of the procedures are perfect, but this is the best we have
572
572
@@ -843,7 +843,7 @@ Check missing data pattern & test for MCAR (Hint: "mcar test" works best with da
843
843
844
844
```{r}
845
845
#read in data from day 2 with manually generated missings
846
-
lDAT <- read_dta("3.Example3.dta")
846
+
lDAT <- read_dta("data/3.Example3.dta")
847
847
848
848
# test with Little's missing completely at random test (MCAR)
0 commit comments