Semi-Parametric Shape-Restricted Fixed/Mixed Effect(s) Regression Spline
Calculate the expectation of a fixed effect regression spline (convexi...
Calculate the derivatives of coefficients of a fixed effect regression...
Fit a semi-parametric shape-restricted fixed effect regression spline ...
Generate C-Spline Basis
Fit a semi-parametric shape-restricted mixed effects regression spline...
Calculate the predicted value of a fixed effect regression spline (con...
Calculate the derivatives of coefficients of a fixed effect regression...
Asymptotic null distribution of the test statistic
Bootstrap a null distribution of the test statistic for fixed effect m...
Bootstrap a null distribution of the test statistic for mixed effect m...
P values for shapes obtained from semi-parametric shape-restricted fix...
P values for shapes obtained from semi-parametric shape-restricted fix...
Calculate the expectation of a fixed effect regression spline (monoton...
Calculate the derivatives of coefficients of a fixed effect regression...
Fit a semi-parametric shape-restricted fixed effect regression spline ...
Generate I-Spline Basis
Fit a semi-parametric shape-restricted mixed effects regression spline...
Calculate the predicted value of a fixed effect regression spline (mon...
Calculate the derivatives of coefficients of a fixed effect regression...
Calculate the CDE, NDE and NIE (linear models, binary exposure).
Calculate the CDE, NDE and NIE (linear models, continuous exposure).
P values for shapes obtained from semi-parametric shape-restricted mix...
Fit a semi-parametric shape-restricted fixed effect regression spline ...
Fit a semi-parametric shape-restricted fixed effect regression spline ...
Calculate the CDE, NDE and NIE.
Calculate the CDE, NDE and NIE of bootstrapped data.
Generate y using existed X, coefficients of X, variance of random effe...
Select the most suitable shape to describe the relationship between the exposure and the outcome among increasing, decreasing, convex, and concave shapes (Yin et al. (2021) <DOI:10.1007/s13571-020-00246-7>); estimate the direct and indirect effects with prior knowledge on the relationship between the mediator and the outcome with binary exposure (Yin et al. (2024) <DOI:10.1007/s13571-024-00336-w>); estimate the direct and indirect effects using linear regression-based approach (VanderWeele (2015, ISBN:9780199325870)).