landingcube(sampling)
landingcube()所属R语言包:sampling
Landing phase for the cube method
着陆阶段的多维数据集的方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Landing phase of the cube method using linear programming.
多维数据集的方法,利用线性规划的着陆阶段。
用法----------Usage----------
landingcube(X,pikstar,pik,comment=TRUE)
参数----------Arguments----------
参数:X
matrix of auxiliary variables on which the sample must be balanced.
该样本必须是平衡的辅助变量的矩阵。
参数:pikstar
vector obtained at the end of the flight phase.
源向量获得的飞行阶段结束时。
参数:pik
vector of inclusion probabilities.
矢量包含概率。
参数:comment
a comment is written during the execution if comment is TRUE.
在执行过程中如果comment是TRUE写评论。
参考文献----------References----------
Chauvet, G. and Till茅, Y. (2006). A fast algorithm of balanced sampling. Computational Statistics, 21/1:53–62. <br> Chauvet, G. and Till茅, Y. (2005). New SAS macros for balanced sampling. In INSEE, editor, Journ茅es de M茅thodologie Statistique, Paris.<br> Deville, J.-C. and Till茅, Y. (2004). Efficient balanced sampling: the cube method. Biometrika, 91:893–912.<br> Deville, J.-C. and Till茅, Y. (2005). Variance approximation under balanced sampling. Journal of Statistical Planning and Inference, 128/2:411–425.
参见----------See Also----------
samplecube, fastflightcube
samplecube,fastflightcube
实例----------Examples----------
# matrix of balancing variables[矩阵的平衡变量]
X=cbind(c(1,1,1,1,1,1,1,1,1),c(1.1,2.2,3.1,4.2,5.1,6.3,7.1,8.1,9.1))
# Vector of inclusion probabilities[向量的包含概率]
# The sample has the size equal to 3.[该样品具有的大小等于3。]
pik=c(1/3,1/3,1/3,1/3,1/3,1/3,1/3,1/3,1/3)
# pikstar is almost a balanced sample and is ready for the landing phase[pikstar几乎是平衡的样品,并准备着陆阶段]
pikstar=fastflightcube(X,pik,order=1,comment=TRUE)
# selection of the sample s[选择的样本]
s=landingcube(X,pikstar,pik,comment=TRUE)
round(s)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|