I am trying to construct a hypothesis test for the variance of two populations.
My test statistic is $F=$${\sigma_b^2}$/${\sigma_A^2}$. I want to implement this as a function in R so I computed: a=function(B,A){ var(B)/var(A) }
Now, I want to compute the p-value using this test statistic in R. How can I do this?
car
package. $\endgroup$