In case folks were wondering there will be NO SASsy Fridays this Friday, April 13. SASsy Fridays and R-Users group will resume in May.
Stay tuned for a list of dates and topics

In case folks were wondering there will be NO SASsy Fridays this Friday, April 13. SASsy Fridays and R-Users group will resume in May.
Stay tuned for a list of dates and topics

Jordan Graham, MSc student in SES, presented his experiences working with Linear Mixed Models (LMM) in R. Please review the presentation and the sample code provided.
R-Users group will continue in May. Stay tuned for an updated list of dates and topics. If you are interested in talking to the group about a package that you’ve been using, please contact me at oacstats@uoguelph.ca – I welcome all suggestions!

Numbers and statistics can be fun, but sometimes putting these numbers into context with a chart or graph may reach a broader audience of understanding. What do I mean by that? How many of you will remember a number vs how many of you will remember a graph that shows a trend?
Building charts in SPSS is quite straightforward. The dataset we will use for this workshop is one of the many Sample datasets that accompany your SPSS program. For ease of this workshop, I’ve saved the DEMO dataset as an Excel file. Please download this file and open it in your SPSS program.
Let’s start by creating a barchart for our job satisfaction variable. We want to see a bar for each level and we want to see the count.
In SPSS:
You should now see a very plain barchart with frequencies.
Let’s create a chart that shows the average income for each level of job satisfaction. I’m curious to see whether the folks that are not satisfied with their job have a lower average income.
So, let’s start this again:
Hmm… now that’s an interesting graph!
One last piece missing from this graph – error bars! Whenever you have charts with means, you should ALWAYS provide some measure of variance. So let’s add some error bars and we’ll try standard error.
Providing the error bars gives the reader a “fuller” picture of the data. Although in this case it does not change the story!
Try:
We’ll investigate different types of charts based on what you are looking for.

Is the process of planning a study to meet specified objectives. An experiment that SHOULD be designed to match a specific research question.
Experimental unit is the unit to which the treatment is applied to.
Sampling unit is a fraction of the experimental unit.
Examples of potential experimental units:
Examples of potential sampling units:
Measure of the variation that exists among observations taken on the experimental units that are treated alike.
With any statistical analyses, what we are looking for is an estimate of the variation of the experimental error. So, the variation between our experimental units – We need this to test treatment differences.
Variation of observations within an experimental unit will not give us treatment differences!
Treatments that are randomly assigned to experimental units.

Experimental unit is the individual plot/square in the design. The statistical model is represented by:

Where:
Yij = Observation on the jth experimental unit on the ith treatment
μ = overall mean
τi = the effect of the ith treatment
εij = experimental error or residual
The experimental error is variation among experimental units on the same treatment. The unexplained variation – the residual – what’s left.
In any experiment we conduct, we have experimental error. Our goal is to take control over our experimental error so we can study the effects of our treatments. Blocking is one way to take control of our experimental error.
Blocking occurs when we group experimental units in a way where the variation of the experimental units within the blocks is less than the variation among all the units before blocking.

Each block highlighted as the different colours or the columns in the above table. Within each block all the treatments will appear an equal amount of time. The statistical model would be:

What happens though when we have more than one experimental unit/treatment in each block? If you look at the current design – you have one measurement per treatment in each block – so there is not enough measures to see whether the treatments are doing something different across the blocks. But when we have more than one experimental unit per treatments in a block, then you have variation to examine. So your model would now be:

A design where you have 2-3 factors or treatments of interest, yet the experimental units of each treatment are different sizes.

What are the 2 sources of experimental error?
Variation between the Blocks where A was assigned. Two blocks have the A1 treatment and two blocks have the A2 treatment. The main plot is the A treatment.
The second source of experimental error is the variation among the experimental units. The subplot is the B treatment. The statistical model is:

Two treatments that are applied as a strip as an example. Here is one block
If we are interested in looking at the effect of Treatment A – what is the correct error term? Start by asking yourself what is the experimental unit for treatment A? Then think about the definition of experimental error – variation between experimental units that were treated the same….
What about Treatment B?
And the interaction between Treatment A and Treatment B?
The statistical model is:

Let’s see how much we can get through.

Please visit the SASsyFridays blog for this session.
