To cite medfit in publications, cite the software. To cite the underlying methodology, cite the relevant references below. Tofighi D (2026). _medfit: Infrastructure for Mediation Model Fitting and Extraction_. R package version 0.2.1, . A BibTeX entry for LaTeX users is @Manual{, title = {{medfit}: Infrastructure for Mediation Model Fitting and Extraction}, author = {Davood Tofighi}, year = {2026}, note = {R package version 0.2.1}, url = {https://data-wise.github.io/medfit/}, } MacKinnon D, Lockwood C, Williams J (2004). “Confidence Limits for the Indirect Effect: Distribution of the Product and Resampling Methods.” _Multivariate Behavioral Research_, *39*(1), 99-128. doi:10.1207/s15327906mbr3901_4 . A BibTeX entry for LaTeX users is @Article{, title = {Confidence Limits for the Indirect Effect: Distribution of the Product and Resampling Methods}, author = {David P. MacKinnon and Chondra M. Lockwood and Jason Williams}, journal = {Multivariate Behavioral Research}, year = {2004}, volume = {39}, number = {1}, pages = {99--128}, doi = {10.1207/s15327906mbr3901_4}, } Tofighi D, MacKinnon D (2011). “RMediation: An R package for mediation analysis confidence intervals.” _Behavior Research Methods_, *43*(3), 692-700. doi:10.3758/s13428-011-0076-x . A BibTeX entry for LaTeX users is @Article{, title = {{RMediation}: An {R} package for mediation analysis confidence intervals}, author = {Davood Tofighi and David P. MacKinnon}, journal = {Behavior Research Methods}, year = {2011}, volume = {43}, number = {3}, pages = {692--700}, doi = {10.3758/s13428-011-0076-x}, }