楼主: 云雨不离猿
6133 13

[数据管理求助] 随机抽样,重复500次 [推广有奖]

11
蓝色 发表于 2018-12-13 15:53:23
那就看看bootstrap命令的帮助和例子

[R] bootstrap -- Bootstrap sampling and estimation
                 (View complete PDF manual entry)


Syntax

        bootstrap exp_list [, options eform_option] : command

    options                   Description
    ------------------------------------------------------------------------------------------
    Main
      reps(#)                 perform # bootstrap replications; default is reps(50)

    Options
      strata(varlist)         variables identifying strata
      size(#)                 draw samples of size #; default is _N
      cluster(varlist)        variables identifying resampling clusters
      idcluster(newvar)       create new cluster ID variable
      saving(filename, ...)   save results to filename; save statistics in double precision;
                                save results to filename every # replications
      bca                     compute acceleration for BCa confidence intervals
      ties                    adjust BC/BCa confidence intervals for ties
      mse                     use MSE formula for variance estimation


12
云雨不离猿 发表于 2018-12-13 19:11:26
蓝色 发表于 2018-12-13 15:53
那就看看bootstrap命令的帮助和例子

[R] bootstrap -- Bootstrap sampling and estimation
感谢您,之前help之后没看懂命令,是我太浮躁了,感谢

13
云雨不离猿 发表于 2018-12-13 19:13:23
云雨不离猿 发表于 2018-12-13 19:11
感谢您,之前help之后没看懂命令,是我太浮躁了,感谢
遗憾的是我还是没跑出来

14
神级天才 发表于 2020-5-14 09:01:15
云雨不离猿 发表于 2018-12-13 19:13
遗憾的是我还是没跑出来
请问您跑出来了吗? 可否指导我下?感谢啊!

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 01:33