Error in onestrat(x[index, , drop = FALSE], clusters[index], nPSU[index][1], :Stratum (51) has only one PSU at stage 1
【报错原因】 分层变量和自变量不适配,只有一个数据在某个分层里 【解决方法】 重新选择适合变量
Error in data.frame(predict(model, type = “response”), WD[, var_dependent]) :参数值意味着不同的行数: 139, 211
【报错原因】变量里含有空值【解决方法】删除空值或者插补空值
Error in solve.default(denom, numr) :system is computationally singular: reciprocal condition number = 5.26589e-23
【报错原因】 卡方计算出现问题,两个变量选择不对 【解决方法】 建议更换变量
Error in imputeTS::na_ma(v, k = k, weighting = “linear”) :At least 2 non-NA data points required in the time series to apply na_ma.
【报错原因】 ID id筛选之后数据没了 【解决方法】 更换数据或变量
Error in gbm.fit(x = x, y = y, offset = offset, distribution = distribution, :The data set is too small or the subsampling rate is too large: nTrain * bag.fraction <= n.minobsinnode
【报错原因】 数据量太小或者Minnodesize太大 【解决方法】 增大数据量,或者输入小一点的minnodesize
Error in names(.cols) <- grp.levels :'names' attribute [33] must be the same length as the vector [31]
【报错原因】 Total KM 曲线绘图颜色出现问题 【解决方法】 如果想要total的KM曲线,建议减少变量
Error in rms::Predict(model, gene5, fun = exp, ref.zero = TRUE, conf.int = 0.95) : predictors(s) not in model: gene5
【报错原因】 随机性问题 【解决方法】 多跑几遍或者更换数据或变量
3 nodes produced errors;, first error: matrix multiplication: incompatible matrix dimensions:5595×2 and 4×1
【报错原因】 模型不拟合 【解决方法】 换变量,数据,模型数量
Error in cbind(reliability[, c(“index.orig”, “training”, “test”), drop = FALSE], :number of rows of matrices must match (see arg 6)
【报错原因】“预测时间点”、“区间样本数”数值不合适【解决方法】调整“预测时间点”、“区间样本数”
Error in data.frame(…, check.names = FALSE) :参数值意味着不同的行数: 1, 0
【报错原因】 数据不是重复测量数据或者数据量太少 【解决方法】 更换正确的重复测量数据
运算因错误中止,原因:Error in mediation::mediate(model_med, model_total, treat = var_treatment, :weights on outcome and mediator models not identical
【报错原因】 中介模型和全模型的'权重'变量必须保持一致(存在/不存在) 【解决方法】 增加权重值或者删掉权重值
Error in UseMethod(“logLik”) :”logLik”没有适用于”c(‘svycoxph’, ‘coxph’)”目标对象的方法
【报错原因】 上游节点如果为调查设计回归分析或调查设计cox回归,不能做Likelihood
运算因错误中止,原因:Error in stopIfNotConsistent(result, “relative.effect”) :Can only apply relative.effect to models of the following types: consistency, regression
【报错原因】 模型类型只能是consistency 【解决方法】 模型类型换成consistency
Error in model_rr$predict_newdata(newdata = newdata, task = tsk_wd) :attempt to apply non-function
【报错原因】 数据有残留 【解决方法】 重开画布或清空节点目录
Error in dimnames(x) <- dn :length of 'dimnames' [1] not equal to array extent
【报错原因】 变量存在空值 【解决方法】 插补空值
Error in rmst2(subWD[, var_time], subWD[, var_dependent], subWD[, var_independent], :object ‘NOTE’ not found
【报错原因】 生存状态和ARM变量选择有误 【解决方法】 检查并重新选择生存状态和ARM变量
Error in lrtest.default(model_one, model_two) :’list’ object cannot be coerced to type ‘double’请检查表格变量类型是否符需要转换,变量值是否需要插补空值,变量名是否存在非法字符
【报错原因】 上游节点为调查设计回归分析时,如果遇到该错误,需要重启软件 【解决方法】 设置好参数后重启软件,直接运行似然比检验节点
Error in quadprog::solve.QP(C, -d, t(H), f, meq = meq) :constraints are inconsistent, no solution!
【报错原因】 数据问题 【解决方法】 更换数据
Error in glmnet(x, y, family = “gaussian”, alpha = 1, nlambda = lambda_values) :x should be a matrix with 2 or more columns
【报错原因】 自变量只选择一个,需要2个以上 【解决方法】 选择二个以上的自变量
Error in metafor::rma(yi = TN, sei = FN, slab = , data = WD, method = “FE”, :Division by zero when computing the inverse variance weights.
【报错原因】 数据或模型方法不符合要求 【解决方法】 更换数据或更换模型方法
Error in plm.fit(data, model = models[1L], effect = effect) : empty model
【报错原因】 数据不符合分析,可能不符合面板数据 【解决方法】 建议重新选择各个参数变量或换数据