Questions
The number of crimes reported (in millions) and the number of arrests reported (in millions) by...

The number of crimes reported (in millions) and the number of arrests reported (in millions) by the U.S. Department of Justice for 14 years is listed below.

Crimes 1.66 1.65 1.60 1.55 1.44 1.40 1.32 1.23 1.22 1.23 1.22 1.18 1.16 1.19

Arrests 0.72 0.72 0.78 0.80 0.73 0.72 0.68 0.64 0.63 0.63 0.62 0.60 059 0.60

1. Find the Mean, Median, Mode, and Mid-range for both distributions of data.

2. Find the range, standard deviation, and variance for both distributions of data.

3. Create a box and whisker plot for both distributions of data. Please include the 5-Number Summary and identify any outliers appropriately.


In: Statistics and Probability

The fidelity of an audio clip is defined by a number of parameters, including the number...

The fidelity of an audio clip is defined by a number of parameters, including the number of channels (1 or 2), the resolution (8, 16 or 24 bits per sample), and the sampling rate (22050, 44100, or 88200 samples per second).

(a) Write a definition for an audioClip class that contains:

  1. [02 points] fields for storing the channels, resolution and sampleRate with appropriate visibility;
  2. [03 points] setter and getter methods for manipulating these fields, such that the setters methods ensure that channels can only have values 1 or 2, resolution can only have values 8, 16 or 24, and sampleRate can only have values 22050, 44100 or 88200;
  3. [03 points] a constructor that initializes new objects to have the lowest quality, where channels is set to 1, resolution is set to 8, and sampleRate is set to 22050.

(b) [04 points] Write a new method called isStudioQuality that will return true or false, depending upon whether the audio clip stored has the maximum possible quality (i.e., two channels, 24-bit resolution, and a sample rate of 88200 samples per second).

(c) [03 points] Write a new method called dataSize that accepts the duration that an audio clip lasts in seconds (as an integer), and returns the number of bytes that this audio clip would occupy on disk or in memory. The formula for calculating number of bytes, ?, where is ? duration (in seconds), ? is channels, ? is resolution (in bits), and ? is sample rate, is: ? = ? × ? × (?/ 8) × ?

C#

In: Computer Science

Is it possible to predict the annual number of business bankruptcies by the number of firm...

Is it possible to predict the annual number of business bankruptcies by the number of firm births (business starts)? The following table shows the number of business bankruptcies (1,000s) and the number of firm births (10,000s) for a six-year period. Use these data to develop the equation of the regression model to predict the number of business bankruptcies by the number of firm births. Discuss the meaning of the slope.

Business Bankruptcies
(1,000s)
Firm Births
(10,000s)
34.8 58.1
35.0 55.8
38.5 57.0
39.8 58.5
35.5 57.4
37.9 58.0

r =

The r value represents a relatively :

strong positive, strong negative , moderate positive or moderate negative. (choose one)

relationship between the number of firm births and the number of business bankruptcies.

Y is ________________ + X is _______________________

The slope of the line means that for every 10,000 increase of firm births, the number of business bankruptcies is predicted to increase by ______________

.

In: Statistics and Probability

A manufacturer wants to compare the number of defects on the day shift with the number...

A manufacturer wants to compare the number of defects on the day shift with the number on the evening shift. A sample of production from recent shifts showed the following defects:

Day Shift​​: 6​ 9​ 8​ 7​ 10​ 8

Evening Shift: ​​9​ 11​ 8​ 12​ 10​ 13​ 15​ 10

The objective is to determine whether the mean number of defects on the night shift is greater than the mean number on the day shift at the 95% confidence level.

a) State the null and alternate hypotheses.

b) What is the level of significance?

c) What is the test statistic?

d) What is the decision rule?

e) Use the Excel Data Analysis pack to analyze the problem. Include the output with your answer. (Note: You may calculate by hand if you prefer).

f) What is your conclusion?  Explain.

g) Does the decision change at the 99% confidence level?

In: Statistics and Probability

A manufacturer wants to compare the number of defects on the day shift with the number...

A manufacturer wants to compare the number of defects on the day shift with the number on the evening shift. A sample of production from recent shifts showed the following defects:

Day Shift 6 9 8 7 10 8

Evening Shift 9 11 8 12 10 13 15 10

The objective is to determine whether the mean number of defects on the night shift is greater than the mean number on the day shift at the 95% confidence level.

a) State the null and alternate hypotheses.

b) What is the level of significance?

c) What is the test statistic?

d) What is the decision rule?

e) Use the Excel Data Analysis pack to analyze the problem. Include the output with your answer. (Note: You may calculate by hand if you prefer).

f) What is your conclusion? Explain.

g) Does the decision change at the 99% confidence level?

In: Statistics and Probability

A manufacturer wants to compare the number of defects on the day shift with the number...

A manufacturer wants to compare the number of defects on the day shift with the number on the evening shift. A sample of production from recent shifts showed the following defects:

