monteSample-class(sampSurf)
monteSample-class()所属R语言包:sampSurf
Class "monteSample"
类“monteSample”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This is a virtual class defining the base representation for objects that hold information about repeated (Monte Carlo) sampling from population objects of class "montePop". It provides a basic class setup for looking at Monte Carlo convergence of as the sample size grows larger.
这是一个虚拟的类定义为有重复(蒙特卡洛)人口抽样类的对象“montePop”信息的对象表示的基础。它提供了一个基本的类设置在蒙地卡罗收敛的样本量增长较大。
类对象----------Objects from the Class----------
A virtual Class: No objects may be created from it. For usable subclasses please see monteNTSample and
可能会从它创建一个虚拟类:没有对象。可用的子类,请参阅monteNTSample和
插槽----------Slots----------
mcSamples: Object of class "numeric": A scalar numeric specifying the number of Monte Carlo samples drawn from
mcSamples类的对象"numeric":指定的蒙特卡罗样本数的标量数字来自
n: Object of class "numeric": A numeric vector listing the different sample sizes recorded in the object that have been drawn from a “montePop” population object. So, if we have drawn samples of size n = 10,20,30, then this would hold c(10,20,30), with associated names
n:类的对象"numeric":一个数字矢量列出不同的样本量记录中的对象已经从一个的“montePop”人口对象。因此,如果我们绘制样本大小为n = 10,20,30,那么这将保持c(10,20,30),与相关的名称
alpha: Object of class "numeric": The two-tailed alpha level for which confidence intervals have been calculated. I.e., for the 95% confidence level
alpha:类的对象"numeric":双尾α水平的置信区间的计算。即,对于95%的置信水平
replace: Object of class "logical": TRUE if the samples have been drawn from the population with
replace:类的对象"logical":TRUE如果已经抽取样品从人口
ranSeed: Object of class "numeric": The random number seed as a numeric vector. Please see the R documentation on .Random.seed for information on the format of this slot. Note that it is not a simple scalar integer “seed”, but a vector of integers containing the state of the random number
ranSeed:类的对象"numeric":一个数值向量的随机数种子。该插槽的格式的信息,请看到R文件.Random.seed的。请注意,这不是一个简单的标量整数“种子”的向量,但包含的随机数的状态的整数
fpc: Object of class "numeric": The finite population correction factors for each sample size n. The
fpc:类的对象"numeric":每个样品大小n的有限人口的校正因子。 “
means: Object of class "data.frame": A data frame with mcSamples rows, and one column for each of the sample sizes in the n slot of the object. What is stored here depends on the subclass object type, so please see the
means:类的对象"data.frame":mcSamples行n插槽的对象的样本量,和一列数据框。什么是存储在这里的子类对象的类型,所以请参阅
Note: The following six slots have the same dimensions as
注意:下面的六个时隙具有相同的尺寸作为
vars: Object of class "data.frame": Contains
vars:类的对象"data.frame":包含
stDevs: Object of class "data.frame": Contains
stDevs:类的对象"data.frame":包含
varMeans: Object of class "data.frame":
varMeans:类的对象"data.frame":
stErrs: Object of class "data.frame": Contains
stErrs:类的对象"data.frame":包含
lowerCIs: Object of class "data.frame": Contains the individual lower limit for the confidence intervals.
lowerCIs:类的对象"data.frame":包含个人的置信区间的下限。
upperCIs: Object of class "data.frame": Contains the individual upper limit for the confidence intervals.
upperCIs:类的对象"data.frame":包含个人的置信区间的上限。
caught: Object of class "data.frame": Contains a flag where TRUE means the confidence interval caught the population mean and FALSE means it failed to catch the population mean. Taking column sums, therefore (since TRUE == 1 and FALSE == 0) will give the number of intervals that caught the population mean for each sample size. This is used
caught:类的对象"data.frame":包含一个标志TRUE是指置信区间抓住人口的意思,FALSE是指它未能赶上人口是什么意思。以列和,因此,(因为TRUE == 1和FALSE == 0)的时间间隔,引起了人口平均用于每个样品大小的数量。这是用
caughtPct: Object of class "numeric": The percentage of times the confidence intervals caught the population mean as calculated from the data frame in the caught slot
caughtPct:类的对象"numeric":caught插槽的置信区间抓住了人口的百分比的平均值作为计算出的数据框
stats: Object of class "data.frame": A summary data frame with rows as the average of each column (i.e., over all Monte Carlo samples) from the information in the data frames above (means, vars, stDevs, varMeans, stErrs, lowerCIs, and upperCIs). The interpretation of some of the rows depends on the subclass object as has been mentioned above, please see the
stats:类的对象"data.frame":行,平均每列的汇总数据框(即超过所有的蒙特卡洛样品)以上的数据框中的信息(means ,vars,stDevs,varMeans,stErrs,lowerCIs和upperCIs)。的某些行的解释依赖于子类对象,如上面已经提到,请参阅
方法----------Methods----------
hist signature(x = "monteSample"): Histogram of the
历史signature(x = "monteSample")的直方图
show signature(object = "monteSample"): Object summary.
signature(object = "monteSample"):对象总结。
summary signature(object = "monteSample"): Object summary.
总结signature(object = "monteSample"):对象的摘要。
(作者)----------Author(s)----------
Jeffrey H. Gove
参考文献----------References----------
参见----------See Also----------
monte, montePop; for subclasses, see: monteNTSample and monteBSSample.
monte,montePop;的子类,请参阅:monteNTSample和monteBSSample。
实例----------Examples----------
showClass("monteSample")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|