Questions
The speech recognition software used by Mr Smiths company can transcribe 130 words per minute. He...

The speech recognition software used by Mr Smiths company can transcribe 130 words per minute. He will purchase a new product only if it can be shown to increase the speed. 41 tests were run on the new software resulting in a mean of 135 and a standard deviation of 4.5 words per minute. With a=.01 should he purchase the new software?

In: Statistics and Probability

(a)A sports statistician determined that the probability of a certain rugby team winning its next match...

(a)A sports statistician determined that the probability of a certain rugby team winning its next match is

11/19

. Find the odds against the team winning its next match.


(b)Linda entered a raffle at a festival and hopes to win a new TV. The odds in favor of winning a new TV are 3/13

. Find the probability of winning a new TV.

In: Statistics and Probability

how you would implement a new payroll system for a large retail organization that will take...

how you would implement a new payroll system for a large retail organization that will take affect in 6 months. This new system would replace the current system where employees manually turn in time sheets to their supervisors at the end of each week with their hours worked. The new automated system would require finger print identification to clock in and out of the system.

In: Accounting

4. Marketing Research is very important particularly if company want to launch new products/ service to...

4. Marketing Research is very important particularly if company want to launch new products/ service to market, New market Opportunity, either expansion to new market. However some of products/service avoid to do marketing research, but in finally their success. Please give samples products /service in the past and clarifying why those brands/products still success

In: Operations Management

2. Consider these declarations: ArrayList stringList = new ArrayList(); String ch = “ ”; Integer intOb...

2. Consider these declarations: ArrayList stringList = new ArrayList(); String ch = “ ”; Integer intOb = new Integer(5);

For the following statements, indicate VALID or INVALID (invalid if the statement causes an error)

A. strList.add(ch); _______________

