How to compute Studentized Residuals in Python?

前端 未结 4 503
青春惊慌失措
青春惊慌失措 2020-12-11 17:42

I\'ve tried searching for an answer to this problem but so far I haven\'t found any. I used statsmodel to implement an Ordinary Least Squares regression model on a mean-impu

4条回答
  •  温柔的废话
    2020-12-11 18:11

    I was dealing with the same issue. The solution is to use the statsmodels library:

    from statsmodels.stats.outliers_influence import OLSInfluence
    

    It has a resid_studentized_internal method included.

提交回复
热议问题