quantile.agree.sim | R Documentation |
Provides a concise quantile summary of objects created using the functions rwg.sim and rwg.j.sim. The simulation functions for rwg and rwg.j return a limited number of estimated values. Consequently, the normal quantile methods are biased. The quantile methods incorporated in this function produce unbiased estimates.
## S3 method for class 'agree.sim' quantile(x,confint,...)
x |
An object of class 'agree.sim'. |
confint |
The confidence intervals to return. The values of 0.95 and 0.99 return the approximate 95th and 99th percentile confidence intervals (p=.05 and p=.01). |
... |
Optional arguments. None used. |
A dataframe with two columns. The first column contains the quantile value and the second contains the estimate based on the object.
Paul Bliese pdbliese@gmail.com
rwg.sim
rwg.j.sim
#An example from Dunlap et al. (2003). The estimate from Dunlap et al. #Table 2 is 0.53 RWG.OUT<-rwg.sim(gsize=10,nresp=5,nrep=1000) quantile(RWG.OUT, c(.95,.99))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.