문제

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