The function performs a heteroscedastic test of a two treatment by J blocks randomized blocks effect size. The data are assumed to be stored in x in list mode. All groups are assumed to be independent. Missing values are not permitted.
RandomizedBlocksAnalysis( x, con = c(-0.5,0.5,-0.5,0.5), alpha =0.05, alternative ="two.sided")
Arguments
x: the structure holding the data. In list format, for a 2 treatment by J block randomized blocks experiments, there are 2J list elements each one specifying the outcome for a specific block and a specific treatment.
con: is a 2J list containing the contrast coefficients that are used to calculate the mean effect size.
alpha: is the Type 1 error level used for the test of significance (default 0.05)
alternative: The type of statistical test. Valid values are one of c('two.sided', 'greater', 'less')
Returns
The t-test and its associated metrics (i.e., critical value standard error and degrees of freedom) and the estimate of the contrast with its upper and lower confidence interval bounds and p-value.