简体   繁体   English

如何从ezBoot(ez软件包)中提取置信区间?

[英]How can I extract confidence intervals from ezBoot (ez package)?

I am using the ezBoot function from the ez package. 我正在使用ez软件包中的ezBoot函数 I would like to extract the confidence intervals that are plotted with the ezPlot2 function of the same package. 我想提取使用同一包的ezPlot2函数绘制的置信区间。

An example can be found in the ezBoot function : 可以在ezBoot函数中找到一个示例:

#Read in the ANT data (see ?ANT).
data(ANT)
head(ANT)
ezPrecis(ANT)

#Run ezBoot on the accurate RT data
rt = ezBoot(
    data = ANT
    , dv = rt
    , wid = subnum
    , within = .(cue,flank)
    , between = group
    , iterations = 1e1 #1e3 or higher is best for publication
)


#plot the full design
p = ezPlot2(
    preds = rt
    , x = flank
    , split = cue
    , col = group
)
print(p)

How do I extract the confidence intervals? 如何提取置信区间?

Nevermind, I didn't read the complete set of arguments for the [ ezPlot2 function] ( http://www.inside-r.org/packages/cran/ez/docs/ezPlot2 ). 没关系,我没有阅读[ ezPlot2函数]的完整参数集( http://www.inside-r.org/packages/cran/ez/docs/ezPlot2 )。 To be fair the initial description says that the functions is for displaying, however if the parameter do_plot is set to true then it will return the point predictions (I am guessing it is the averages) and confidence intervals: 公平地说,最初的描述说这些函数是用于显示的,但是,如果参数do_plot设置为true,则它将返回点预测(我想这是平均值)和置信区间:

do_plot: Logical. do_plot:逻辑。 If TRUE, no plot will be produced but instead a data frame containing point predictions and confidence limits will be returned. 如果为TRUE,则不会生成任何图,而是将返回包含点预测和置信度限制的数据框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从一个 lmer model 中提取所有非参考水平连续变量系数的置信区间? - How can I extract confidence intervals for all non-reference leveled contiuous variable coefficients from one lmer model? 如何以置信区间绘制数据? - How can I plot data with confidence intervals? 如何从多个回归模型中提取置信区间? - How to extract confidence intervals from multiple regression models? 如何从模型时间递归集成中提取置信区间? - How to extract confidence intervals from modeltime recursive ensembles? 如何将置信区间添加到散点图以对两个变量进行回归? - How can I add confidence intervals to a scatterplot for a regression on two variables? 使用变异 function 在 PropCIs package 中提取置信区间的效果如何? - How best will one extract confidence intervals in PropCIs package using mutate function? Caret package 的置信区间 - Confidence intervals for Caret package 如何在corrplot()中以数字方式显示置信区间? - How can confidence intervals be numerically visualized in corrplot()? 如何结合优势比和置信区间 - How can to combine odds ratios and the confidence intervals R:如何在包meta的metaprop中指定置信区间 - R: how to specify confidence intervals in metaprop of package meta
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM