Learn R Programming

pbANOVA (version 0.1.0)

alg.A1: PB test for main effect of one-way ANOVA

Description

Using Parametric Bootstrap to simulate a distribution for the main effect of one-way ANOVA

Usage

alg.A1(ns, ybars, s2, a,L)

Arguments

ns

sample size for each group

ybars

sample mean for each group

s2

sample variance for each group

a

level of the factor

L

Number of simulated values for the distribution

Value

the simulated p-value

Examples

Run this code
# NOT RUN {
#see Q.Amc_oneway


# }

Run the code above in your browser using DataLab