Qanova | R Documentation |

One-way ANOVA based on quantiles. Only known method to work well when tied values are likely to occur.

```
Qanova(formula, data, q = 0.5, nboot = 600, ...)
```

`formula` |
an object of class formula. |

`data` |
an optional data frame for the input data. |

`q` |
quantile (or vector of quantiles) to be used. |

`nboot` |
number of bootstrap samples |

`...` |
currently ignored. |

Test global hypothesis that J independent groups have equal quantiles (default: median) using the Harrell-Davis estimator. Performs well when there are tied values.

`Qanova`

an object of class `"qanova"`

containing:

`psihat` |
value of the test statistics |

`contrasts` |
contrasts |

`p.value` |
p-value |

`call` |
function call |

Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.

`qcomhd`

, `t1way`

, `discANOVA`

```
## median comparison
set.seed(123)
fitmed <- Qanova(libido ~ dose, viagra, nboot = 200)
fitmed
## 1st, 3rd quartile comparison
set.seed(123)
fitquart <- Qanova(libido ~ dose, viagra, q = c(0.25, 0.75), nboot = 200)
fitquart
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.