B. strList.add(new String(“handy andy”); ______________

C. strList.add(intOb.toString()); ____________

D. strList.add(ch + 8); _________________

E. strList.add(intOb + 8); ____________

In: Computer Science

1. The following data represent the scores on a test for 36 students in a Sociology...


1. The following data represent the scores on a test for 36 students in a Sociology class, followed by a stem plot for the data.

65 76 83 81 74 78 41 57 82 50 90 81 63 68 80 85 76 73 79 48 80 75 72 70 75 74 94 87 81 78 64 83 77 72 79 86

4 1 8 5 0 7 6 3 4 5 8 7 0 2 2 3 4 4 5 5 6 6 7 8 8 9 9 8 0 0 1 1 1 2 3 3 5 6 7 9 0 4   

X = ______________________________________________________

ON ALL OF THE FOLLOWING PROBLEMS, SHOW ALL WORK AND LABEL YOUR ANSWERS WITH THE APPROPRIATE UNITS. LABEL ALL AXES ON ANY GRAPHS.

a. Find: median mode(s) range





------------------------------------------------------------------------------------------------------------------------------------------- b. Find and interpret the value for Q1. Show all work.
value of Q1 interpretation







------------------------------------------------------------------------------------------------------------------------------------------- c. Find the values ONLY of Q3 and P85. Show all work.
value of Q3 value of P85



(#1 cont’d)
!!!! DON’T FORGET TO PUT UNITS ON YOUR ANSWERS AND LABEL AXES ON GRAPHS !!!!


d. Give a five-number summary e. Construct a box plot for the test scores. for the test scores.

position value
__________ _____________
__________ _____________
__________ _____________
__________ _____________ _____________________________________________
__________ _____________

----------------------------------------------------------------------------------------------------------------------------------------------- f. Calculate the fences and list the outlier(s) in this set of scores. Construct a modified box plot to clearly show the outlier(s).

calculations lower fence ___________
upper fence ___________
outliers ________________






-------------------------------------------------------------------------------------------------------------------------------------------- g. Construct a modified box plot to clearly show the outlier(s). Label ALL critical positions with their corresponding values.










___________________________________________________________________





2. A random sample of 8 of the tests was chosen and their scores are given below. Calculate the sample mean, the sample variance and the sample standard deviation. Show all work.

78 64 81 75 50 85 79 72

mean








--------------------------------------------------------------------------------------------------------------------------------------------------
variance   

























-------------------------------------------------------------------------------------------------------------------------------------------------- standard deviation




3. The five number summary and the modified box plot for a set of test scores are given below.

five number summary: 33 68 80 86 97

  

modified box plot: 68 80 86 33 38 40 44 _______________________ 97

* * * | | _______________________ ______________________________________________________________________________________ 30 40 50 60 70 80 90 100 test scores   


X = _____________________________________________________________



a. What percent of the students scored at least an 86? ________________


b. What percent of the scores is between 33 and 80? ________________


c. The score of 80 is which of the following? mean median Q1 Q3


d. What percent of the scores is 80 or less? ________________


e. The minimum score for this distribution is ____________ and the maximum is _____________ .


f. List all outliers. ___________________________________


g. What is the value of Q3? ______________


h. Find the fences. Show all work. lower _____________ upper _____________




4. The average height of a 6th grade boy is 58 inches with a standard deviation of 2 inches. The average height of a 9th grade boy is 65 inches with a standard deviation of 3 inches. Both height distributions are bell-shaped.

a. If a 9th grade boy is 60 inches, which of the following is true based on the z-score for his height? Show work.
_____ His height is 1.67 inches below the mean. _____ His height is 1.67 inches above the mean. _____ His height is 1.67 standard deviations below the mean. _____ His height is 1.67 standard deviations above the mean.
-------------------------------------------------------------------------------------------------------------------------------------------------- b. If a 6th grade boy is 55 inches, which of the following is true based on the z-score for his height? Show work.
_____ His height is 1.5 inches below the mean. _____ His height is 1.5 inches above the mean. _____ His height is 1.5 standard deviations below the mean. _____ His height is 1.5 standard deviations above the mean.
-------------------------------------------------------------------------------------------------------------------------------------------------- c. Who is taller for his age: the 55-inch tall 6th grade boy or the 60-inch tall 9th grade boy? _____ The 9th grader is taller because his height is farther from the mean than the 6th grader’s. _____ The 9th grader is taller for his age because 60 inches is greater than 55 inches. _____ The 6th grader is taller because his height is closer to the mean than the 9th grader’s. _____ The 6th grader is taller because his height is not as far below the mean as the 9th grader’s.

-------------------------------------------------------------------------------------------------------------------------------------------------- d. Using the Empirical Rule, approximately ______ percent of 9th grade boys have heights between 59 inches and 71 inches. Show work to support your answer.







-------------------------------------------------------------------------------------------------------------------------------------------------- e. Using the Empirical Rule, approximately 99.7% of 6th grade boys fall between heights of _______________ and ______________. Show work to support your answer

In: Statistics and Probability

Turn the following code into a chat system that can send messages CONTINUOSLY without the the...

Turn the following code into a chat system that can send messages CONTINUOSLY without the the other side needing to a response. Use a send and receive thread to allow this.

Client Side:

package com.company;

import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        byte[] receiveBytes = new byte[256];

        final String TERMINATE = "bye";
        final int SERVER_PORT = 8080;
        System.out.println("Client started. Type a message and hit Enter key to send the message to server.");
        try (Scanner sc = new Scanner(System.in); DatagramSocket ds = new DatagramSocket();) {
            // Get server address
            final InetAddress SERVER_ADDRESS = InetAddress.getLocalHost();
            DatagramPacket dataPacket = null;


            while (!ds.isClosed()) {
                String input = sc.nextLine();
                // Terminate the client if user says "bye"
                if (input.trim().equalsIgnoreCase(TERMINATE)) {
                    break;
                }


                // Construct Datagram packet to send message
                dataPacket = new DatagramPacket(input.getBytes(), input.getBytes().length, SERVER_ADDRESS, SERVER_PORT);
                ds.send(dataPacket);
                // Construct Datagram packet to receive message
                dataPacket = new DatagramPacket(receiveBytes, receiveBytes.length);
                ds.receive(dataPacket);
                System.out.println("Server Says:" + new String(receiveBytes, "UTF-8"));
            }
        } catch (SocketException | UnknownHostException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

Server side:

package com.company;


import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.util.Scanner;
import java.net.InetAddress;

public class Main {

    public static void main(String[] args) {



        InetAddress ip;
        String hostname;


        byte[] receiveBytes = new byte[256];
        final int SERVER_PORT = 8080;



        try (DatagramSocket ds = new DatagramSocket(SERVER_PORT); Scanner sc = new Scanner(System.in);) {

            ip = InetAddress.getLocalHost();
            hostname = ip.getHostName();
            System.out.println("Your current IP address : " + ip);
            System.out.println("Your current Hostname : " + hostname);
            System.out.println("Your current Port : " + SERVER_PORT);

            System.out.println("Server started. Waiting for client message...");

            while (!ds.isClosed()) {
                // Construct Datagram packet to receive message
                DatagramPacket dp = new DatagramPacket(receiveBytes, receiveBytes.length);
                ds.receive(dp);
                String dataString = new String(dp.getData(), "UTF-8");
                System.out.println("Client Says:" + dataString);
                String input = sc.nextLine();
                // Construct Datagram packet to send message
                DatagramPacket sendPacket = new DatagramPacket(input.getBytes(), input.getBytes().length,
                        dp.getAddress(), dp.getPort());
                ds.send(sendPacket);
            }
            ds.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

In: Computer Science

The following training dataset is “reading email dataset”. This dataset has four features as follows: author,...

  1. The following training dataset is “reading email dataset”.

This dataset has four features as follows: author, thread, length, and where to read the mail. According to the features the algorithm has to predict the user’s action whether to read or skip the mail.

Use Naïve Bayes classifier to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home.

Author

Thread

Length

Where to read

User’s Action

Known

new

long

home

Skips

unknown

new

short

work

Reads

unknown

Follow up

long

work

Skips

Known

Follow up

Long

Home

Skips

Known

New

Short

Home

Reads

Known

Follow up

Long

Work

Skips

Unknown

New

short

work

skips

Unknown

New

short

Work

reads

Known

Follow up

Long

Home

Skips

known

New

Long

Work

skips

unknown

Follow up

short

home

Skips

Known

new

Long

work

Skips

Known

Follow up

Short

Home

Reads

Known

New

Short

Work

Reads

known

New

short

Home

Reads

Known

Follow up

short

Work

Reads

Known

New

Short

home

Reads

unknown

new

short

work

Reads

  1. (35 points) Write a Python code to implement a naïve Bayesian classifier to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home. (Do not use Scikit-Learn)
  2. (35 points) Use Scikit-Learn to predict the user’s action (skips or reads) when the author of the mail is known, the thread of the mail is follow up, the length of the mail is short, and where to read the email is home.

Hint in authors feature you can use 0, 1 instead of unknown and known. In thread feature you can use 0, 1 instead of follow up and new. In length feature you can use 0, 1 instead of short and long. In where to read feature you can use 0, 1 instead of home, work. In the target you can use 0 instead of skips and 1 instead of reads.

In: Computer Science

Shelly's Boutiques and Crafts had revenue of $5,700,000 this year on sales of 575,000 units. Variable...

Shelly's Boutiques and Crafts had revenue of $5,700,000 this year on sales of 575,000 units. Variable costs were 35% and fixed costs totaled $3,150,000. Although the first five years were relatively profitable, increases in competition have led to a negative trend in profitability that has led them to the point where they have to make some changes to stay afloat. The company is evaluating two options to stay afloat.

Option 1: Purchase machinery to automate their operations. this machinery cost $625,000 but will decrease variable costs by 9%

Option 2: Outsource the production of one of their main components that requires a substantial amount of machinery and skilled labor. This will reduce fixed costs by $425,000, but increases variable costs from their current 35% of sales to 40% of sales.

a. determine break even points in units before changes. what is fixed cost total? what is the contribution margin per unit? what is the break even point in units?

b.) Assuming an income tax rate of 35%, what dollar value of sales is required to earn an after tax profit of $800,000 What before tax profit would be needed to earn an after tax profit of $800,000? what is the contribution margin raton? What dollar amount of sales would be required to earn the after tax profit described above?

c.) Calculate the operating leverage before applying any of the options: What is the contribution margin in Total? What is the operating income in total? what is the operating leverage factor?

d.) Calculate the break even point in units after applying Option 1: What is the new fixed cost in total? What is the new contribution margin per unit? What is the new break even point in units?

e.) Calculate the operating leverage after applying Option 1: What is the new contribution margin in Total? What is the new operating income in total? what is the new operating leverage factor?

f.) Calculate the break even point in units after applying Option 2: What is the new fixed cost in total? What is the new contribution margin per unit? What is the new break even point in units?

g.) Calculate the operating leverage after applying Option 2: What is the new contribution margin in Total? What is the new operating income in total? what is the new operating leverage factor?

In: Finance

Suppose that we have the following supply and demand functions for gumboots in a small, open...

Suppose that we have the following supply and demand functions for gumboots in a small, open economy called Finland:
QS=-30+2p QD =60–p
where QS and QD are measured in 1000’s of pairs of gumboots. The world price of
gumboots equals $25. Which of the following is TRUE?
1) The price of gumboots in Finland is $30 per pair. Finland will neither export nor import.
2) The price of gumboots in Finland is $25 per pair. Finland will import 15,000 pairs of gumboots.
3) The price of gumboots in Finland is $25 per pair. Finland will export 15,000 pairs of gumboots.
4) The price of gumboots in Finland is $25 per pair. Finland will neither export nor import.

Suppose that a small economy called New Zealand has the following supply and demand functions for washing machines:
QS =-1000+3p QD=3000–2p
Suppose the world price equals $400. If New Zealand wished to set a prohibitive tariff, then the per unit tariff would need to be at least
1) $100
2) $200
3) $400
4) $800


Suppose that we have the following inverse supply and inverse demand functions for gumboots in a small country called New Zealand:
p = 3 + 2QS and p = 21 – QD
where QS and QD are measured in 1000’s of pairs of gumboots. The world price of gumboots equals $11. New Zealand has a tariff equal to $6 per pair of gumboots. Which of the following is TRUE?
1) The price of gumboots in New Zealand is $15 per pair. New Zealand will neither export nor import.
2) The price of gumboots in New Zealand is $17 per pair. New Zealand will export 3,000 pairs of gumboots.
3) The price of gumboots in New Zealand is $17 per pair. New Zealand will import 3,000 pairs of gumboots.
4) The price of gumboots in New Zealand is $17 per pair. New Zealand will neither export nor import.

Suppose that we have the following supply and demand functions for a small country:
QS =-8+3p QD=20–p
Suppose the world price equals 3. If the country imposes a quota of 5 units then the terms of trade gain would be
1) 0
2) 5
3) 13.75
4) 15
Explain Step by step

In: Economics