You are on page 1of 2

1st COMPUTER LAB - EVALUATION

A psychologist is evaluating a prison-based treatment program for violent offenders serving long
sentences. The psychologist was given access to the prison records which included information about
any official reprimands received, or misdemeanours committed by the offenders. She used this
information to calculate a behaviour score for each offender (high value indicates poor behaviour).
The psychologist calculated this score for the year immediately prior to treatment (Pre_Treatment),
for the year of treatment (Treatment) and for each of the first (Post_1_Treatment) and second
years (Post_2_Treatment) following treatment. Table 1 contains the data from 12 prisoners.

a. Does the behaviour score change significantly across the four years?
b. During treatment the prisoners are housed in a special unit, and as a result the behaviour
score for the year of treatment may not be comparable to the measures taken before and after
treatment. Reanalyse the data excluding this data point.
c. The psychologist planned to compare the behaviour at one year and two years post treatment
with the behaviour prior to treatment. What do you conclude for this mean comparisons?
d. What would you conclude about the effectiveness of this treatment?

Table 1: data.

Prisoner_I Pre_Treatme Treatmen Post_1_Treatme Post_2_Treatme


D nt t nt nt
1 46 11 36 40
2 66 15 52 64
3 44 10 62 45
4 89 15 43 44
5 88 8 23 63
6 62 22 62 78
7 120 12 54 88
8 56 2 22 63
9 84 25 76 97
10 33 23 37 42
11 89 12 45 76
12 74 19 44 88

Guidelines :
1. (1) Describe variables, (2) hypothesi(e)s ,(3) design and (4) create matrix in a .CSV file.

2. ANOVA data analysis using RStudio:

a) Does this data meet ANOVA assumptions? Justify the answer.

b) Report ANOVA results (for research questions a, b, c and d) . Does the result have
statistical power? If adequate write the result report for research questions a, b, c and d including also
effect size and graphical representation.
3. Upload the assignment in e-Gelan (3 files): (1) Data-file(s) in .csv format, (2) .R file (3) Result
report including tables and result interpretation and report in WORD or PDF format.

You might also like