常见问题 第7页
这里汇总了用户在使用统计猿网页版和桌面版软件时遇到的常见问题与处理方法。
Error in glm.fit(x= c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,:NA/NaN/lnf 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/lnf in ‘y’

报错原因:通常为因变量的数值存在非数值的样本解决方法:检查因变量的值是否合法,对应的分布类型是否正确,将因变量非数值的样本转换成数值
空鱼O的头像-决策链社区论坛空鱼O25天前
01109
Error in attr(out,
多条件过滤表格:'>' not supported between instances of str and int-决策链社区论坛

多条件过滤表格:’>’ not supported between instances of str and int

报错原因:自变量可能是数值类型,非数值类型无法使用'>','<','=','<='等逻辑字符判断大小解决方法:确认自变量是否为数值
空鱼O的头像-决策链社区论坛空鱼O4个月前
0429
分析单元“node 20”的参数或变量赋值错误:参数“选择主键作为表连接的参考变量。”未赋值。-决策链社区论坛

分析单元“node 20”的参数或变量赋值错误:参数“选择主键作为表连接的参考变量。”未赋值。

报错原因:数据连接的主键参数设置错误,应该设置两个表共有的变量为主键解决方法:检查数据连接的主键参数设置
空鱼O的头像-决策链社区论坛空鱼O3个月前
0719
Error in strsplit(ph$gdp(
NR曲线图:Error in findrow(fit, times, extend) : no points selected for one or more curves, consider using the extend argument-决策链社区论坛

NR曲线图:Error in findrow(fit, times, extend) : no points selected for one or more curves, consider using the extend argument

报错原因: (1)通常为因变量非法,例如因变量不是0,1二分类变量 (2)在多因素生存分析中,如果以上的情况不存在,则可能是生存时间中位数以下的样本的生存状态不是0,1二分类变量 解决方法...
空鱼O的头像-决策链社区论坛空鱼O3个月前
0589
多分类Rcs曲线图:data.frame(x=median x data,y= max up data, label =finally text data): ⧫⧫⧫⧫⧫⧫ζ@⧫⧫⧫⧫⧫⧫:2,0-决策链社区论坛

多分类Rcs曲线图:data.frame(x=median x data,y= max up data, label =finally text data): ⧫⧫⧫⧫⧫⧫ζ@⧫⧫⧫⧫⧫⧫:2,0

报错原因:可能是橙色的参数传递端口没有连接解决方法:将橙色端口连接上后重新运行 
空鱼O的头像-决策链社区论坛空鱼O3个月前
0559
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的头像-决策链社区论坛里里里里卡424个月前
0489
分组多变量轨迹模型:Error in dplyr:left join(source_df, post data final, by = var dependent) :
x$subject id`is a <double>.
v$subiect id`is a <character>.-决策链社区论坛

分组多变量轨迹模型:Error in dplyr:left join(source_df, post data final, by = var dependent) : x$subject id`is a . v$subiect id`is a .

报错原因:样本id变量,即标识单位变量的类型不安全,应该用string类型解决方法:把标识单位变量的类型转为string
空鱼O的头像-决策链社区论坛空鱼O2个月前
0729
转换多变量标签编码:invalid character'‘'(U+2018)(<string><string>,line 1)</string>-决策链社区论坛

转换多变量标签编码:invalid character’‘'(U+2018)(<string>,line 1)

错误原因:使用中文符号编写命令,如下图,这种单引号为中文字符解决方法:改成英文字符的符号
空鱼O的头像-决策链社区论坛空鱼O4个月前
0989
单因素亚组GLM回归:Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subqroup = .
Caused by error in `TableSubqroupGLM()`:
! Please input correct subqroup variable-决策链社区论坛

单因素亚组GLM回归:Error in purrr:map(var subgroups, ~TableSubgroupGLM(formula, var subqroup = . Caused by error in `TableSubqroupGLM()`: ! Please input correct subqroup variable

报错原因:模型拟合结果返回为空,改亚组变量无法拟合解决方法:(1)检查亚组变量是否平衡,避免比例极端的情况(2)更换亚组变量
空鱼O的头像-决策链社区论坛空鱼O2个月前
0769
Lasso回归-生存状态:Error in coxnet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, :NA/NaN/Inf in foreign function call (arg 4)-决策链社区论坛

Lasso回归-生存状态:Error in coxnet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, :NA/NaN/Inf in foreign function call (arg 4)

错误原因: 输入的变量组合导致Lasso模型拟合失败 解决方法: (1)Lasso回归的输入数据必须是数值,排除非法变量,例如含有字符串的变量 (2)如果不存在非法变量,则尝试换变量组合,或者修改...
空鱼O的头像-决策链社区论坛空鱼O3个月前
01709
潜类别分析: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].

报错原因:模型得不到有效分类解决方法“(1)更改潜类别数(2)更改自变量组合
空鱼O的头像-决策链社区论坛空鱼O1个月前
0759
潜类别混合增长模型:Error in gridsearch(rep=50,maxiter=10,minit = model, hlme(as.formula(fml),: The model minit did not converge.-决策链社区论坛

潜类别混合增长模型:Error in gridsearch(rep=50,maxiter=10,minit = model, hlme(as.formula(fml),: The model minit did not converge.

错误原因:数据,变量组合无法拟合,可参考:https://cecileproust-lima.github.io/lcmm/articles/usual_problems.html解决方法:可以尝试换参数,换变量
空鱼O的头像-决策链社区论坛空鱼O4个月前
0789
Error in ssum[2, , 1] : subscript out of bounds-决策链社区论坛

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

【解决方法】 更改参数预测时间点/抽样次数/区间部份数
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0719
Error in str2lang(x) : :2:0: unexpected end of input1: ~^请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符!-决策链社区论坛

Error in str2lang(x) : :2:0: unexpected end of input1: ~^请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符!

【报错原因】 上游节点为调查设计回归分析时,如果遇到该错误,需要重启软件 【解决方法】 设置好参数后重启软件,直接运行似然比检验节点
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
01249
数据分析描述统计:Error in`[.data.frame`(WD,,i):◆◆◆◆w◆◆◆◆◆-决策链社区论坛

数据分析描述统计:Error in`[.data.frame`(WD,,i):◆◆◆◆w◆◆◆◆◆

报错原因:通常为选中的变量名存在非法字符,参考https://bbs.statsape.com/q-and-a/506.html解决方法:参考https://bbs.statsape.com/q-and-a/506.html 
空鱼O的头像-决策链社区论坛空鱼O3个月前
0889
ROC操作特征曲线: More than one

ROC操作特征曲线: More than one “best” threshold was found, aborting. Change ‘best.policy’ to alter this behavior

ROC操作特征曲线显示以上错误原因:算法在搜素ROC操作特征曲线的最佳阈值的时候。发现有多个最佳阈值,因此建议我们修改最佳阈值的规则解决方法:直接才参数界面修改最佳阈值的选择方法 
空鱼O的头像-决策链社区论坛空鱼O4个月前
0819
筛选样本:根据输入的列名没有找到匹配的规范变量名-决策链社区论坛

筛选样本:根据输入的列名没有找到匹配的规范变量名

报错原因:筛选样本选在的变量名在上游节点输出的数据中找不到。该错误常常发生在修改现呈的工程,没有根据上游的输出变量去重新修改下游节点的变量参数解决方法:把报错节点的变量参数重新设置...
空鱼O的头像-决策链社区论坛空鱼O4个月前
01039
Error in data.frame(…, check.names = FALSE) :参数值意味着不同的行数: 1, 0-决策链社区论坛

Error in data.frame(…, check.names = FALSE) :参数值意味着不同的行数: 1, 0

【报错原因】 数据不是重复测量数据或者数据量太少 【解决方法】 更换正确的重复测量数据
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0599
Eror in fiter(X,Y,ofset = ofs,penalty,.matix = penalty.matrix,: NA/NaN/nfin foreign functiocall (arg 1).-决策链社区论坛

Eror in fiter(X,Y,ofset = ofs,penalty,.matix = penalty.matrix,: NA/NaN/nfin foreign functiocall (arg 1).

【报错原因】 数据问题,数据量太少,概率一致,算不出来 【解决方法】 增加预测数据,或者repeat
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0749
Permission denied: 'XXXXXXXX/run logic coef.tsv'.-决策链社区论坛

Permission denied: ‘XXXXXXXX/run logic coef.tsv’.

错误原因: 看到“Permission denied”这个提示就是计算机的文件没有读写权限 自己用其他软件(Excel,记事本等)把分析结果的文件打开导致决策链无法访问。真是一种低级的错误,自己的计算机权...
空鱼O的头像-决策链社区论坛空鱼O4个月前
01248
Error in lme.formula(as.formula(fml), data = WD, random = as.formula(fml_rand)) :fewer observations than random effects in all level 1 groups-决策链社区论坛
调查设计COX回归:Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :对比只适用于有两个或多于两个层次的因子-决策链社区论坛

调查设计COX回归:Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :对比只适用于有两个或多于两个层次的因子

【报错原因】 个别分类变量的的因子水平为1,例如性别Sex变量只有Female这一个水平 【解决方法】 检查模型中所有的分类变量,排除因子水平小于2的分类变量
里里里里卡42的头像-决策链社区论坛里里里里卡422个月前
02198
转换多变量标签编码:invalid syntax. Perhaps you forgot a comma? (<string>, line 1)-决策链社区论坛

转换多变量标签编码:invalid syntax. Perhaps you forgot a comma? (, line 1)

报错原因: (1)通常为逻辑连接符未加空格,此处应该写为x1<=20 and x2>=3 (2)字符串输入错误,入下图所示,55-59 years是一个字符串,应该写成x2=='55-59 years'
空鱼O的头像-决策链社区论坛空鱼O1个月前
01068
Error in mediation::mediate(model_med, model_total, treat = var_treatment, :number of observations do not match between mediator and outcome models-决策链社区论坛

Error in mediation::mediate(model_med, model_total, treat = var_treatment, :number of observations do not match between mediator and outcome models

【报错原因】 变量存在空值 【解决方法】 更换变量或插补空值
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0878
Please convert object columns to categorical or some numeric type-决策链社区论坛

Please convert object columns to categorical or some numeric type

报错原因:字符串类型变量无法计算解决方法:把字符串类型变量转为连续或者分类变量
空鱼O的头像-决策链社区论坛空鱼O34天前
0488
Java gateway process exited before sending its port number-决策链社区论坛

Java gateway process exited before sending its port number

【报错原因】 spark的黑色运行窗口被意外关闭 【解决方法】 避免spark运行窗口被关闭
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0988
报告中表格显示不全-决策链社区论坛

报告中表格显示不全

【解决方法】 1.在表格中单击鼠标右键,选择“编辑”。 2.在左上角修改行数列数,点击重新生成,点击确定。
里里里里卡42的头像-决策链社区论坛里里里里卡424个月前
0668
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的头像-决策链社区论坛里里里里卡424个月前
21018