Hi,
This issue concerns the analysis step:
# Step 4: Analyse each imputed dataset
ana_obj <- analyse_mi_data(data = ADMI, vars = vars, method = method, fun = ancova)
The analyse_mi_data() function requires the method argument, which assumes that the user knows the imputation method that was used to create ADMI. However, this is not always the case.
Issues:
- How should this parameter be initialized when the imputation method is unknown?
- My understanding is that
method is used to select the appropriate pooling method;
2.1. Is it used for any other computations as well?
2.2. If its sole purpose is to determine the pooling method, would it make sense to allow users to specify the pooling method directly? For example:
pooling_method = get_pooling(method)
where get_pooling() would be a helper function that returns a pooling method corresponding to a given imputation method, while still allowing users to specify the pooling method explicitly when the imputation method is unknown.
Thanks for any clarification or comments.
Hi,
This issue concerns the analysis step:
The
analyse_mi_data()function requires themethodargument, which assumes that the user knows the imputation method that was used to createADMI. However, this is not always the case.Issues:
methodis used to select the appropriate pooling method;2.1. Is it used for any other computations as well?
2.2. If its sole purpose is to determine the pooling method, would it make sense to allow users to specify the pooling method directly? For example:
get_pooling()would be a helper function that returns a pooling method corresponding to a given imputation method, while still allowing users to specify the pooling method explicitly when the imputation method is unknown.Thanks for any clarification or comments.