• Stata: RA: Regression adjustment, IPW: inverse probability weighting, ipwra, aipw


    Link to the original text:http://tecdat.cn/?p=10148 Today’s topic is the therapeutic effect in Stata. The therapeutic effect estimator estimates the causal relationship between treatment and outcome based on the observed data. We will discuss four therapeutic effect estimators: RA: Regression adjustment IPW: inverse probability weighting Ipwra: inverse probability weighting with regression adjustment Aipw: enhanced inverse probability […]

  • Data visualization: 4. The secret of scatter diagram


    Reference source: vitu.ai In the previous article, you have learned how to draw histogram and thermodynamic diagram. Next, let’s learn scatter diagram, which is the best tool to study the relationship between two variables Set up your notebook Let’s just set it up at the beginning import pandas as pd import matplotlib.pyplot as plt import […]