Day Shift 5 8 7 6 9 7

Evening Shift 8 10 7 11 9 12 14 9

The objective is to determine whether the mean number of defects on the night shift is greater than the mean number on the day shift at the 95% confidence level.

  1. State the null and alternate hypotheses.

  2. What is the level of significance?

  3. What is the test statistic?

  4. What is the decision rule?

  5. Use the Excel Data Analysis pack to analyze the problem. Include the output with your answer. (Note: You may calculate by hand if you prefer).

  6. What is your conclusion? Explain.

  7. Does the decision change at the 99% confidence level?

In: Statistics and Probability

A manufacturer wants to compare the number of defects on the day shift with the number...

A manufacturer wants to compare the number of defects on the day shift with the number on the evening shift. A sample of production from recent shifts showed the following defects:

Day Shift                     5          8          7          6          9          7

Evening Shift              8          10        7          11        9          12            14        9

The objective is to determine whether the mean number of defects on the night shift is greater than the mean number on the day shift at the 95% confidence level.

  1. State the null and alternate hypotheses.
  2. What is the level of significance?
  3. What is the test statistic?
  4. What is the decision rule?
  5. Use the Excel Data Analysis pack to analyze the problem. Include the output with your answer. (Note: You may calculate by hand if you prefer).
  6. What is your conclusion? Explain.
  7. Does the decision change at the 99% confidence level?

In: Statistics and Probability

A manufacturer wants to compare the number of defects on the day shift with the number...

A manufacturer wants to compare the number of defects on the day shift with the number on the evening shift. A sample of production from recent shifts showed the following defects: Day Shift 5 8 7 6 9 7

Evening Shift 8 10 7 11 9 12 14 9

The objective is to determine whether the mean number of defects on the night shift is greater than the mean number on the day shift at the 95% confidence level.

State the null and alternate hypotheses.

What is the level of significance? What is the test statistic? What is the decision rule? Use the Excel Data Analysis pack to analyze the problem. Include the output with your answer. (Note: You may calculate by hand if you prefer). What is your conclusion? Explain. Does the decision change at the 99% confidence level?

In: Statistics and Probability

Let X be the number of heads and let Y be the number of tails in...

Let X be the number of heads and let Y be the number of tails in 6 flips of a fair coin. Show that E(X · Y ) 6= E(X)E(Y ).

In: Statistics and Probability

ASAP (Math: The Complex class) A complex number is a number in the form a +...

ASAP

(Math: The Complex class)

A complex number is a number in the form a + bi, where a and b are real numbers and i is sqrt( -1). The numbers a and b are known as the real part and imaginary part of the complex number, respectively.

You can perform addition, subtraction, multiplication, and division for complex numbers using the following formulas:

a + bi + c + di = (a + c) + (b + d)i
a + bi - (c + di) = (a - c) + (b - d)i
(a + bi) * (c + di) = (ac - bd) + (bc + ad)i
(a+bi)/(c+di) = (ac+bd)/(c^2 +d^2) + (bc-ad)i/(c^2 +d^2)

You can also obtain the absolute value for a complex number using the following formula:

| a + bi | = sqrt(a^2 + b^2)

(A complex number can be interpreted as a point on a plane by identifying the (a,b) values as the coordinates of the point. The absolute value of the complex number corresponds to the distance of the point to the origin, as shown in Figure 13.10b.)

Design a class named Complex for representing complex numbers and the methods add, subtract, multiply, divide, and abs for performing complex number operations, and override toStringmethod for returning a string representation for a complex number. The toString method returns (a + bi) as a string. If b is 0, it simply returns a. Your Complex class should also implement Cloneable andComparable. Compare two complex numbers using their absolute values.

Provide three constructors Complex(a, b), Complex(a), and Complex(). Complex() creates a Complex object for number 0 and Complex(a) creates a Complex object with 0 for b. Also provide the getRealPart() and getImaginaryPart() methods for returning the real and imaginary part of the complex number, respectively.

Use the code at

https://liveexample.pearsoncmg.com/test/Exercise13_17Test.txt

to test your implementation.

Sample Run

Enter the first complex number: 3.5 5.5

Enter the second complex number: -3.5 1

(3.5 + 5.5i) + (-3.5 + 1.0i) = 0.0 + 6.5i

(3.5 + 5.5i) - (-3.5 + 1.0i) = 7.0 + 4.5i

(3.5 + 5.5i) * (-3.5 + 1.0i) = -17.75 -15.75i

(3.5 + 5.5i) / (-3.5 + 1.0i) = -0.5094339622641509 -1.7169811320754718i

|3.5 + 5.5i| = 6.519202405202649

false

3.5

5.5

[-3.5 + 1.0i, 4.0 + -0.5i, 3.5 + 5.5i, 3.5 + 5.5i]



Class Name: Exercise13_17

If you get a logical or runtime error, please refer https://liveexample.pearsoncmg.com/faq.html.

In: Computer Science