Questions
A data table contains two variables. One is the 30-year fixed mortgage rate; it is measured...

A data table contains two variables. One is the 30-year fixed mortgage rate; it is measured as the best rate offered by a mortgage broker over the last 90 days. The second variable holds a column of integers, 1-40, that identify different brokers. The 40 largest mortgage brokers are included in the data table. The data will be used to understand lending practices of all mortgage brokers in the U.S. Please choose the correct answer from the brackets for the questions below:

Hint: Use pencil/paper to construct what the data table might look like.

  • The mortgage rate variable is ["nominal", "ordinal", "numeric"]     .
  • True or false: the coding convention of the mortgage rate variable is a rate or percentage. ["True", "False"]    
  • How many labeling variables are in the data table? ["0", "1", "2"]     
  • The periodicity of the observations is ["monthly", "quarterly", "weekly", "none of these is the correct answer"]  

In: Math

What it Looks Like to the User The program will loop, asking the user for a...

What it Looks Like to the User

The program will loop, asking the user for a bet amount from 0 to 100 (assume dollars, you can use ints or longs). If the user types a 0 that means she wants to quit. Otherwise, accept the amount as their bet and simulate a slot machine pull. Your program will print out a line that looks like a slot machine result containing three strings. Some examples are:  BAR 7 BAR, 7 7 cherries, cherries BAR space, space BAR BAR, or cherries cherries BAR.

  • Each of the three positions in the string could be one of the following: "BAR", "7", "cherries" or "space".
  • Each of the three output positions must be generated by your program randomly with probabilities:
    • space 1/2   (50%)
    • cherries 1/4 (25%)
    • BAR 1/8 (12.5%)
    • 7 1/8 (12.5%)
    • Therefore, space should be the most frequent symbol seen and BAR or 7 the least frequent.
  • The following combinations should pay the bet as shown (note ORDER MATTERS):
    • cherries [not cherries] [any] pays 5 × bet (5 times the bet)
    • cherries cherries [not cherries] pays 15 × bet
    • cherries cherries cherries pays 30 × bet
    • BAR BAR BARpays 50 × bet
    • 7 7 7 pays 100 × bet

The Data

It will contain three private member Strings as its main data: string1, string2, and string3.   We will also add a public static member which is to be a final int MAX_LEN set to 20. This represents the maximum length that our class will allow any of its strings to be set to. We can use MAX_LEN in the ThreeString method whose job it is to test for valid strings (see below).

Additionally, we want to keep track of the winnings in an array and then print them out at the end of the program. The static int array will be called pullWinnings and have a size equal to MAX_PULLS (a static final int), which will be set to 40.

boolean saveWinnings(int winnings), and String displayWinnings()

Create two more methods for the pullWinnings array. One will save the winnings from the round, boolean saveWinnings(int winnings), and the other will use a loop to get the values out of the array as well as the total winnings and return a string, String displayWinnings(). Call both methods from the main. saveWinnings() will return a boolean according to whether there was space to save the incoming value of winnings. If it returns false, then have the main stop playing the game. displayWinnings() should also be called from the main, where it will print the returned string.

Where it All Goes

You can create the ThreeString class as a non-public class directly in your client Assig2.java file. You type it directly into that file; do not ask Eclipse to create a new class for you or it will generate a second .java file which we don't want right now. In other words, the file will look like this:

import java.util.*;
import java.lang.Math;

public class Assig2
{ 
   // main class stuff ...
} 

class ThreeString
{ 
   // ThreeString class stuff ...
} 

As you see, ThreeString is to be defined after, not within, the Assig2 class definition. This makes it a sibling class, capable of being used by any other classes in the file (of which there happens to be only one: Assig2).

After writing this class, test it using a simple main() which instantiates an object, mutates the members, displays the object, etc. Don't turn this test in. It's part of your development cycle.

In: Computer Science

1.(0.5) IF WE ARE GIVEN THE POPULATION STANDARD DEVIATION AND n > 30 DO WE USE...

1.(0.5) IF WE ARE GIVEN THE POPULATION STANDARD DEVIATION AND n > 30 DO WE USE THE z-VALUES OR t-VALUES? We would use Z values

NOW SHOW WHAT YOU HAVE LEARNED SO FAR WITH DESCRIPTIVE AND INFERENTIAL STATISTICS.YOU ARE PROMOTING ONE I.T. EMPLOYEE AND HAVE TWO CANDIDATES THAT HAVE EACH TAKEN THE SAME 15 SECURITY EXAMS OVER THE PAST YEAR. YOU HAVE TWO FINALIST CANDIDATES WHO HAVE THE FOLLOWING SCORES. SO, WHICH ONE DO YOU PICK AND WHY? (EACH TEST HAD POSSIBLE SCORES RANGING FROM 0 TO 100)

We would consider candidate B due to the fact that he/she has a higher mean 83.13 vs candidate A who has a mean of 82.73 and a lower variance (26.12) vs A variance (280.07) that shows consistence

A

40

89

90

91

92

89

44

84

85

92

89

90

86

88

92

B

99

85

84

79

81

88

80

85

79

82

81

80

79

83

82

2.(0.5) DO YOU HAVE ANY QUESTION(S) FOR THESE TWO CANDIDATES RELATED TO THEIR SCORES? WHAT ARE THEY? AND, BASED ON THE ANSWERS TO THOSE QUESTIONS, WHAT MIGHT YOU DO REGARDING THESE DATA?

I might ask what was going on in candidate A school/personal life what caused them to get grades that were in the 40’s. There is more to a candidate than their quiz grades but from the numbers candidate B stands out as a stronger candidate based on test scores only. I would get to know each candidate in person well and look at the full picture.

3.(1) DO A SCATTER PLOT (RAW OR RANK-ORDERED: YOUR CHOICE) AND EXPLAIN HOW IT HELPS YOU MAKE A DECISION.

4.(1) DO A FREQUENCY (RELATIVE AND CUMULATIVE) TABLE AND EXPLAIN HOW IT HELPS YOU MAKE A DECISION.

5.(1) DETERMINE Q3 (75TH PERCENTILE) AND EXPLAIN HOW IT HELPS. ALSO, COULD ANY OTHER QUARTILE OR THE MODE OR ANY OTHER STATISTICS BE OF VALUE TO YOU IN MAKING YOUR DECISION? IF SO, CALCULATE THEM AND EXPLAIN HOW THEY HELP.  

6.(2) CALCULATE A 95% CONFIDENCE INTERVAL (? = 5% SO ?/2 = 2.5%) FOR EACH CANDIDATE AND BASED ON THEIR “OVERLAP”, WHICH CANDIDATE LOOKS BETTER AND WHY? (ARE YOU GOING TO USE z-VALUES OR t-VALUES? WHY?)

7. (a 0.5) IF OUR CLASS WERE GRADED BASED ON A “NORMAL”, BELL-SHAPED DISTRIBUTION, WHAT THEORETICAL PERCENT AND HOW MANY ACTUAL STUDENTS OF THE 24 IN THIS CLASS SHOULD PASS (+OR – ONE SD). HOW MANY SHOULD GET A’s AND B”S, D’s AND F’s ?

(b 0.5) MAKING THIS MORE REALISTIC, IF THE AVERAGE POINTS WERE 65 WITH AN SD OF 5, AND YOU NEED TO BE IN THE TOP 10% TO PASS, HOW MANY POINTS DO YOU HAVE TO HAVE?

8. (1) THE MARGIN OF ERROR (BOUNDARY) FOR A PROPORTION:   EBP = z * ? [(p’*q’) / n ]. IF WE KNOW THE EBP, AND THE PROBABILITIES OF EVENTS p’ AND q’ OCCURRING, WE CAN DETERMINE THE NECESSARY SAMPLE SIZE. LET’S SAY THAT THE EBP = 7% AND THAT p’ = 40% AND q’ = 60% (REMEMBER THAT p’ AND q’ MUST ADD UP TO 1.00 OR 100%)

CALCULATE THE NECESSARY SAMPLE SIZE (n) USING THESE NUMBERS. (HINT: CAN’T USE %’s, NEED TO CONVERT THEM TO DECIMAL FRACTIONS) ALSO, WHEN NO ALPHA VALUE IS GIVEN AS HERE, ASSUME ? =5% (BUT, DO WE USE ?/2 HERE SINCE IT’S A CI?)

