Suppose you are going to randomly sample one individual from a population of 130 people. In the population, there are 40 children 12 or younger, 60 teenagers, and 30 adults age 20 or older. What is the probability the individual you select will be...
a. Either a teenager or an adult?
b. Either a child or a teenager?
c. Either a child or an adult?
In: Statistics and Probability
Need C and D the most others are mainly for reference
4. An outbreak of gastroenteritis occurred at a liberal arts college with a student enrollment of 1164. Forty-seven (47) students had sought care at the college Health Center between 10:30 p.m. on January 17 and 8:00 p.m. on January 18. The ill students seen at the Health Center all lived in dormitories totaled 756. The dormitory of residence of the 47 known cases, as well as the population and gender of the occupants of each dormitory is shown in the table below:
Dormitory Gender Pop. Of Dormitory Number of Cases______
1 F 80 19
2 F 62 2
3 F 89 0
4 F 61 1
5 F 53 5
6 F 35 0
7 F 63 0
8 F 103 4
9 M 35 1
10 M 37 0
11 M 34 1
12 M 62 13
13 M 32 1
14 M 10 0
_________________________________________________________________
Use the above information to answer the following:
(a) Calculate the combined attack rate of the two most affected dormitories.
(b) Calculate the attack rate for the remaining 12 dormitories.
(c) Compare the attack rates calculated in “a” and “b” above. Explain this ratio.
(d) What proportion of the cases were in the two most affected dormitories? Total number cases in two over total number affected
(e) Calculate and compare the sex-specific rates for the dormitories population.
In: Biology
An outbreak of gastroenteritis occurred at a liberal arts college with a student enrollment of 1164. Forty-seven (47) students had sought care at the college Health Center between 10:30 p.m. on January 17 and 8:00 p.m. on January 18. The ill students seen at the Health Center all lived in dormitories totaled 756. The dormitory of residence of the 47 known cases, as well as the population and gender of the occupants of each dormitory is shown in the table below:
Dormitory Gender Pop. Of
Dormitory Gender Pop. Of Dormitory Number of Cases______
1 F 80 19
2 F 62 2
3 F 89 0
4 F 61 1
5 F 53 5
6 F 35 0
7 F 63 0
8 F 103 4
9 M 35 1
10 M 37 0
11 M 34 1
12 M 62 13
13 M 32 1
14 M 10 0
Need (C) the most
(a) Calculate the combined attack rate of the two most affected dormitories.
(b) Calculate the attack rate for the remaining 12 dormitories.
(c) Compare the attack rates calculated in “a” and “b” above. Explain this ratio.
(d) What proportion of the cases were in the two most affected dormitories? Total number cases in two over total number affected
(e) Calculate and compare the sex-specific rates for the dormitories population
In: Statistics and Probability
Question 5 – Subsequent Events
WYN Limited (trading as Import Warehouse) is an audit client with a
31 March year end (balance date). As part of your accelerated
professional development, your audit engagement partner has asked
you to review the following four transactions and events that
happened after 31 March but before the financial report declaration
was made by the Directors and she signed the audit report (8
June).
For each transaction or event, your audit partner has asked you
to:
• present your judgement about the type of subsequent event being
illustrated and therefore how we would expect to the client has
treated it in their financial report; (1 mark each)
• indicate two types of audit procedure that should have brought
the matter to our attention as audit engagement team members (she
requires this in order to include these examples as part of future
professional development activities). (2 marks each)
(a) 5 April: Import Warehouse settled and paid a wrongful dismissal
claim with a former employee that had been disclosed as a
contingent liability at year-end. The claim was lodged in October
of last year.
Type of subsequent event:
Two types of audit procedure bringing transaction/event to our
attention:
(b) 10 April: Import Warehouse received a shipment of goods from
China that had been sent on 3 January from the supplier’s
warehouse. Import Warehouse terms of trade with that supplier
specify title (ownership) passes on shipment.
Type of subsequent event:
Two types of audit procedure bringing transaction/event to our
attention:
(c) 20 May: One of Import Warehouse’s 15 company owned outlet
stores (each of similar size and inventory holdings) suffered
severe storm damage to the building and inventory. Insurance
covered the building, but only 40% of the damaged inventory.
Type of subsequent event:
Two types of audit procedure bringing transaction/event to our
attention:
(d) 1 June: As part of an expansion strategy, the company paid cash
for a controlling interest in Onliner to provide an expected
additional 50% sales volume.
Type of subsequent event:
Two types of audit procedure bringing transaction/event to our
attention:
In: Accounting
Write a Java program (name it LargestOccurenceCount) that reads from the user positive non-zero integer values, finds the largest value, and counts it occurrences. Assume that the input ends with number 0 (as sentinel value to stop the sentinel loop). The program should ignore any negative input and should continue to run.
Hint: to remember/save entered (good) values, you can concatenate them into a string (separated by spaces) that you can output later on.
Sample runs showing input prompts and outputs are (DO NOT read inputs as String type):
Enter positive integers (0 to quit): 3 4 5 -9 4 2 5 1 -5 2 5 0
You entered: 3 4 5 4 2 5 1 2 5
Largest value: 5
Occurrences: 3 times
Enter positive integers (0 to quit): 3 7 5 -4 4 2 -5 5 1 7 7 0
You entered: 3 7 5 4 2 5 1 7 7
Largest value: 7
Occurrences: 3 times
Document your code, and organize and space out your outputs as shown. Design your program such that it allows the user to re-run the program with different inputs in the same run (i.e., use a sentinel loop structure).
In: Computer Science
Match the rules for rejecting H0 at the right to the following tests
For any test hypothesis, ANOVA, or Chi Squared, this rule for rejecting H0 always applies
One-tail test with lower reject region
One-tail test with upper reject region
Two-tail test with lower and upper reject regions
Key:
1 test statistic > positive critical value
2 test statistic < negative critical value
3 test statistic outside interval (negative critical value, positive critical value)
4 pvalue <
In: Statistics and Probability
7. A major airline keeps track of data on how their passengers redeem frequent flyer miles. They found that in the last year 58% of passengers redeemed them to purchase tickets for domestic travel, 44% redeemed them to purchase tickets for international travel, and that 16% redeemed them to purchase tickets for both domestic and international travel.
a. What is the probability that in the last year a passenger redeemed frequent flyer miles to purchase a ticket for domestic or international travel?
b. What is the probability that in the last year a passenger did not redeem frequent flyer miles to purchase a ticket for domestic or international travel?
c. Is redeeming frequent flyer miles to purchase a ticket for domestic and international travel mutually exclusive? Explain.
In: Math
PERFORMANCE EVALUATION - Economics
Computer Company assembles personal computers and sells them in the retail marketplace. The company is organized into two profit centers: the assembly division and the distribution division. The demand curve facing the company (and the distribution division) is P = 3,500 – 10Q. The marginal cost for assembly (which includes purchasing the parts) is constant at $450. The distribution division faces constant marginal distribution costs of $50 per unit.
A. What is the profit-maximizing retail price and output for the firm as a whole?
B. If the assembly division has monopoly power to set the transfer price, what transfer price will it select (assuming it knows all the information above)? Calculate the profits for the two-divisions in this case.
Answers should be one-two paragraphs long, or at least 5-7 sentences.
In: Economics
In a lottery 5 different numbers are chosen from the first 90 positive integers.
(a) How many possible outcomes are there? (An outcome is an unordered sample of five numbers.)
(b) How many outcomes are there with the number 1 appearing among the five chosen numbers?
(c) How many outcomes are there with two numbers below 50 and three numbers above 60?
(d) How many outcomes are there with the property that the last digits of all five numbers are different? (The last digit of 5 is 5 and the last digit of 34 is 4.)
In: Math
PLEASE ANSWER IN C++
Given the starting point in a maze, you are to find and mark a path out of the maze, which is represented by a 20x20 array of 1s (representing hedges) and 0s (representing the foot-paths). There is only one exit from the maze (represented by E). You may move vertically or horizontally in any direction that contains a 0; you may not move into a square with a 1. If you move into the square with an E, you have exited the maze. If you are in a square with 1s on three sides, you must go back the way you came and try another path. You may not move diagonally. For this program, use can ONLY use a single linked list.
Program Requirements: Your program should use single linked list ONLY for finding the path. Input of program: Input is the following array of characters (1s, 0s, and E) from an ASCII text data file (maze.txt); as follows:
E0001110000000100100
11100011101110001111
11111000101000111000
00001110101100010010
01011000101111000110
00001110000110011110
11011100110110111000
00011110110111111101
01011011110110100001
01000000000110110111
11011011010010000000
01010010011000101011
01111000101110101110
00001110000111011001
01101011101101000011
11000110100111011010
01110000100100110011
11010111110110000000
01110100011000111110
00011001000011100010
Each data line consists of one row of maze. Starting points (i.e. a row, column pair) in the maze will be input from the keyboard.
Output of program: Echo print the maze complete with numbered rows and columns prior to asking the user for their starting point. For each entry into the maze, print the complete maze with a S in the starting point followed by the words ‘I am free’ if you have found a path out of the maze or the words ‘Help, I am trapped’ if you cannot. Your output could be in two formats: Print the path (by using a series of pluses (+)) you took through the maze should one be found OR Print the path as a single linked list. A program heading in the following format should begin your program:
// Program Name
// <your name>
// <date>
In: Computer Science