In this part, you will write the implementation of the metho…

In this part, you will write the implementation of the method below. Your implementation should be consistent with the class you’ve written in a prior step (i.e. only use the field(s) and method(s) that exist in the MySortedList class). You do not need to include any import statements or Javadoc comments in your response. int findInsertionIndex(T element) Finds and returns the integer index where the element can be inserted while keeping the list in sorted order. The sorted order must be ascending (i.e. least-to-greatest). Returns the index of the first occurrence if the element passed in is a duplicate of an existing element within the list. REMEMBER: parameterized type T is bounded to guarantee that the elements implement the compareTo(T) method. When comparing, remember that foo.compareTo(bar) will return: a negative result when foo should be placed before bar a positive result when foo should be placed after bar a result of zero when foo and bar are equal HINT: it’s strongly recommended this method is implemented before the add(T) method Make sure to select the ‘Preformatted’ style from the dropdown so your code is formatted clearly. DO NOT USE THE TAB KEY WHEN WRITING CODE AS YOU MAY ACCIDENTALLY SUBMIT YOUR EXAM. USE THE SPACE BAR INSTEAD.

Suppose we measured the blood pressure of 100 randomly selec…

Suppose we measured the blood pressure of 100 randomly selected patients in a hospital. Our aim is to evaluate which variable, age or gender, is associated with blood pressure. We record the patient’s age as 1 if their age is greater than 65, and 0 otherwise. Similarly, we record the patient’s gender as 1 if they are female, and 0 if they are male. The scatter plots below depict these associations. We obtained two F test statistics: 194.91 for comparing the average blood pressures among age groups, and 0.0221 for comparing the average blood pressures among gender groups. The cutoff  for an upper tail probability of 0.05 under an F distribution with df1=1 and df2=98 (=) is 3.938.  What is your conclusion? 

Subjects are asked to focus on a center point until a shape…

Subjects are asked to focus on a center point until a shape appears, and then name the shape. Before the shape appears, an arrow appears either pointing in the direction the shape will appear (valid), pointing in both directions (neutral), or pointing in the opposite direction from which the shape will appear (invalid). How would the subjects’ reaction time for naming the shape differ among these conditions?