Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiply imputed (MICE) data: pooled p-value calculation #54

Open
makikoworldwide opened this issue Feb 24, 2023 · 0 comments
Open

multiply imputed (MICE) data: pooled p-value calculation #54

makikoworldwide opened this issue Feb 24, 2023 · 0 comments

Comments

@makikoworldwide
Copy link

makikoworldwide commented Feb 24, 2023

I am conducting a mediation analysis with multiply imputed 30 data sets using "amelidiate {mediation}".

variables: mediators= m,outcome=y, treatment=rep(e,30),covariates=z, control_val=a0, treat_val=a1,

medout <- mediations(datasets, treatment, mediators, outcome, covariates,
families=c("binomial","gaussian"), control.value = control_val,
treat.value = treat_val, interaction=TRUE, conf.level=.95, sims=1000, set.seed(1))

med_pool <- amelidiate(medout)
summary(med_pool)

The package provides pooled CI for all estimates but does not provide pooled p-values. Would there any way to calculate pooled p-values?

Thank you so much!

@makikoworldwide makikoworldwide changed the title multiply imputed (MICE) data: (1) Error in rep(1, nrow(dataarg)) : invalid 'times' argument ; (2) pooled p-value calculation multiply imputed (MICE) data: pooled p-value calculation Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant