Operation of Mediation and Regulation Effect Based on Python Language

Expand
  • Anshan Normal University

Online published: 2024-01-24

Abstract

Based on the operation of mediation and regulation effect in Python language, the analysis process of mediation and regulation effect is realized by using Pandas library and Statsmodels library of Python language, and the basic principles and analysis steps of mediation and regulation effect are clarified. It mainly demonstrates the bootstrap method instead of Sobel test in intermediary test, the realization of grouping regression by weighted least square method in adjustment test, as well as the commonly used two factor analysis of variance and interactive multiple regression analysis.

Cite this article

ZHONG Zhi-qiang GAO Hong . Operation of Mediation and Regulation Effect Based on Python Language[J]. Computer & Telecommunication, 2023 , 1(5) : 45 . DOI: 10.15966/j.cnki.dnydx.2023.05.013

Options
Outlines

/