使用glmmADMB时出现多个错误

时间:2018-07-26 10:40:33

标签: r glm mixed-models

我正在使用glmmADMB运行具有混合效果的零膨胀二项式模型。我遇到了多个错误。

我的代码:

<Row className="select-distribution-type">
    <RowTitle>
        <strong>Distribution Type</strong>
    </RowTitle>
    <RowContent>
        <SelectBox
            values={this.state.distributionTypes}
            selectedValue={this.state.distributionTypeValue}
            _onValueChanged={this._onDistributionTypeChanged}
        />
    </RowContent>
</Row>

{this._isNetWorkAttacksEnabled() &&
<Row className="network-attacks-detection">
    <RowTitle>
        <strong>Network Attack Detection</strong>
        <div>Enables network-based threat detection (available only in: “AlwaysOn” & “LightAgent” modes).</div>
    </RowTitle>
    <RowContent>
        <LabeledCheckBox
            value={this.state.networkAttackDetections}
            text="Enable Network Attack Detection"
            onClick={this._onNetAttDetClicked}
            dataAttr={"settings-sg-cb-network-attacks-detection"} />
    </RowContent>
</Row>}

错误和警告消息:

m_admb <- glmmadmb( breeding.success ~ laying.date.julian.day.zscale + tmean.zscale + (1|YEAR) , 
                data = hungary_breeding, zeroInflation = TRUE, family = "nbinom", link = "logit")

模型摘要:

Parameters were estimated, but standard errors were not: the most likely problem is that the curvature at MLE was zero or negative
Error in glmmadmb(breeding.success ~ laying.date.julian.day + tmean +  : 
The function maximizer failed (couldn't find parameter file) Troubleshooting steps include (1) run with 'save.dir' set and inspect output files; (2) change run parameters: see '?admbControl';(3) re-run with debug=TRUE for more information on failure mode
In addition: Warning messages:
1: In glmmadmb(breeding.success ~ laying.date.julian.day + tmean +  :
non-integer response values in discrete family
2: running command './glmmadmb -maxfn 500 -maxph 5 -noinit -shess' had status 1 

有人可以为此建议解决方案吗?还是有运行零膨胀二项式混合效应模型的更简单方法?有人可以举例说明(也许使用MCMCglmm)吗?

0 个答案:

没有答案