Home

Short CV

About me

I see mathematical statistics as a unifying framework in this time of disruption brought by AI. The principles of my work are abstraction and practicality, nowhere more evident than in clinical trials: the convergence point of medicine and data science at unprecedented speed. The field is innovating quietly but relentlessly, with sophisticated designs and endpoints. Causal inference has become the common language connecting data, evidence, and purpose in this delicate conversation; allowing regulators, statisticians, and clinical researchers to communicate with clarity, rigor, and confidence. While causal inference is often described as my research focus, I view it not as confined to a single area but as a thread running through the entire fabric of machine learning and statistics.

News

My Image My Image My Image

remotes::install_github("meixide/hapc")
library(hapc)
rescv <- cv.hapc(X, Y,
                 npcs = n-1,
                 log_lambda_min =-6,
                 log_lambda_max = -1,
                 norm = "1",
                 max_degree=d,
                 predict=Xnew
)
class GenerativeInvariance(Estimator):
    def __init__(self, intercept=True):
        self.intercept = intercept

    def fit(self, data, source, target):
    # ...

    def predict(self, x_new):
        x_mean = np.mean(x_new, axis=0)
        x_centered = x_new - x_mean

        cov_xnew = np.cov(x_new, rowvar=False)
        cov_inv = np.linalg.pinv(cov_xnew)
     
        epsy = x_centered @ cov_inv @ self.khat[1:]

        y_pred = self.betahat[0] + x_new @ self.betahat[1:] + epsy

        return y_pred

    def __str__(self):
        return self.__class__.__name__