These functions use some conversion to and from the F distribution to provide the Omega Squared distribution.
pomegaSq(q, df1, df2, populationOmegaSq = 0, lower.tail = TRUE) qomegaSq(p, df1, df2, populationOmegaSq = 0, lower.tail = TRUE) romegaSq(n, df1, df2, populationOmegaSq = 0) domegaSq(x, df1, df2, populationOmegaSq = 0)
Degrees of freedom for the numerator and the denominator, respectively.
The value of Omega Squared in the population; this
determines the center of the Omega Squared distribution. This has not been
implemented yet in this version of
ufs. If anybody
has the inverse of
convert.ncf.to.omegasq() for me, I'll happily
logical; if TRUE (default), probabilities are the likelihood of finding an Omega Squared smaller than the specified value; otherwise, the likelihood of finding an Omega Squared larger than the specified value.
Vector of probabilites (p-values).
Desired number of Omega Squared values.
Vector of quantiles, or, in other words, the value(s) of Omega Squared.
domegaSq gives the density,
pomegaSq gives the
qomegaSq gives the quantile function, and
romegaSq generates random deviates.
### Generate 10 random Omega Squared values romegaSq(10, 66, 3); #>  0.7658712 0.9064073 0.1931751 0.1412495 0.8132912 -1.3397963 #>  0.6374742 0.8412706 0.7577850 -1.6294496 ### Probability of findings an Omega Squared ### value smaller than .06 if it's 0 in the population pomegaSq(.06, 66, 3); #>  0.4280867