oneway {ALSM}R Documentation

Single-Factor ANOVA

Description

Fitting of ANOVA Model

Analysis of Variance (test & table)

Test and confidence interval for Single Factor level Mean

inferences for Difference between Two Factor level Means

Contrast of Factor level Means

test and confidence interval for linear Combination of Factor level Means

Analysis of Means (CI for treatment effects)

*** Tests for Constancy of Error Variance: ***

Hartley Test

Brown-Forsythe Test

*** Simultaneos Inference Procedures: ***

Tukey multiple comparison procedure

Scheffe multiple comparison procedure

Bonferroni multiple comparison procedure

*** Nonparametric ***

Nonparametric Rank F Test and multiple Pairwise Testing Procedure

***A variety of residuals in the output: ***

residuals

semistudentized residuals

studentized residuals

studentized deleted residuals

*** PLOT ***

boxplot by factors

Line Plot of Estimated Factor Level Mean

Bar Graph and Main Effects Plot

bar graph and the main etfects plot of factor level means is to display the confidence limits

*** PLOT for residuals: ***

against fitted value

Aligned Residual Dot Plot

Normal Q-Q plot

histogram

boxplot

Usage

oneway(y, group, alpha=0.05,MSE=NULL, c.value=0, mc=NULL, residual,omission.variable=NULL)

Arguments

y

vector, response variable

group

vector INTEGER, group variable

alpha

Confidence interval calculate with 1-alpha percent

MSE

mean squre of error

c.value

c value for single factor test. H_0: mu_i=c

mc

Matrix contrast(s), Each row was included in a contrast

residual

Type of residuals. simple (default), semistudentized, studentized or studentized.deleted

omission.variable

numeric vector. Omission of Important Explanatory Variables. Residual analysis may also be used to study whether or not the single-factor ANOVA model is an adequate model.

Value

test & CI

References

Michael H. Kutner; Christopher J. Nachtsheim; John Neter; William Li. Applied Linear Statistical Models Fifth Edition. chapter 16, 17 and 18

Examples

library('ALSM')
library('SuppDists')

with(KentonFoodCompany,oneway(y,group,mc=matrix(c(.5,.5,-.5,-.5),1,4)))



[Package ALSM version 0.2.0 Index]