Description Usage Arguments Details Value Note Author(s) See Also Examples
Computes (by random simulation) the null F statistic (ratio of mean squares) for a back-projection ANOVA with a specified level of back-projection error
1 2 3 4 5 |
x |
An observed value |
n |
Number of deviates |
q |
Quantile |
df1 |
Numerator (treatment) degrees of freedom |
df2 |
Denominator (error) degrees of freedom |
bpms |
Estimated scaled mean square associated with back-projection error: if s2 is the back-projection variance, then bpms = s2*(N/df1)/ms.err |
atab |
an |
nsim |
Number of simulations |
lower.tail |
Return lower tail of cumulative distribution? |
scaled |
interpret bpms as scaled mean square or as back-projection variance? (default is TRUE if atab is provided, otherwise FALSE) |
dvar |
incorporate variance of MSE in the simulation? (I'm not yet sure which way is right) |
... |
additional arguments to rbperr |
The statistic returned is like an F(df1,df2) statistic, but the numerator adds an additional term c*bp.ms, where c is a chi-squared deviate with 1 df. The p, q, and d functions work by simulating values and finding the empirical cumulative density, quantile, or density (all three of these could be quite crude).
Random deviates, estimated quantiles or cumulative densities as appropriate.
A "p value" of 0 should best be interpreted as a p-value of (<1/nsim). WARNING: the functions are not completely vectorized.
Ben Bolker
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.