Question

In: Math

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 ever been charged.

a) What is the independent variable?              

b) What is the dependent variable?

c) What is the null hypothesis?

d) What is the research hypothesis?

e) Interpret the results.

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

Solutions

Expert Solution

Part (A and B)

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.

Part C),D

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.

e) 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.


Related Solutions

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...
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...
1. A prison official wants to estimate the proportion of cases of recidivism. Examining the records...
1. A prison official wants to estimate the proportion of cases of recidivism. Examining the records of 176 convicts, the official determines that there are 56 cases of recidivism. Find the margin of error for a 99% confidence interval estimate for the population proportion of cases of recidivism.   (Use 3 decimal places.) 2. A quality control engineer is interested in estimating the proportion of defective items coming off a production line. In a sample of 311 items, 45 are defective. Calculate...
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.
Assess the relationships between continuous monitoring for 1) NIST Systems Security Engineering, SP 800-160, Systems Security...
Assess the relationships between continuous monitoring for 1) NIST Systems Security Engineering, SP 800-160, Systems Security Engineering and 2) IETF SACM. Consider for your Analysis and Conclusions utilizing the NIST enterprise levels: • Level 1: Organization • Level 2: Mission/Business Processes • Level 3: System
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:
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT