moreno-betancur / medRCT

R function to estimate interventional mediation effects that emulate a target RCT
3 stars 0 forks source link

About the new function medRCT, how to understand the analysis results? #1

Open hcyhh opened 5 months ago

hcyhh commented 5 months ago

First of all, thank you for your research! I have learned a lot from your articles. Now I have encountered a problem and would like to seek your help. I have successfully run and understood the function medRCT_4med, but I am still confused about the latest medRCT. I used the same dataset dat4med.csv, and specified the first parameter as 2, which ran successfully. However, I am puzzled when comparing the results with the original code's output. How should I understand the latest results and their correspondence with the previous results? I would be very grateful if you could provide an explanation.

I can understand these results image

However, I find the following new results difficult to interpret and do not understand their correspondence with the previous results.

image

hcyhh commented 5 months ago

i can understand by "Preventing postnatal depression: a causal mediation analysis of a 20-year preconception cohort" thanks

moreno-betancur commented 4 months ago

Sorry for the lack of reply, I was on leave, but glad to hear you've sorted it! For future, please see a new package medRCT our team has developed here: https://github.com/T0ngChen/medRCT