lmrobdetLinTest | R Documentation |
This function computes a robust likelihood ratio test for linear hypotheses.
lmrobdetLinTest(object1, object2)
object1 |
an |
object2 |
an |
A list with the following components: c("test","chisq.pvalue","f.pvalue","df")
test |
The value of the F-statistic |
f.pvalue |
p-value based on the F distribution |
chisq.pvalue |
p-value based on the chi-squared distribution |
df |
degrees of freedom |
Victor Yohai, vyohai@gmail.com
http://www.wiley.com/go/maronna/robust
data(oats)
cont <- lmrobdet.control(bb = 0.5, efficiency = 0.85, family = "bisquare")
oats1M <- lmrobM(response1 ~ variety+block, control=cont, data=oats)
oats1M_var <- lmrobM(response1 ~ block, control=cont, data=oats)
( anov1M_var <- rob.linear.test(oats1M, oats1M_var) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.