Skip to content

mediateP

Mediation Analysis Based on the Product Method

v0.2.0 · Feb 4, 2022 · GPL

Description

Functions for calculating the point and interval estimates of the natural indirect effect (NIE), total effect (TE), and mediation proportion (MP), based on the product approach. We perform the methods considered in Cheng, Spiegelman, and Li (2021) Estimating the natural indirect effect and the mediation proportion via the product method.

Downloads

202

Last 30 days

16087th

202

Last 90 days

202

Last year

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Chao Cheng <c.cheng@yale.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Chao", "Cheng;", "Donna", "Spiegelman;", "Fan"),
                      family = "Li",
                      role = "aut"),
               person(given = "Chao",
                      family = "Cheng",
                      role = "cre",
                      email = "c.cheng@yale.edu"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Chao Cheng <c.cheng@yale.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Chao", "Cheng;", "Donna", "Spiegelman;", "Fan"),
                      family = "Li",
                      role = "aut"),
               person(given = "Chao",
                      family = "Cheng",
                      role = "cre",
                      email = "c.cheng@yale.edu"))
as necessary.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Chao Cheng <c.cheng@yale.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Chao", "Cheng;", "Donna", "Spiegelman;", "Fan"),
                      family = "Li",
                      role = "aut"),
               person(given = "Chao",
                      family = "Cheng",
                      role = "cre",
                      email = "c.cheng@yale.edu"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Chao Cheng <c.cheng@yale.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("Chao", "Cheng;", "Donna", "Spiegelman;", "Fan"),
                      family = "Li",
                      role = "aut"),
               person(given = "Chao",
                      family = "Cheng",
                      role = "cre",
                      email = "c.cheng@yale.edu"))
as necessary.

Dependency Network

Dependencies Reverse dependencies boot mediateP

Version History

new 0.2.0 Mar 10, 2026