楼主: 有福有德
1443 1

[学科前沿] 按比例分层抽样的增益 gains from proportionate stratified sampling [推广有奖]

教师

院士

6%

还不是VIP/贵宾

-

威望
4
论坛币
56500 个
通用积分
8.4735
学术水平
344 点
热心指数
203 点
信用等级
274 点
经验
37400 点
帖子
1138
精华
10
在线时间
946 小时
注册时间
2010-10-14
最后登录
2024-5-17

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
     若能收集到该词条相关资料的跟帖者给予奖励,根据收集资料的水平给予10~100不等的论坛币,当然也可以谈谈自己的看法,上传资料等等,请大家尽量不要复制一些搜索引擎很容易收集到的资料。
     我每天都会发送不等数量的词条,所以诚邀不同统计背景的各路大侠发表评论。
     欢迎大家多多跟帖!要数量也要质量哟


可能就是抽样理论的一种应用吧
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:stratified Proportion Sampling Gains Port 搜索引擎 统计 资料

回帖推荐

区域经济爱好者 发表于2楼  查看完整内容

Title gsample -- Sampling Syntax gsample [#|varname] [weight] [, options] options Description ------------------------------------------------------------------------------------------------------------------------------------------- percent sample size is in percent wor sample without repla ...

本帖被以下文库推荐

Title

    gsample -- Sampling


Syntax

        gsample [#|varname] [if] [in] [weight] [, options]


    options                Description
    -------------------------------------------------------------------------------------------------------------------------------------------      percent                   sample size is in percent
      wor                         sample without replacement
      strata(varlist)           variables identifying strata      
      cluster(varlist)          variables identifying resampling clusters
      idcluster(newvar)      create new cluster ID variable
      keep                         keep observations that do not meet if and in
      generate(newvar)     store sampling frequencies in newvar
      replace                     overwrite existing variables
    -------------------------------------------------------------------------------------------------------------------------------------------    aweights are allowed; see weight.


Description

    gsample draws a random sample from the data in memory. Simple random sampling (SRS) is supported, as well as unequal probability sampling (UPS), of   which sampling with probabilities proportional to size (PPS) is a special case. Both methods, SRS and UPS/PPS, provide sampling with replacement and   sampling without replacement. Furthermore, stratified sampling and cluster sampling is supported.

    # specifies the size of the sample. The default for gsample is to replace the data in memory with the sampled observations in random order.    Alternatively, gsample may store a new variable containing the sampling frequencies of the observations (see the generate(newvar) option). In the   case of sampling without replacement (see the wor option), the sample size must be less than or equal to the number of sampling units in the data.    Sampling units are either single observations or clusters identified by the cluster() option. If # is not specified or if #==., the sample size is   equal to the observed number of units in the data. For stratified sampling, # units will be selected from each stratum identified by the strata()   option. Alternatively, specify varname instead of #, where varname is a variable containing for each stratum a specific sample size. varname is   assumed to be constant within strata.
    Specifying aweights causes unequal probability sampling (UPS/PPS) to be performed. The sampling probabilities of the observations will be   proportional to the specified weights in this case.   gsample is implemented as a wrapper for the mm_sample() function from the moremata package. See help for mm_sample() for methodical details and  references. Note that for unequal probability sampling without replacement many different algorithms have been proposed in the literature and there  may be better solutions than the method implemented here. In addition, UPS without replacement may fail if the distribution of weights is very uneven   (see help for mm_sample() for an explanation of this problem).

    If you are serious about sampling, you should first set the random number seed; see help generate.


已有 2 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员
有福有德 + 20 观点有启发

总评分: 经验 + 10  论坛币 + 30   查看全部评分

感兴趣领域——宏观经济、区域经济与技术经济

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-17 22:24