Question
I need someone who knows how to do this graph in R-Studio A consultant was called to assist the police department of a large metropolitan
I need someone who knows how to do this graph in R-Studio A consultant was called to assist the police department of a large metropolitan city in evaluating its human relations course for new officers. He planned a two-factor factorial experiment where the treatments were Athe type beat to which officers were assigned, and Bthe length of the human relations course. A sample of 45 new officers was chosen, and 5 were randomly assigned to each of the 9 treatment combinations. A test was developed to measure officers' attitudes toward minority groups and was administered to the participating officers after their training had ended and they had experienced two weeks on their beat. Better attitudes result in higher scores on this test. Analysis of the data revealed a significant AB interaction effect between the type beat and length of the human relations course. The table below shows the mean test scores for the 9 combinations of treatment levels.
Length of Human Relations Course | |||
Type Beat | 5 Hours | 10 Hours | 15 Hours |
upper-class beat | 34.4 | 35.5 | 39.2 |
middle-class beat | 30.2 | 32.4 | 34.7 |
inner-city beat | 20.1 | 39.4 | 54.3 |
(a) Construct an interaction graph. (I need someone who can explain to me how to do this graph in Rstudio)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started