This function calculates rho for an observed kappa value with associated set parameters
(testSetLength and OcSBaserate). Called by rho. A p-value is returned and if
this value is less than 0.05, it is said that the handset does generalize to the entire set
Usage
rhoK(
x,
OcSBaserate,
testSetLength,
testSetBaserateInflation = 0,
OcSLength = 10000,
replicates = 800,
ScSKappaThreshold = 0.9,
ScSKappaMin = 0.4,
ScSPrecisionMin = 0.6,
ScSPrecisionMax = 1,
method = "standard"
)Arguments
- x
The observed kappa value,
testSetorcontingencyTablethat will be tested with rho- OcSBaserate
The
baserateof the observedcodeSet(defaults tobaserateoftestSetorcontingencyTable)- testSetLength
The length of the
testSet(ignored unless data is an observed kappa value)- testSetBaserateInflation
The minimum
baseratefrom the sampling procedure- OcSLength
The length of the observed
codeSet- replicates
The number of simulated
codeSetsto use in the null hypothesis distribution for rho; similar to replicates in a Monte Carlo study- ScSKappaThreshold
The maximum kappa value used to generate simulated
codeSetsin the null hypothesis distribution for rho- ScSKappaMin
The minimum kappa value used to generate simulated
codeSetsin the null hypothesis distribution for rho- ScSPrecisionMin
The minimum precision to be used for generation of simulated
codeSetsin the null hypothesis distribution for rho- ScSPrecisionMax
The maximum precision to be used for generation of simulated
codeSetsin the null hypothesis distribution for rho,- method
set to "c" to calculate using the C++ implmentation. Defaults to "standard"
