سؤال

I have always used the aov() function however Im wondering if there is a way or another function that allows the user to define the alpha value..?#

I'm assuming these tend to be the industry standard of 0.05....what if I wanted my aov function to yield a P-value based on 0.03...or 0.01 alpha values...?

لا يوجد حل صحيح

نصائح أخرى

You can extract the p-values of the object returned by aov with

pvalues <- summary(fit)[[1]][ , 5, drop = FALSE]

where fit <- aov(...).

Now, you can compare the p-values with a certain alpha level, e.g., 0.01:

pvalues < 0.01

This returns TRUE or FALSE.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top