RBD.miss {Missplot} | R Documentation |
Analysis of RBD when there is one missing observation
Description
Analysis of RBD when there is one missing observation
Usage
RBD.miss(data, bl.miss, trt.miss)
Arguments
data |
A data-frame containing response in the first column , block number in the second column, treatment number in the third column corresponding to the response value. |
bl.miss |
Block number corresponding to the missing observation. |
trt.miss |
Treatment number corresponding to the missing observation. |
Details
In design of experiments in RBD setup if there is one missing observation present in the design , we can use the function RBD.miss to estimate the missing observation for testing the differential effects for the treatments. Here, we estimate the missing obsevation by minimizing the SSE of the design.
Value
A data-frame containing x.hat , SSE x.hat , x_double.hat , SSE x_double.hat, F statistics , p-value.
Credits
Credits to Professor Surupa Chakraborty for building the theoritical concepts of Design of Experiment and Professor Madhura Dasgupta for basic concepts for R.
Author(s)
Shantanu Nayek , Saheli Datta
Examples
#Observation corresponding to the second block and third treatment is missing in the data
data=data.frame(res=rnorm(16,35,20),
block_no=rep(1:4,each=4),
trt_no=rep(1:4,times=4))
RBD.miss(data,2,3)