
Last chance! 50% off unlimited learning
Sale ends in
ANOVA with Type I SS.
aov1(Formula, Data, BETA=FALSE, Resid=FALSE)
The result table is comparable to that of SAS PROC ANOVA.
degree of freedom
sum of square for the set of contrasts
mean square
F value for the F distribution
proability of larger than F value
Next returns are optional.
Parameter table with standard error, t value, p value. TRUE
is 1, and FALSE
is 0 in the Estimable
column. This is returned only with BETA=TRUE option.
Fitted value or y hat. This is returned only with Resid=TRUE option.
Weigthed residuals. This is returned only with Resid=TRUE option.
a conventional formula for a linear model.
a data.frame
to be analyzed
if TRUE
, coefficients (parameters) of REG
will be returned. This is equivalent to SOLUTION option of SAS PROC GLM
if TRUE
, fitted values (y hat) and residuals will be returned
Kyun-Seop Bae k@acr.kr
It performs the core function of SAS PROC ANOVA.
aov1(uptake ~ Plant + Type + Treatment + conc, CO2)
aov1(uptake ~ Plant + Type + Treatment + conc, CO2, BETA=TRUE)
aov1(uptake ~ Plant + Type + Treatment + conc, CO2, Resid=TRUE)
aov1(uptake ~ Plant + Type + Treatment + conc, CO2, BETA=TRUE, Resid=TRUE)
Run the code above in your browser using DataLab