常见问题共263篇
这里汇总了用户在使用统计猿网页版和桌面版软件时遇到的常见问题与处理方法。
Error in if (series_types_datafarme$type[series_types_datafarme$var ==  : 
  argument is of length zero-决策链社区论坛

Error in if (series_types_datafarme$type[series_types_datafarme$var == : argument is of length zero

如图,错误非常常见 报错原因:变量名有非法字符,没有其他的原因(所有的节点都有可能会报这个错误) 常见类型: (1)变量名有空格:Var 1,Var 2 (2)变量名有奇怪字符:Var*1,Var$1,var%1...
空鱼O的头像-决策链社区论坛空鱼O5天前
01W+1001
Error in data.frame(predict(model, type =

Error in data.frame(predict(model, type = “response”), WD[, var_dependent]) :参数值意味着不同的行数: 139, 211

【报错原因】变量里含有空值【解决方法】删除空值或者插补空值
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
05826
Can not deserialize WorkFlowDictionary-决策链社区论坛

Can not deserialize WorkFlowDictionary

错误原因:画布崩溃,原因未知,较为罕见解决方法:(1)保存工程后导入工程文件,重建画布(2)新建画布,逐个节点手动重建工程
空鱼O的头像-决策链社区论坛空鱼O5天前
06916
Error in paste(self$Code, self$ld, sep =

Error in paste(self$Code, self$ld, sep = ” “):cannot get ALTSTRING ELT during GC

报错原因:R语言自动清理内存失效解决方法:保存工程后重开软件
空鱼O的头像-决策链社区论坛空鱼O1个月前
07415
Error in sapply(object,
Error in if (xhat == 0) out <- 1 else { :missing value where TRUE/FALSE needed-决策链社区论坛

Error in if (xhat == 0) out <- 1 else { :missing value where TRUE/FALSE needed

【报错原因】 自变量,因变量,所有变量都转换成 continue,不能category 【解决方法】 更换变量或进行变量转换
Error in lrtest.default(model_one, model_two) :models were not all fitted to the same size of dataset请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符!-决策链社区论坛
Error: cannot allocate vector of size XXXXXX Kb/Mb-决策链社区论坛

Error: cannot allocate vector of size XXXXXX Kb/Mb

报错原因:内存不足解决方法:(1)减少变量或者样本(2)关闭其他空闲软件(3)加内存
空鱼O的头像-决策链社区论坛空鱼O1个月前
08415
Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) :因子loop_number里出现了新的层次2-决策链社区论坛

Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) :因子loop_number里出现了新的层次2

【报错原因】 外部验证里的变量值和原始数据变量不一样 【解决方法】 更换变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06015
Error in chol.default(crossprod(x)) :the leading minor of order 3 is not positive definite            Error in rdrobust::rdrobust(y = WD[, var_dependent], x = WD[, var_independent[i]], :-决策链社区论坛
转换多变量标签编码:name 'x' is not defined-决策链社区论坛

转换多变量标签编码:name ‘x’ is not defined

报错原因: 通常为写错变量名,如下图所示,只定义了x1和x2,“x”是一个没有定义的变量名 解决方法: 使用正确的变量名写命令,如上图的命令应该写成x1<=20 and x1>=3 此外,如下图所示...
空鱼O的头像-决策链社区论坛空鱼O1个月前
06115
导入数据:'utf-8' codec can't decode byte 0xa1 in position 10971: invalid start byte-决策链社区论坛

导入数据:’utf-8′ codec can’t decode byte 0xa1 in position 10971: invalid start byte

报错原因: 文件编码不是windows系统默认的,常常是因为Excel导出文件的时候选错了导出编码类型 解决方法: (1)Excel导出表格的时候选择正确的导出形式,避免选择CSV UTF-8 (2)如果方法一处...
空鱼O的头像-决策链社区论坛空鱼O1个月前
013115
Error in axis(sindesmm, at=scaledm, labels = fatm,pos=y,cex.axs= cexaxs,:所有的位置值都是无限的。-决策链社区论坛

Error in axis(sindesmm, at=scaledm, labels = fatm,pos=y,cex.axs= cexaxs,:所有的位置值都是无限的。

【报错原因】 数据问题,计算出来包含inf或者na
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
04115
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 data.frame(Threshoid = thre p, Threshold Cl lower = ci num[[

限制性立方样条:Error in data.frame(Threshoid = thre p, Threshold Cl lower = ci num[[“normal”]][2],

错误原因:置信区间无法求出解决方法:曲线置信区间的计算 
空鱼O的头像-决策链社区论坛空鱼O1个月前
08215

Error in ifelse(decision_type %in% c(“>=”, “>”), ret.second(split_index), :Unknown decision_type

【报错原因】 对于lightgbm 数据存在数值类别,变成字符类别 【解决方法】 https://github.com/ModelOriented/treeshap/issues/28
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
010715
Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :  对比只适用于有两个或多于两个层次的因子       Value cannot be null. (Parameter 's')-决策链社区论坛
NHANES读取Alpha:Passing 'suffixes' which cause duplicate columns {

NHANES读取Alpha:Passing ‘suffixes’ which cause duplicate columns {“WTDR2D X’, ‘DRDINT X, “DRABF X, “WTDRD1 x’ is not allowed

报错原因:读取节点选中的表格中,有个别表格间存在完全一样的变量,导致无法连接解决方法:报错信息中提示的变量名所在的表格单独提取后再与其他表格合并,例如WTDR2D这个变量名重复,找到这个...
空鱼O的头像-决策链社区论坛空鱼O1个月前
08915
为什么有些看起来是数值的分类/字符串变量无转成连续型continue-决策链社区论坛

为什么有些看起来是数值的分类/字符串变量无转成连续型continue

如图,以下有三个变量Var1,Var2,Var3,看起来都是数值的分类变量,应该能够把他们转成连续的 尝试使用转换变量类型的节点把Var2和Var3转成连续的 结果只有Var3转换成功了 这是因为Var2变量的...
空鱼O的头像-决策链社区论坛空鱼O1个月前
07015
Error in eval(family$initialize) : y值必需满足0 <= y <= 1-决策链社区论坛

Error in eval(family$initialize) : y值必需满足0 <= y <= 1

【报错原因】 变量选择有问题,不可以是字符串,必须是0和1的二分类变量 【解决方法】 更换因变量,把因变量转为0,1二分类
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
011915
Error in X %*% rowSums(cf) : non-conformable arguments-决策链社区论坛

Error in X %*% rowSums(cf) : non-conformable arguments

【报错原因】训练和预测子集中,因子变量的水平不一致【解决方法】更换采样方法或者换变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
07915
调查设计秩和检验:Error in if (length(unique ind) == 2 || !is.na(model[

调查设计秩和检验:Error in if (length(unique ind) == 2 || !is.na(model[“estimate”]][[“difference in mean rank score”])) {:missing value where TRUE/FALSE needed

错误原因:(1)分组变量异常,可能不存在这个变量(2)统计模型拟合失败,无法得到统计值解决方法:(1)重新拖一个节点后把参数重新设置一遍(2)选择方法参数,切换其他统计模型方法(3)修...
空鱼O的头像-决策链社区论坛空鱼O1个月前
04314
Error in compute.aggte(MP = MP, type = type, balance_e = balance_e, min_e = min_e, :Missing values at att_gt found. If you want to remove these, set `na.rm = TRUE'.-决策链社区论坛

Error in compute.aggte(MP = MP, type = type, balance_e = balance_e, min_e = min_e, :Missing values at att_gt found. If you want to remove these, set `na.rm = TRUE’.

【报错原因】 分析模型没有结果或结果存在NA 【解决方法】 建议更换模型
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
04914
Error in confusionMatrix,default(as.factor(y pred label)reference = as.factorly label): The data must contain some levels that overlap the reference…-决策链社区论坛

Error in confusionMatrix,default(as.factor(y pred label)reference = as.factorly label): The data must contain some levels that overlap the reference…

【报错原因】 DCA绘图里:y_pred_label <- as.numeric(y_pred_score > thresh)cm <- confusionMatrix(as.factor(y_pred_label), reference = as.factor(y_label))$table 【解决方法】 ...
Error in tempfile() : cannot find unused tempfile name-决策链社区论坛

Error in tempfile() : cannot find unused tempfile name

【解决方法】 关闭软件,重新开启。
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06314
This happened PipeOp colapply's $train()-决策链社区论坛

This happened PipeOp colapply’s $train()

Error in .__Task__col_roles(self = self, private = private, super = super, : Assertion on 'names of col_roles' failed: Names must be a permutation of set {'feature','target','name'...
Divine的头像-决策链社区论坛Divine11天前
05014
Error in names(.cols) <- grp.levels :'names' attribute [33] must be the same length as the vector [31]-决策链社区论坛

Error in names(.cols) <- grp.levels :'names' attribute [33] must be the same length as the vector [31]

【报错原因】 Total KM 曲线绘图颜色出现问题 【解决方法】 如果想要total的KM曲线,建议减少变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
06714
Error in gamm(formula = as.formula(fml), random = list(rand_variable = ~1), :Not enough (non-NA) data to do anything meaningful-决策链社区论坛

Error in gamm(formula = as.formula(fml), random = list(rand_variable = ~1), :Not enough (non-NA) data to do anything meaningful

【报错原因】 变量选择有问题,不可以是字符串,必须是0和1的二分类变量 【解决方法】 更换因变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
05414
Error: You should have at least two distinct break values.        Value cannot be null. (Parameter 's')-决策链社区论坛

Error: You should have at least two distinct break values. Value cannot be null. (Parameter ‘s’)

【报错原因】模型拟合问题【解决方法】更换模型或变量
里里里里卡42的头像-决策链社区论坛里里里里卡421个月前
04714
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这个最大值。-决策链社区论坛