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_ixint

如果 vtype 是 re,此值是用于构建轮廓似然的方差参数的索引。如果 vtype 是 ‘vc’,则 re_ix 是要进行轮廓的方差参数的名称。

vtypestr

无论是‘re’还是‘vc’,取决于分析是针对随机效应还是方差分量。

num_lowint

计算感兴趣参数的最大似然估计(MLE)以下似然值的点数。

dist_lowfloat

从感兴趣参数的最大似然估计值下方开始计算轮廓似然点的距离。

num_highint

计算感兴趣参数的最大似然估计值以上似然值的点数。

dist_highfloat

从感兴趣参数的最大似然估计值上方开始计算轮廓似然点的距离。

**fit_kwargs

传递给 fit 的额外关键字参数。

Returns:
An array with two columns. The first column contains the
values to which the parameter of interest is constrained. The
second column contains the corresponding likelihood values.

注释

只能分析方差参数。


Last update: Oct 16, 2024