statistics - R aov Function - adjusting the alpha value..? -
i have used aov() function im wondering if there way or function allows user define alpha value..?#
i'm assuming these tend industry standard of 0.05....what if wanted aov function yield p-value based on 0.03...or 0.01 alpha values...?
you can extract p-values of object returned aov
with
pvalues <- summary(fit)[[1]][ , 5, drop = false]
where fit <- aov(...)
.
now, can compare p-values alpha level, e.g., 0.01:
pvalues < 0.01
this returns true
or false
.
Comments
Post a Comment