diff_eff.lsd: Latin Square Design

View source: R/diff_eff.lsd.R

diff_eff.lsdR Documentation

Latin Square Design

Description

Test for Significant Treatment effects and Differential Effects of Treatment Contrasts for a LSD

Usage

diff_eff.lsd(resp, trt, rows, cols, los = 0.05)

Arguments

resp

The response variable vector

trt

The treatment vector

rows

A vector containing the row indices of a LSD

cols

A vector containing the column indices of a LSD

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 LSD we need to calculate the estimate of the treatment contrast (tau_k - tau_k') and test H0: tau_k = tau_k' for plausible rejection. The estimate of (tau_k - tau_k') is (y_00k - y_00k') which follows N(tau_j - tau_j', 2*sigma^2/v). Under H_0, the test statistic (y_00k - y_00k')/sqrt(2*MSE/v) follows t_(v-1)(v-2).

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 RBD diff_eff.rbd


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