| the basics | designed experiment |
observational study |
repeated measures |
download examples |
|---|---|---|---|---|
| concepts | box plot | scatter plot | profile plot | data |
| S-plus | dot plot | programs | ||
| exploration | histogram | |||
| conditioning |
Concepts
TRELLIS graphics are a powerful tool to display relationships for large datasets compactly in one graph page while
distinguishing between different groups, i.e. to look at aspects of the data structure within each panel.
With trellis you can see how the relationship between two variables changes with variations in one or more conditioning variables.
TRELLIS are equally useful for experimental and observational studies: by comparing each conditioned panel side-by-side and on the same scale you can see not only see if a relationship exists between two variables, but also if:
here are the Genstat commands:
PEN 1,2,3; method=line; colour =2,3,4; symbols=0 TRELLIS[GROUPS=treat,block; PENGROUP=replicate;USEPENS=yes;\ YTITLE='amount of soil eroded'; XTITLE='year';\ TITLE='Y vs X for each combination of block and treatment']\ Y=soil; X=year; METHOD=line
Question: is the slope of a straight line an acceptable summary statistic for the amount of soil erosion in the same plot over time? Answer: it may be OK for block 4 [except for treat B] or for treat E, but what about the remaining combinations of site and treatment? Maybe not.
here are the Genstat commands:
TRELLIS[GROUPS=treat,block; PENGROUP=replicate;\ YTITLE='amount of soil eroded'; XTITLE='replicate';\ TITLE='Y vs X for each combination of block and treatment']\ Y=soil; METHOD=boxplot
here are the Genstat commands:
PEN 1; method=line; colour=4; symbols=2 TRELLIS[GROUPS=treat,block; USEPENS=yes;\ YTITLE='amount of soil eroded'; XTITLE='replicate';\ TITLE='dotplot over block and treatment with joined means']\ Y=soil; X=replicate; METHOD=point,mean
here are the Genstat commands:
PEN 1; method=line; colour =3 VARIATE [values=0,5,10,15,20,25,30,35,40,45,50] lims TRELLIS[GROUPS=treat,block; ;LIMITS=lims; USEPENS=yes;\ YTITLE='frequency distribution'; XTITLE='amount of soil eroded';\ TITLE='histogram for each combination of block and treatment'] \ Y=soil; METHOD=histogram