statsmodels.regression.mixed_linear_model.MixedLMResults.profile_re¶
-
MixedLMResults.profile_re(re_ix, vtype, num_low=
5, dist_low=1.0, num_high=5, dist_high=1.0, **fit_kwargs)[source]¶ 方差参数的轮廓似然推断。
- Parameters:¶
- re_ix
int 如果 vtype 是 re,此值是用于构建轮廓似然的方差参数的索引。如果 vtype 是 ‘vc’,则 re_ix 是要进行轮廓的方差参数的名称。
- vtype
str 无论是‘re’还是‘vc’,取决于分析是针对随机效应还是方差分量。
- num_low
int 计算感兴趣参数的最大似然估计(MLE)以下似然值的点数。
- dist_low
float 从感兴趣参数的最大似然估计值下方开始计算轮廓似然点的距离。
- num_high
int 计算感兴趣参数的最大似然估计值以上似然值的点数。
- dist_high
float 从感兴趣参数的最大似然估计值上方开始计算轮廓似然点的距离。
- **fit_kwargs
传递给 fit 的额外关键字参数。
- re_ix
- Returns:¶
Anarraywithtwocolumns.Thefirstcolumncontainsthevaluestowhichtheparameterofinterestisconstrained.Thesecondcolumncontainsthecorrespondinglikelihoodvalues.
注释
只能分析方差参数。
Last update:
Oct 16, 2024