Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-metherell committed Dec 12, 2023
1 parent 97a1355 commit e3d5356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ myPredictorMatrix[:, ["ID", "N_Days"]] .= false;

Random.seed!(1234); # Set random seed for reproducibility

imputedData = mice(myData, predictorMatrix = myPredictorMatrix, methods = myMethods);
imputedData = mice(myData, predictorMatrix = myPredictorMatrix);

analysesMeans = with(imputedData, data -> mean(data.Cholesterol));
# returns Mira of the mean of Bilirubin in each imputed dataset
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pooling.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ myPredictorMatrix[:, ["ID", "N_Days"]] .= false;

Random.seed!(1234); # Set random seed for reproducibility

imputedData = mice(myData, predictorMatrix = myPredictorMatrix, methods = myMethods);
imputedData = mice(myData, predictorMatrix = myPredictorMatrix);

analysesLMs = with(imputedData, data -> lm(@formula(N_Days ~ Drug + Age + Stage + Bilirubin), data));
# returns Mira of linear model outputs from each imputed dataset
Expand Down

0 comments on commit e3d5356

Please sign in to comment.