In: Statistics and Probability

For each of the following independent situations, you are in the planning phase of the audit...

For each of the following independent situations, you are in the planning phase of the audit and have come across with the following information:

1. B&S is a merchandising company. The company has been doing business in Australia for the last 20 years. The accountant of B&S has been notorious for finding gaps in the legislations in order to make its clients’ financial statements look presentable as desired by the clients themselves. In the past few years, B&S has always been required by the Australian Tax Office to provide additional supporting information after the lodgement of its tax returns.

2. Zen runs a chain of superstores in Australia. Zen is highly dependent on the IT system to run its transaction processes with the suppliers. Moreover, to save time, each of Zen’s individual stores can raise their own inventory requisition without any authorisation from the central purchase department.

3. Neptune manufactures generators for domestic users. Seven years ago Neptune manufactured a generator far superior to any of its competitors at half the price. It has therefore dominated the market over the past few years. However, recently one of Neptune’s main competitors introduced a new generator to the market. It can produce electricity at twice the amount of Neptune’s generator by spending same amount of fuel and hence is superior to Neptune’s generator. However, Neptune’s CEO is quite optimistic about the whole situation. He told you that a pricing strategy will soon be implemented to defeat the respective competitor with a lower price.

4. Thomson has planned to close an inefficient factory in country New South Wales before the end of current year. It is expected that the redeployment and disposal of the factory’s assets will not be completed until the end of the following year. However, the financial controller is confident that he will be able to determine reasonably accurate closure provisions.

5. To help achieve the budgeted sales for the year, Richardson is about to introduce bonuses for its sales staff. The bonuses will be an increasing percentage of the gross sales made, by each salesperson, above certain monthly targets.

Required: For each of the scenarios above, explain how the components of audit risk (inherent, control or detection risk) are affected.

In: Accounting

1. A _______ is a long-term debt instrument that promises to pay interest periodically as well...

1. A _______ is a long-term debt instrument that promises to pay interest periodically as well as a principal amount at maturity to the investor. (answer is one word, four letters)

2. The rate used to determine the amount of cash the investor receives is the ______ rate. (answer is one word, six letters)

3. The interest rate bond investors expect for their investment is the ______ i rate of interest. (answer is one word, six letters)

4. A company issues 10% bonds at a time when other bonds of similar risk are paying 12%. These bonds will sell at a ________________. (one word, eight letters)

5. A company issues 10% bonds at a time when other bonds of similar risk are paying 8%. These bonds will sell at a ________________. (one word, seven letters)

6. Payment for the use of money is  (one word, 8 letters)

7. A series of equal dollar amounts to be paid or received at evenly spaced time intervals is a (or an)  

-discount

-future value

-present value

-annuity

8. For a single payment: what is the present value factor for four periods at a discount rate of 11%?

9. For a single payment: what is the present value factor for sixteen periods at a discount rate of 10%?

10. For a single payment: what is the present value factor for one period at a discount rate of 10%?

11. For an annuity: what is the present value factor for nine periods at a discount rate of 12%?

12.For an annuity: what is the present value factor for twenty periods at a discount rate of 8%?

13. For an annuity: what is the present value factor for five periods at a discount rate of 8%?

In: Accounting

company, claims that the sales representatives makes an average of 20 calls per week on professors....

company, claims that the sales representatives makes an average of 20 calls per week on professors. Several representatives say that the estimate is too low. To investigate, a random sample of 28 sales representatives reveals that the mean number of calls made last week was 44 and variance is 2.41.

Conduct an appropriate hypothesis test, at the 5% level of significance to determine if the mean number of calls per salesperson per week is more than 40.

(a)     Provide the hypothesis statement

(b)     Calculate the test statistic value

(c)     Determine the probability value

(d) Provide an interpretation of the P-value

In: Statistics and Probability

It is claimed that the mean viscosity of product 2 is less than the mean viscosity...

It is claimed that the mean viscosity of product 2 is less than the mean viscosity of product 1. To test this claim 18 samples are taken from each products and average viscosities are measured as 10.57 and 10.51. It is known that the standard deviation of both products are 0.1. If you test the claim at 0.05 what would be the test statistics.

========================================================================================================

The length of a day (X) and the electricity usage(Y) for that day recorded. Measuremenst for five days are given in the table below. Calculate the correlation of X and Y.

You want to test whether the correlation is different than 0 or not at 5%significance. If you perform correlation test, what would be your calculated t-test statistics?

=================================================================

An automobile manufacturer claims that the variance of the fuel consumption for its hybrid vehicles is more than the variance of the fuel consumption for the hybrid vehicles of a top competitor. A random sample of the fuel consumption of 10 of the manufacturer's hybrids has a variance of 0.77. A random sample of the fuel consumption of 14 of its competitor's hybrids has a variance of 0.24. At α= 0.05 you would like to test claim. What will be your calculated test statistics?

-----------------------------------------------------------

Three washing machines are being compared. They have been used multiple times to clean different dirty cloth piles. Their effectiveness are measured and scaled from 0..100. Then One way ANOVA test performed. The ANOVA table is given below. After finding the values for (*), What would be the estimate for the standard deviation of measurement errors?

---------------------------------------------------------

In an analysis of variance (ANOVA) problem involving 3 groups and 10 observations per group, SSE = 399.6. The MSE for this situation is

-----------------------------------------

An automobile manufacturer claims that the fuel consumption for its hybrid vehicles is uniformly distributed between 50 mpg and 60 mpg. A random sample of the manufacturer's hybrids (40 cars) are taken and the fuel consumptions are measured. 16 of the vehicles had fuel consumption between 50-54 mpg, 8 of them had between 54-56, 14 of them had between 56-58 and 12 of them had between 58-60 mpg. We test the claim at α =0.05.

We found that test statistic is less than table value. What does that mean

----------------------------------------

An automobile manufacturer claims that the fuel consumption for its hybrid vehicles is uniformly distributed between 50 mpg and 60 mpg. A random sample of the manufacturer's hybrids (40 cars) are taken and the fuel consumptions are measured. 16 of the vehicles had fuel consumption between 50-54 mpg, 8 of them had between 54-56, 14 of them had between 56-58 and 12 of them had between 58-60 mpg. We test the claim at α =0.05.

We found that test statistic is less than table value. What does that mean

-----------------------------------------------------

An automobile manufacturer claims that the variance of the fuel consumption for its hybrid vehicles is more than the variance of the fuel consumption for the hybrid vehicles of a top competitor. A random sample of the fuel consumption of 10 of the manufacturer's hybrids has a variance of 0.77. A random sample of the fuel consumption of 14 of its competitor's hybrids has a variance of 0.24. At α= 0.05 you would like to test claim. Therefore what is your table value?

-------------------------------------------------------------------

An automobile manufacturer claims that the fuel consumption for its hybrid vehicles is uniformly distributed between 50 mpg and 60 mpg. A random sample of the manufacturerâ s hybrids are taken and the fuel consumptions are measured. 16 of the vehicles had fuel consumption between 50-54 mpg, 8 of them had between 54-56, 14 of them had between 56-58 and 12 of them had between 58-60 mpg. If we want to test the claim at ï ¡=0.05 what would be critical value?

==========================

An engineer want to compare the performance of two machines.

Machine one produced average of 15 pcs/day in 10 days.

Machine two produced on the average 17 pcs/day in 12 days.

We know the standard deviations of these machines.The standard deviations are 2 pcs/day and 2.3 pcs/day respectively.

At %4 significance level, to test whether their means are equal or not; which test should engineer use?
The mean deflection temperature under load for two different types of plastic pipe is being investigated. Two random samples of 4 pipe specimens are tested, and the deflection temperatures observed are as follows (in °C):

Type 1

97

87

98

90

Type 2

80

92

95

93

We want to test the claim that the deflection temperature under load for type 1 pipe exceeds that of type 2!

So What would be the correct hypothesis?

``````````````````````````````````````````````````````````````

You analyze Covid-19 deaths. You want to test whether the death ratios for pre-existing medical conditions are affected by gender. The collected data is given in a table. If you want to test dependency at 10% significance what would be critical (table) value?

