infer_oneway_anova {inferr} | R Documentation |
One Way ANOVA
Description
One way analysis of variance
Usage
infer_oneway_anova(data, x, y, ...)
Arguments
data |
a |
x |
numeric; column in |
y |
factor; column in |
... |
additional arguments passed to or from other methods |
Value
infer_oneway_anova
returns an object of class "infer_oneway_anova"
.
An object of class "infer_oneway_anova"
is a list containing the
following components:
adjusted_r2 |
adjusted r squared value |
df_btw |
between groups degress of freedom |
df_within |
within groups degress of freedom |
df_total |
total degress of freedom |
fstat |
f value |
group_stats |
group statistics |
ms_btw |
between groups mean square |
ms_within |
within groups mean square |
obs |
number of observations |
pval |
p value |
r2 |
r squared value |
rmse |
root mean squared error |
ss_between |
between group sum of squares |
ss_within |
within group sum of squares |
ss_total |
total sum of squares |
References
Kutner, M. H., Nachtsheim, C., Neter, J., & Li, W. (2005). Applied linear statistical models. Boston: McGraw-Hill Irwin.
See Also
Examples
infer_oneway_anova(mtcars, mpg, cyl)
infer_oneway_anova(hsb, write, prog)