常见问题 第5页
这里汇总了用户在使用统计猿网页版和桌面版软件时遇到的常见问题与处理方法。
Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :  对比只适用于有两个或多于两个层次的因子       Value cannot be null. (Parameter 's')-决策链社区论坛
Error in ssum[2, , 1] : subscript out of bounds-决策链社区论坛

Error in ssum[2, , 1] : subscript out of bounds

【解决方法】 更改参数预测时间点/抽样次数/区间部份数
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0399
Error in model_rr$predict_newdata(newdata = newdata, task = tsk_wd) :attempt to apply non-function-决策链社区论坛

Error in model_rr$predict_newdata(newdata = newdata, task = tsk_wd) :attempt to apply non-function

【报错原因】 数据有残留 【解决方法】 重开画布或清空节点目录
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
05211
error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, : na/nan/inf in 'y'-决策链社区论坛

error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, : na/nan/inf in ‘y’

【报错原因】 数据无法拟合 【解决方法】 检查因变量分布或者替换变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06414
No Change Points Found.       Error in thresholds[(len - 100):len] :only 0's may be mixed with negative subscripts。-决策链社区论坛

No Change Points Found. Error in thresholds[(len – 100):len] :only 0’s may be mixed with negative subscripts。

【报错原因】 数据问题 【解决方法】 更换数据或变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0469
Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :算法的步因素0.000488281的大小被减少到小于0.000976562的'minFactor'值。          Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :奇异梯度。                                                                                                                         Error in numericDeriv(form[[3L]], names(ind), env, central = nDcentral) :在计算模型的时候产生了缺省值或无限值。                                                                                            Error in qr.solve(QR.B, cc) : solve里的'a'是奇异矩阵。                                                   Error in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start = list(xmid = aux[[1L]], :循环次数超过了50这个最大值。-决策链社区论坛
Error in quadprog::solve.QP(C, -d, t(H), f, meq = meq) :constraints are inconsistent, no solution!-决策链社区论坛

Error in quadprog::solve.QP(C, -d, t(H), f, meq = meq) :constraints are inconsistent, no solution!

【报错原因】 数据问题 【解决方法】 更换数据
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0455
Error in if (class(model)[1] !=

Error in if (class(model)[1] != “glm” & class(model)[2] != “lm” & class(model)[1] != :missing value where TRUE/FALSE needed

【报错原因】 模型不支持 【解决方法】 更换链接回归模型
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0499
Error in .observed[i, ] <- c(.km1.timept, .ll1.timept, .ul1.timept) :replacement has length zero。-决策链社区论坛

Error in .observed[i, ] <- c(.km1.timept, .ll1.timept, .ul1.timept) :replacement has length zero。

【报错原因】 数据问题 【解决方法】 更换数据或变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
08611
Error in geem(as.formula(fml), id = WD[, var_id], corstr =
Error in anova.coxph(model_inter, test =

Error in anova.coxph(model_inter, test = “Chisq”) :Can’t do anova tables with robust variances

【报错原因】 数据问题 【解决方法】 替换分析变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
02311
Error in contrasts<-(*tmp*,value = contr.funs[1 + isOF[nn]]):-决策链社区论坛

Error in contrasts<-(*tmp*,value = contr.funs[1 + isOF[nn]]):

【报错原因】 这个错误信息提示在尝试为因子变量设置对比度(contrasts)时出现了问题。在R中,当你在进行模型拟合时,对于分类变量(因子factor),系统需要明确的对比设计(如 Helmert、Simpson 等...
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0927

“value” parameter must be a scalar, dict or Series, but you passed a “Dataframe’

【报错原因】 其中一个表的列名加_x,_y的后缀后出现重复的变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
08110
Error in rms::Predict(model, origen_contin, fun = exp, ref.zero = TRUE, :predictors(s) not in model: origen_contin-决策链社区论坛

Error in rms::Predict(model, origen_contin, fun = exp, ref.zero = TRUE, :predictors(s) not in model: origen_contin

【报错原因】 模型崩溃 【解决方法】 修改自变量和因变量组合
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
07112
Error in ssum[2, , 1] : subscript out of bounds      Error in axis(sides[jj], at = scaled[jj], labels = fat[jj], pos = y, cex.axis = cex.axis, :所有的位置值都是无限的-决策链社区论坛
Error in names(x) <- value :'names' attribute [4] must be the same length as the vector [0]-决策链社区论坛

Error in names(x) <- value :'names' attribute [4] must be the same length as the vector [0]

【报错原因】 自变量没填 【解决方法】 填写自变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0728
Error in newdata %*% object$beta :requires numeric/complex matrix/vector arguments-决策链社区论坛

Error in newdata %*% object$beta :requires numeric/complex matrix/vector arguments

【报错原因】 有些回归模型不支持数据集(蓝色端口)的连接 【解决方法】 不连接蓝色端口
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
07610
Error in UseMethod(

Error in UseMethod(“predict”) :no applicable method for ‘predict’ applied to an object of class “c(‘gamm’, ‘list’)”

【报错原因】 广义相加模型不支持回归预测 【解决方法】 更换模型
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06911
转换多变量标签编码:invalid syntax (<string><string>, line 1)</string>-决策链社区论坛

转换多变量标签编码:invalid syntax (<string>, line 1)

报错原因: (1)通常为条件未指定变量(逻辑符号或者运算符号前面缺少变量),此处应该为x1<=20 and x1>=3 如下图在*号前面没有变量,没有x1**x2的写法,必须是x1*x2*x3这种
空鱼O的头像-决策链社区论坛空鱼O1个月前
05910
该组数据无法绘制统计表-决策链社区论坛

该组数据无法绘制统计表

【报错原因】 自变量太多 【解决方法】 减少自变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0555
Error in rms:datadist(WD):fewer than 2 non-missing observations for first inrpt uom-决策链社区论坛

Error in rms:datadist(WD):fewer than 2 non-missing observations for first inrpt uom

【报错原因】 自变量可能存在单分类 【解决方法】 剔除单分类变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06611
Error in lda(x, y, reduced_rank, k) : rank out of bounds-决策链社区论坛

Error in lda(x, y, reduced_rank, k) : rank out of bounds

【报错原因】 数据问题 【解决方法】 更换响应变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0778
Error in profile.glm(object, which = parm, alpha = (1 - level)/4, trace = trace) : profiling has found a better solution, so original fit had not converged-决策链社区论坛

Error in profile.glm(object, which = parm, alpha = (1 – level)/4, trace = trace) : profiling has found a better solution, so original fit had not converged

【报错原因】 选择的因变量和自变量不适合此分布类型 【解决方法】 更换因变量/自变量或分布类型
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0565
Error in approx(sp$y, sp$x, xout = cutoff) :调用内插至少需要两个非NA值的数据-决策链社区论坛

Error in approx(sp$y, sp$x, xout = cutoff) :调用内插至少需要两个非NA值的数据

【报错原因】 分层后变量有空值 【解决方法】 更换合适的分组变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
0828
Error in nlmr::fracpoly_mr(y, x, g, covar = cov_data, family = family_type, :fractional polynomial models require the exposure to be >>1。-决策链社区论坛
Error in dplyr::bind rows(.) :-决策链社区论坛

Error in dplyr::bind rows(.) :

【报错原因】 环境不匹配 【解决方法】 调整P值小数点参数为1,或者重新安装软件
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
09010
Bin edges must be unique: Index([0.0, 0.0, 1.0, 1.0], dtype='float64', name='age').You can drop duplicate edges by setting the 'duplicates' kwarg。-决策链社区论坛

Bin edges must be unique: Index([0.0, 0.0, 1.0, 1.0], dtype=’float64′, name=’age’).You can drop duplicate edges by setting the ‘duplicates’ kwarg。

【报错原因】 分箱变量和目标变量存在相同元素 【解决方法】 删除相同的元素再分箱
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
08112
Error in strsplit(ph$gdp(
Error: Rank deficient model matrix; insufficient data to estimate full model.Model coefficient(s) estimated as NA: cyl2:am1Likely empty cells in between-subjects design (i.e., bad data structure).-决策链社区论坛
Error in spread(., key =

Error in spread(., key = “.group.”, value = dv) :ℹ Keys are shared for 98 rows

【报错原因】数据不是重复测量数据(time出现几次,id就要出现几次)【解决方法】更换正确的重复测量数据
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
05812