The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Parameter Estimation of High-dimensional Mediation Models Based on Alternating Direction Method of Multipliers (ADMM)
You can install:
install.packages("remotes")
::install_github("psyen0824/HDMAADMM") remotes
If you encounter a bug, please file a reproducible example on github.
oneMKL
support. Please use below
commands to install:install.packages(
c("oneMKL", "oneMKL.MatrixCal"),
repos=c("https://cloud.r-project.org/", "https://R-OneMKL.github.io/drat"),
type = "source"
)::install_github("psyen0824/HDMAADMM", ref = "oneMKL") remotes
<- modalityMediationDataGen(seed = 20231201)
simuData
<- singleModalityAdmm(
modelElasticNet X = simuData$MediData$X, Y = simuData$MediData$Y, M1 = simuData$MediData$M1,
rho = 1, lambda1a = 1, lambda1b = 0.1, lambda1g = 2, lambda2a = 1, lambda2b = 1,
penalty = "ElasticNet"
)
fitted(modelElasticNet) # fitted values
predict(modelElasticNet, matrix(c(0, 1), ncol = 1)) # predict values
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.