Question

In: Statistics and Probability

A prison administrator is interested in examining the relationships between the type of prison security (maximum,...

A prison administrator is interested in examining the relationships between the type of prison security (maximum, medium, and minimum) and the number of previous offenses committed by an inmate. He believes that maximum security prisons have inmates with many prior offenses, medium security with not so many offenses, and minimum security with almost no prior offenses. He randomly selects eight new inmates from each of the three security levels and compares the number of offenses for which they have ever been charged.

Security Level

Maximum

Medium

Minimum

8

4

2

6

4

2

4

3

3

5

6

2

3

5

4

7

6

1

6

3

2

9

3

2

S = 48

S = 34

S = 18

a) What are the independent and dependent variables? How are they measured (nominal, ordinal, interval, ratio)?

b) Using a significance level of .01, test the null hypothesis that the groups are equal against the alternative that at least one is different.

SST= SSB+ SSW= 56.33 + 45 = 101.33

c)  Determine which (if any) differences between means are significant (use a significance level of .01).

            Tukey’s Honest Significant Difference Test:

d)  How strong is the relationship (if any) between these two variables? Calculate the measure of association for these data. Interpret this value in words.

Solutions

Expert Solution

Ans) a) Here the independent variable is the type of prison security and dependent variable is the number of previous offenses committed by an inmate. The independent variable is a categorical ordinal variable and dependent variable is nominal variable.

b) Here given the significance level is 0.01. Here we need to test the groups are equal against at least one is different. So clearly we need to apply here one way ANOVA. Here we can we R software to get the desired results.The R code is given below:

y=c(8,6,4,5,3,7,6,9,4,4,3,6,5,6,3,3,2,2,3,2,4,1,2,2)
x=as.factor(rep(1:3,each=8))
anova=aov(y ~ x)
summary(anova)

The result of the summary table as follows:

Df Sum Sq Mean Sq F value Pr(>F)
x 2 56.33 28.167 13.14 0.000199 ***
Residuals    21 45.00 2.143   
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

The critical value of F statistics is given by: qf(0.99,2,21) = 5.780416. So here the observed F statistics value is 13.14 which is greater than critical value, so we can conclude that at 1% level of significance the groups are different.

c) Now we have to find which groups are different from each other. For this we will apply Tukey's Honest Difference Test in R. The R code is given as:

TukeyHSD(anova,conf.level = 0.99)

The result is as follows:


Fit: aov(formula = y ~ x)

$`x`
diff lwr upr p adj
2-1 -1.75 -4.137015 0.6370148 0.0650195
3-1 -3.75 -6.137015 -1.3629852 0.0001278
3-2 -2.00 -4.387015 0.3870148 0.0320870

From the above table we can clearly observe that there are differences between means of group 1 and 2 and between means of group 2 and 3 as the interval contains 0 value.

d) Now we have to find the measure of association between these two variables. So need to calculate correlation coefficient between these two variables.Here we need to convert independent variable to numerical one ( we can do it here because the we can order this variable). The R code is given by:

cor(as.numeric(x),y)

The value is -0.7450495. This value indicates that there is a strong association between these two variables where the negative sign indicates that maximum security prisons have inmates with many prior offenses, because we are given lower value to maximum level.


Related Solutions

1. A prison administrator is interested in examining the relationships between the type of prison security...
1. A prison administrator is interested in examining the relationships between the type of prison security (maximum, medium, and minimum) and the number of previous offenses committed by an inmate. He believes that maximum security prisons have inmates with many prior offenses, medium security with not so many offenses, and minimum security with almost no prior offenses. He randomly selects eight new inmates from each of the three security levels and compares the number of offenses for which they have...
Researchers were interested in the relationship between the type of prison the inmate is attending (High,...
Researchers were interested in the relationship between the type of prison the inmate is attending (High, Medium, Minimum) and the prison history of their parents (Both, None, One).  Below is the two-way table of the observed data. High Medium Minimum Total Both 15 22 12 49 None 61 125 47 233 One 50 108 60 218 Total 126 255 119 500 What proportion of inmates with both parents in prison are in high security prisons? If there was no relationship between...
A criminologist is interested in possible disparities in the length of prison sentences between males and...
A criminologist is interested in possible disparities in the length of prison sentences between males and females convicted in murder-for-hire cases. Selecting 14 cases involving men convicted of trying to solicit someone to kill their wives and 16 cases involving women convicted of women trying to solicit someone to kill their husbands, the criminologist finds the following: For males, the mean length of the prison sentences is M = 7.34 with SS = 82 For females, the mean length of...
A researcher is examining the relationship between job security and job satisfaction. Job Security Job Satisfaction...
A researcher is examining the relationship between job security and job satisfaction. Job Security Job Satisfaction High Medium Low High 29 12 15 Medium 22 19 35 Low 17 18 36 8a) State your null and research hypotheses. 8b) Using SPSS CALCULATE AND INTERPRET (in plain English) gamma. - PLEASE SHOW STEPS AND COMMANDS USED ON SPSSS SO THAT I CAN FOLLOW AND REPLICATE RESULTS.
A financial services company is interested in examining the relationship between the age of an individual...
A financial services company is interested in examining the relationship between the age of an individual and their wealth in order to make more informed recommendations. They use client data to estimate the following models. Note, Age is measured in years and Wealth is the total dollar amount the individual has saved. Assume each of the explanatory variables are significant at the 5% level. Model 1:  Wealthˆ= 5,450 + 4,589Age, Se = 11,550, R2 = 0.59, Adjusted-R2 = 0.50 Model 2:  Wealthˆ=...
A prison official wants to estimate the proportion of cases of recidivism. Examining the records of...
A prison official wants to estimate the proportion of cases of recidivism. Examining the records of 236 convicts, the official determines that there are 78 cases of recidivism. Find the lower limit of the 80% confidence interval estimate for the population proportion of cases of recidivism. (Round to 3 decimal places.
Suppose that you are examining the difference in ages between brides and grooms. You are interested...
Suppose that you are examining the difference in ages between brides and grooms. You are interested in conducting a significance test to examine to address the theory that the bride is younger than the groom in more than half of all marriages. A sample of 100 couples were observed, for which 67 had a bride younger than the groom. whats is the parameter? . Step 2: The null hypothesis and alternative hypothesis? Step 5: whats the  p-value is:
Suppose that you are examining the difference in ages between brides and grooms. You are interested...
Suppose that you are examining the difference in ages between brides and grooms. You are interested in conducting a significance test to examine to address the theory that the bride is younger than the groom in more than half of all marriages. A sample of 100 couples were observed, for which 67 had a bride younger than the groom. whats is the parameter? . Step 2: The null hypothesis and alternative hypothesis? Step 5: whats the  p-value is:
We are interested in examining the relationship between the number of calories people consume and weight....
We are interested in examining the relationship between the number of calories people consume and weight. We randomly selected 200 people and presented the data with explanatory (x) variable being the calories consumed and the response (y) variable being their weight. Regression analysis will be good for this problem because it helps us find trends in data and quantify the results. It can also help us make predictions about data. So as long as the requirements are met for inference...
Derive the relationships between maximum and mean velocities in case of laminar and turbulent flows? (Fluid...
Derive the relationships between maximum and mean velocities in case of laminar and turbulent flows? (Fluid Mechanics)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT