Questions
A manufacturing company is measuring the diameter of a ball bearing in mm by 12 inspectors,...

A manufacturing company is measuring the diameter of a ball bearing in mm by 12 inspectors, each using two different kinds of calipers to test the difference between the sample means of the two calipers used. Data is shown below. Use excel to resolve.

a) Use t-test to check if there is a significant difference between the means of the population of measurements from which the two samples were selected? Use α = 0.01, 0.05, 0.1 and comment on the results.

b) Find the P-value for the test in part (a).

Inspector Caliper 1 Caliper 2
1 0.473 0.518
2 0.512 0.552
3 0.518 0.545
4 0.492 0.521
5 0.484 0.511
6 0.512 0.492
7 0.513 0.558
8 0.536 0.545
9 0.481 0.5
10 0.533 0.575
11 0.536 0.554
12 0.538 0.515

In: Statistics and Probability

STAT 14_3: Ronit has a box with beads. The beads are opaque or transparent and available...

STAT 14_3:

Ronit has a box with beads. The beads are opaque or transparent and available in several colors.
The probability of a random bead being red is 0.3. The probability of a bead being transparent is 0.6.
Of the red beads - the probability of a random bead being transparent is 0.5.

a. Remove 8 beads from the box at random and upon return. What is the probability that exactly two of them will be red?

b. Take beads out of the box accidentally and on return until you first remove a transparent bead
i. What is the probability of getting more than 4 beads?
ii. The first two beads taken out were not transparent. What is the probability of getting 7 beads out of the box?

c. Remove 10 beads from the box at random and upon return. What is the probability that exactly three of them will be red and transparent, two opaque and red and 5 transparent and red?

In: Statistics and Probability

you have $100 to invest in two different investment projects, A and B, the total returns...

you have $100 to invest in two different investment projects, A and B, the total returns from which (TR and TR) are given below. the cost of purchasing a unit of investment in each project is $10 per unit. your problem is to invest the $100 in the two invest the $100 in the two investments so as to maximize your total return (for example, if you invested the entire $100 in investment B, you would receive a total return of $105.) what is the general principle that defines the maximizing allocation of the $100 among the investment options?

# units TR A TR B
1 $20 $15
2 38 29
3 54 42
4 68 54
5 80 65
6 90 75
7 98 84
8 104 92
9 108 99
10 110 105

In: Economics

Module 6 Worksheet: Chapter 10 Capital Budgeting – Complete in Excel Please complete the following and...

Module 6 Worksheet: Chapter 10 Capital Budgeting – Complete in Excel

Please complete the following and upload this to the drop box by Sunday 11:55PM

  1.        A project has and initial cost of $32,000, expected net cash inflows of $9,500 per year for 7 years, and a cost of capital of 10%.
    1.        What is the project’s NPV?
    2.        What is the project’s IRR?  
    3.        What is the projects payback period?

  1.           Your division is considering two investment projects, each of which requires an up-front expenditure of $20 million. You estimate that the investments will produce the following net cash flows:

Year                       Project A              Project B

1                              $5,000,000           $20,000,000

2                              10,000,000           10,000,000

3                              20.000.000           6,000,000

  1.        What are the two project’s NPVs assuming the cost of capital is 8%, 14%, 20%?
  2.        What are the two projects’ IRRs at those same costs of capital?

In: Finance

There are two candidate RNAs for COVID-19 diagnosis: RNA1, RNA2. Canadian Disease Control Center carried out...

There are two candidate RNAs for COVID-19 diagnosis: RNA1, RNA2. Canadian Disease Control Center carried out a clinical trial to check the expression levels for these two RNAs in the subjects with the virus infection: one group of 50 randomly recruited subjects has no critical symptoms; and the other group of 50 subjects has symptoms. After normalization, RNA1 expression levels follow a normal distribution N(0,1) for no-symptom subjects while N(1,1) for subjects with symptoms requiring hospitalization. For RNA2, the corresponding expression levels in nonsymptom subjects and subjects with symptoms follow normal distributions N(0,1) and N(-1,1), respectively.

a. For one breast cancer patient with normalized RNA1 expression level at 2, what is the log-likelihood ratio (LLR) of this patient being diagnosed to be hospitalized? (3 pts)


b. Taking naive Bayes classifier, if we know RNA1=2, RNA2 = 1, what will be the naive Bayes score of the patient being hospitalized? (3 pts)



c. What is the basic assumption of naive Bayes classifier? Under what situations, it may be problematic? (4 pts)

In: Statistics and Probability

a) Compute the indicated quantity. P(A | B) = .1, P(B) = .4. Find P(A ∩...

a) Compute the indicated quantity.

P(A | B) = .1, P(B) = .4. Find P(A ∩ B).

P(AB) =

b)Compute the indicated quantity.

P(A) = .1, P(B) = .2. A and B are independent. Find P(A ∩ B).

P(AB) =

c)Find the conditional probability of the indicated event when two fair dice (one red and one green) are rolled. HINT [See Example 1.]

The red one is 1, given that the sum is 7.

In: Statistics and Probability

The textbook basically says that the general addition rule is when A and B are two...

The textbook basically says that the general addition rule is when A and B are two events in a probability experiment. The probability that either one of the events will occur is: P (A or B) = P (A) + P (B) – P (A and B). For example, if you take out a single card from a pack of cards, what is the probability that the card is either an ace or spade? Therefore, P(A) = 4/52, P (B) = 13/52, and P (A and B) = 1/52. P (A or B) = 4/52 + 13/52 – 1/52. P (A or B) = 4/13. Conditional Probability is the probability of one event (A) occurring with a relationship to another event (B). For example, in a sample of 40 vehicles, 18 are red, 6 are trucks, and 2 are both. Suppose that a randomly selected vehicle is red. What is the probability it is a truck? P(truck|red) = P (truck and red) / P (red). P (truck|red) = 2/40 = 18/40 = 2/18 = 1/9 or .11. So, if we must find the probability of an event which will occur given that another event has occurred, we will use conditional probability. If two events are mutually exclusive (no chance of things happening together) and you want to find the probability that an event A or B happens, we will use general addition rule.

"So we could use the general addition rule in the general election (in November elections) and use conditional probability in the primaries?"

In: Statistics and Probability

Problem You have developed an application for the task of registering crop information and have now...

Problem

You have developed an application for the task of registering crop information and have now been given crop data for analysis. The crop data includes the (x, y) coordinates of a robotic weed scanner (or unmanned ground vehicle (UGV) ) as it moves through a crop. Your task is to develop a console based representation of the movement patterns of the robotic scanner. Along side coordinates, the robot has also reported weed classification results for each (x, y) coordinate. The weed identification algorithms is using a lot of resources and for this reason graphics will be avoided in place of a console representation.

The robot is programmed to move on a grid and has an algorithm that converts GPS coordinates into a grid based system. In this scenario the robot will start moving at location (0, 0) and can move 1 space at a time in the x and y dimensions. That is, it can only increment x and/or y by 1 at each step. You will not need to implement this part, a text based data file will be provided to you. Location (0, 0) will be set to the top left hand corner and the grid will be set to a fixed width and height of 10 x 10 units. The text file will contain coordinates on each line with a 3 integer classification result (x, y, R1, R2, R3).  The result will require processing through a single artificial neuron based classifier, the neuron will contain 3 weights to match the 3 integers of the result.

This calculation through the neuron can be expressed:

Class = Round(R1 X W1 + R2 X W2 + R3 X W3)

The calculation should produce a result between 0 and 1, rounding will then produce 1 when the number is greater than 0.5 and 0 if it is below, for this you can use pythons inbuilt round function. Class 1 in this case will be a weed and class 0 will be no weed detected. The round function is being used in place of a step based activation function, typically depicted as g(.).

To complete this task, you will need to develop three functions that process and display the results in a console based grid. The first function will take a file name and return a 10x10 list of lists containing and representing the values from each line of the text file (x, y, R1, R2, R3). This function will be called read_file (described below) and will take 1 parameter (the file name). The result values (R1, R2, R3) will need to be stored as a list as well, this creates what is essentially a list of lists of lists. While this does sound complex, it can be created by appending the list results at each 2 dimensional index of a 2 dimensional list, which can be initialised as an empty list for each potential location in a 10x10 grid. The index will be the x and y values, that is, the first 2 values from each line of the text file.

Example, for a single set of values (1, 1, 4, 9, 1):

coord_results[x][y] = [R1, R2, R3]

or

coord_results[1][1] = [4,9,1]

Where coord_results is a 10x10 list of lists (or 2 dimensional list).

Parameter name Description
file_name String text name of the data file

The second function will be called classify and will take the 3 result values and multiply them by their associated weight value. Using 3 iterations of a loop the values can be added together and rounded to produce a classification result. This function will take two parameters, a 3 float weight list and a 3 integer result. After the calculation the rounded result can be returned as an integer.

Parameter name Description
weights A float list containing 3 weight values
result An integer list containing an individual set of 3 result values

The third function will be called display_results and this function will display the text based grid in the console. A text data file and the expected output is depicted below. The function will print 1 line of the grid at a time in a loop and will require a nested loop to loop through all possible locations in the grid (all x and all y). Inside the nested loops you will need to check a set of conditions. If the index (x,y) has an empty list (meaning the robotic scanner did not pass over it) two spaces will be drawn. If the classify function returns 1 on the result for the coordinate an ' x' will be drawn, otherwise a full stop will be drawn (' .').

Parameter name Description
coord_results A list of lists containing the (x, y, R1, R2, R3) for each line of the text data file
weights A float list containing the 3 weight values

The three weight values that you will need to store in your application are provided below, these weights have been determined using a machine learning method to produce accurate classification.

An example data file is provided below with results displayed.

Note that program specifications are not always clear. If you are uncertain about any aspect, you are typically better off asking than making assumptions. Please use the appropriate discussion forum to ask for clarification, if required.

Example Interactions

Given the following list of weights:

0.03
0.04
0.03

Given the following text file (attached below - crop1.dat):

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

Your display output should display the following output.

 x                   
   x . x             
         .           
           .         
             . .     
                 .   
                   x 
         . . x     . 
       .       .   . 
     .           x . 

In: Computer Science

SmartAuto Manufacturing is engaged in the production of replacement parts for automobiles. One plant specializes in...

SmartAuto Manufacturing is engaged in the production of replacement parts for automobiles. One plant specializes in the production of two parts: Part #127 and Part #234. Part #127 produced the highest volume of activity, and for many years it was the only part produced by the plant. Five years ago, Part #234 was added. Part #234 was more difficult to manufacture and required special tooling and setups. Profits increased for the first three years after the addition of the new product. In the last two years, however, the plant faced intense competition, and its sales of Part #127 dropped. In fact, the plant showed a small loss in the most recent reporting period.

Much of the competition was from foreign sources, and the plant manager was convinced that the foreign producers were guilty of selling the part below the cost of producing it. The following conversation between Patricia Wang, plant manager, and James Tin, divisional marketing manager, reflects the concerns of the division about the future of the plant and its products.

JAMES:           You know, Patricia, the divisional manager is real concerned about the plant's trend. He indicated that in this budgetary environment, we can't afford to carry plants that don't show a profit. We shut one down just last month because it couldn't handle the competition.

PATRICIA:      James, you and I both know that Part #127 has a reputation for quality and value. It has been a mainstay for years. I don't understand what's happening.

JAMES:           I just received a call from one of our major customers concerning Part #127. He said that a sales representative from another firm offered the part at $20 per unit – $11 less than what we charge. It's hard to compete with a price like that. Perhaps the plant is simply obsolete.

PATRICIA:      No. I don't buy that. From my sources, I know we have good technology. We are efficient.

And it's costing a little more than $21 to produce that part. I don't see how these companies can afford to sell it so cheaply. I'm not convinced that we should meet the price. Perhaps a better strategy is to emphasize producing and selling more of Part #234. Our margin is high on this product, and we have virtually no competition for it.

JAMES:           You may be right. I think we can increase the price significantly and not lose business. I called a few customers to see how they would react to a 25 percent increase in price, and they all said that they would still purchase the same quantity as before.

PATRICIA:      It sounds promising. However, before we make a major commitment to Part #234, I think we had better explore other possible explanations. I want to know how our production costs compare to those of our competitors. Perhaps we could be more efficient and find a way to earn our normal return on Part #127. The market is so much bigger for this part. I'm not sure we can survive with only Part #234. Besides, my production people hate that part. It's very difficult to produce.

After her meeting with James, Patricia requested an investigation of the production costs and comparative efficiency. She received approval to hire a consulting group to make an independent investigation. After a three-month assessment, the consulting group provided the following information on the plant's production activities and costs associated with the two products:

Part #127

Part #234

Production

      500,000

      100,000

Selling price

        $31.86

        $24.00

Prime cost per unit

         $9.53

          $8.26

Number of production runs

            100

             200

Receiving orders

            400

          1,000

Machine hours

      125,000

        60,000

Direct labor hours

      250,000

        22,500

Engineering hours

         5,000

          5,000

Material moves

            500

             400

* Calculated using a plantwide rate based on direct labor hours. This is the current way of assigning the plant's overhead to its products.

The consulting group recommended switching the overhead assignment to an activity-based approach. It maintained that activity-based cost assignment is more accurate and will provide better information for decision making. To facilitate this recommendation, it grouped the plant's activities into homogeneous sets with the following costs:

Overhead:

Setup costs

        $    240,000

Machine costs

           1,750,000

Receiving costs

           2,100,000

Engineering costs

           2,000,000

Materials-handling costs

             900,000

Total

       $ 6,990,000

Part 1: Compute overhead and gross margin using traditional costing.

Part 2: Select the best cost driver and compute overhead rates for each cost pool.

Part 3: Compute overhead and gross margin using Activity-based costing.

Part 4: Increase in price for Product 234 by 25%.

Part 5: Two reasonable recommendation to improve profitability (Explain)

In: Accounting

(Scenario analysis) Family Security is considering introducing tiny GPS trackers that can be inserted in the...

(Scenario analysis) Family Security is considering introducing tiny GPS trackers that can be inserted in the sole of a​ child's shoe, which would then allow for the tracking of that child if he or she was ever lost or abducted. The​ estimates, that might be off by 8 percent​ (either above or​ below), associated with this new product are shown ​ here:  

Unit price:   $121
Variable costs:   $73
Fixed costs:   $255,000 per year
Expected sales:   10,600 per year

Since this is a new product​ line, you are not confident in your estimates and would like to know how well you will fare if your estimates on the items listed above are 8 percent higher or 8 percent lower than expected. Assume that this new product line will require an initial outlay of ​$1.03 ​million, with no working capital​ investment, and will last for 10 ​years, being depreciated down to zero using​ straight-line depreciation. In​ addition, the​ firm's required rate of return or cost of capital is 10.5 ​percent, and the​ firm's marginal tax rate is 34 percent. Calculate the​ project's NPV under the​ "best-case scenario"​ (that is, use the high estimates- unit price 8 percent above​ expected, variable costs 8 percent less than​ expected, fixed costs 8 percent less than​ expected, and expected sales 8 percent more than​ expected). Calculate the​ project's NPV under the​ "worst-case scenario."

The NPV for the​ best-case scenario will be ​$

The NPV for the​ worst-case scenario will be ​$

In: Finance