diff_eff.rbd: Randomized Block Design

View source: R/diff_eff.rbd.R

diff_eff.rbdR Documentation

Randomized Block Design

Description

Test for Significant Treatment effects and Differential Effects of Treatment Contrasts for an RBD

Usage

diff_eff.rbd(resp, trt, blocks, los = 0.05)

Arguments

resp

The response variable vector

trt

The treatment vector

blocks

The vector containing Block/Replicate indices

los

Level of significance (Default is 0.05)

Details

In experimental designs if test of differential effect gets rejected we might be interested in analyzing which pair of treatments is behind the rejection. For RBD we need to calculate the estimate of the treatment contrast (tau_j - tau_j') and test H0: tau_j = tau_j' for plausible rejection. The estimate of (tau_j - tau_j') is (y_0j - y_0j') which follows N(tau_j - tau_j', 2*sigma^2/b). Under H_0, the test statistic (y_0j - y_0j')/sqrt(2*MSE/b) follows t_(b-1)(v-1).

Value

A list containing - ANOVA Table, Decision Table, Rejected Pairs, Mean Square Error, Critical Point

Special Thanks

Professor Surupa Chakraborty and Professor Debjit Sengupta for helping me in building the concepts of Design of Experiments. Professor Madhura Dasgupta for guiding me in R programming.

Author(s)

Anik Chakraborty

See Also

For CRD diff_eff.crd, for LSD diff_eff.lsd


acAnik10/DoEtoolsR documentation built on June 2, 2022, 12:36 p.m.