Pre-exixting Conditions

Male

Female

Cardiovascular disease

18

12

Diabetes

14

6

Chronic respiratory disease

8

7

Hypertension

10

5

Cancer

14

6

`````````````````````````````

Three washing machines are being compared. They have been used multiple times to clean different dirty cloth piles. Their effectiveness are measured and scaled from 0..100. Then One way ANOVA test performed. The ANOVA table is given below. After finding the values for (*), What would be the Mean Square Error for errors?

ANOVA

            
Sources

SS

Df

MS

F

Between

*

*

4

*

Within group

*

6

*


               
Total

16

8

In: Statistics and Probability

McGilla Golf has decided to sell a new line of golf clubs. The clubs will sell...

McGilla Golf has decided to sell a new line of golf clubs. The clubs will sell for $810 per set and have a variable cost of $410 per set. The company has spent $151,000 for a marketing study that determined the company will sell 55,000 sets per year for seven years. The marketing study also determined that the company will lose sales of 9,600 sets of its high-priced clubs. The high-priced clubs sell at $1,110 and have variable costs of $710. The company will also increase sales of its cheap clubs by 11,100 sets. The cheap clubs sell for $450 and have variable costs of $235 per set. The fixed costs each year will be $9,110,000. The company has also spent $1,120,000 on research and development for the new clubs. The plant and equipment required will cost $28,770,000 and will be depreciated on a straight-line basis. The new clubs will also require an increase in net working capital of $1,310,000 that will be returned at the end of the project. The tax rate is 40 percent, and the cost of capital is 10 percent.

    

Suppose you feel that the values are accurate to within only ±10 percent. What are the best-case and worst-case NPVs? (Hint: The price and variable costs for the two existing sets of clubs are known with certainty; only the sales gained or lost are uncertain.) (A negative answer should be indicated by a minus sign. Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16.)

   

                     NPV
  Best-case $   
  Worst-case $   

In: Finance

Assembly language please Test Score Evaluation Create a procedure named CalcGrade that receives an integer value...

Assembly language please

Test Score Evaluation
Create a procedure named CalcGrade that receives an integer value between 0 and 50, and returns a single capital letter in the AL register. Preserve all other register values between calls to the procedure. The letter returned by the procedure should be displayed and should be according to the following
ranges:

Score 45 to 50 Grade A
Score 40 to 44 Grade B
Score 35 to 39 Grade C
Score 0 to 34 Grade F

Write a test program that

1. asks the user to enter integer between 0 and 50, inclusive. If the user enters invalid number, please display error message.

2. Pass it to the CalcGrade procedure.

3. Repeat steps 1 and 2 three times so that you collect three scores from the user and display the respective grade for each score.

In: Computer Science

QUESTION TWO                                           

QUESTION TWO                                                                                                                               [20]

Onta Enterprises is seeking to expand operations and is considering increasing production capacity by purchasing the latest plant and equipment. The following two plants are being considered for acquisition as they are technically superior to the current plant and will enable higher production volumes with lower cost inputs. The finance department has projected the cash flows for the life of the plant and has asked you as the investment manager to advise the Board on which of these plants to acquire. Onta’s current cost of capital is 12%.

The following information relates to the two plants that are being considered:

Plant Alpha

Plant Beta

Initial cost

R550 000

R 400 000

Expected useful life

4 years

4 years

Depreciation

R137 500 p.a.

R100 000 p.a.

Net cash inflows

Net cash inflows

Net profit

Expected net cash inflows

R

R

R

1st year

2nd year

3rd year

4th year

180 000

190 000

210 000

160 000

130 000

130 000

130 000

130 000

30 000

30 000

30 000

30 000

Calculate the:

2.1       Payback Period for both plants. (Answers must be expressed in years, months and days.)                                                                                                                                                       (6)

2.2       Accounting Rate of Return for Plant Beta on initial investment.                                             (4)

2.3       Net Present Value of each plant. (Round off amounts to the nearest Rand.)             (9)

2.4       Based on your results in 2.1.3 which plant should be accepted?                                           (1)

In: Finance