One hundred and fourteen people are eligible to participate in a clinical trial. The trial will have two arms (‘treatment’ and ‘control’), and we want an equal number of people in each arm. Gender and activity status (both of which may be related to the outcome measured in the trial) are recorded for the 114 people; the results are in the table below.
|
Female |
Male |
||
|
Active |
24 |
16 |
40 |
|
Inactive |
36 |
38 |
74 |
|
60 |
54 |
114 |
Explain how you would decide who gets what treatment. You do not have to go into intricate detail but hit on the important topic(s) of the assignment of treatments to individuals. Note that each person can be in only one of the two arms.
In: Statistics and Probability
A sample of size 34 will be drawn from a population with mean 44 and standard deviation 9.
(a) Is it appropriate to use the normal distribution to find
probabilities for x?
(b) If appropriate find the probability that x will be between 45
and 46. Round the answer to at least four decimal places.
(c) If appropriate find the 38th percentile of mean=x Round the
answer to at least two decimal places.
In: Statistics and Probability
Write a program that implements the FIFO, LRU, and Optimal page replacement algorithms presented in chapter 8 of your text. First generate a random page-reference string (this should be 20 entries long) where page numbers range from 0 to 9. Apply the random page-reference string to each algorithm, and record the number of page faults incurred by each algorithm. Implement the replacement algorithms so that the number of page frames goes from 1 to 7 and you must compute the page fault for each of these frame numbers. Record the number of page faults with each of these different page frames numbers and each of the different algorithms. Assume that demand paging is used. Remember to count the first time a page comes in, as this is a page fault in demand paging. Then do the same procedure, except use the following page-reference string instead of the random one: 0,7,0,1,2,0,8,9,0,3,0,4,5,6,7,0,8,9,1,2 and then lastly do it with the page-reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 The sample output has the correct solutions for LRU and FIFO but nothing for Optimal. Have separate clearly marked classes, functions, or methods for LRU, FIFO, and Optimal replacement algorithms. Also have comments within your code. Make certain to have your name, date, assignment number, and a brief description of the program at the top of your main method. Your output should be in the following format (repeated seven times, one for each number of page frames, and the set of seven repeated three times, one for each of the three page-reference strings): For x page frames, and using string page reference string nnnnnnnnnnnnnn: FIFO had ### page faults. LRU had ### page faults. Optimal had ### page faults. Where ### is the number of page faults, x is the number of page frames, and nnnnnn is the page-reference string.
In: Computer Science
Below are nine concepts, 1-9, and nine definitions, A-I. Match each definition to its concept by writing the correct letter in the extreme left-hand margin.
____ 1. Nonexcludable
____ 2. Nonrival
____ 3. Private good
____ 4. Public good
____ 5. Free rider
____ 6. Forced rider
____ 7. Club good
____ 8. Common resources
____ 9. Tragedy of the commons
-------------------------------------------------------------------------------------------------------------------------------
A Goods that are nonexcludable but rival
B Someone who enjoys the benefits of a public good without paying a share of the costs
C The tendency of any resource that is unowned and hence nonexcludable to be overused and undermaintained
D A good that is excludable but nonrival
E Someone who pays a share of the costs of a public good but who does not enjoy the benefits
F A good that is excludable and rival
G A good that is nonexcludable and nonrival
H A good exhibits this characteristic if people who don’t pay cannot be easily prevented from using the good
I A good exhibits this characteristic if one person’s use of the good does not reduce the ability of another person to use the same good
In: Economics
Match the following:
1. Acid-test ratio
2. Current portion of long-term debt
3. Recording a contingent liability
4. Commercial paper
5. Deferred revenues
6. Line of credit
7. Accrual accounting
8. Interest expense
9. The riskiness of a business's obligations
10. Disclosure of a contingent liability
A Cash, short-term investments, and accounts receivable all divided by current liabilities.
B Loss is probable and amount is reasonably estimable.
C Gift cards
D Long-term debt maturing within one year.
E Informal agreement that permits a company to borrow up to a prearranged limit.
F Interest expense is recorded in the period interest is incurred rather than in the period interest is paid
G Loss is reasonably possible and amount is reasonably estimable
H Incurred on a notes payable
I obligations Unsecured notes sold in minimum denominations of $25,000 with maturities up to 270 days
J Classifying liabilities as either current or long-term helps investors and creditors assess this.
In: Accounting
Match each component with proposed strategies/elements of a framework for Defense-in-Depth security.
Word bank:
Risk management program
Cyber security architecture
Physical security
ICS Network Architecture
ICS Network Perimeter Security
Host security
Security monitoring
Vendor management
The human element
|
Defense in Depth Strategy Elements |
|
|
1. |
|
|
2. |
|
|
3. |
|
|
4. |
|
|
5. |
|
|
6. |
|
|
7. |
|
|
8. |
|
|
9. |
|
In: Computer Science
Match each component with proposed strategies/elements of a framework for Defense-in-Depth security.
Word bank:
Risk management program
Cyber security architecture
Physical security
ICS Network Architecture
ICS Network Perimeter Security
Host security
Security monitoring
Vendor management
The human element
|
Defense in Depth Strategy Elements |
|
|
1. |
|
|
2. |
|
|
3. |
|
|
4. |
|
|
5. |
|
|
6. |
|
|
7. |
|
|
8. |
|
|
9. |
|
In: Computer Science
7. Suppose the government pays everyone who lost his/her job during the current
crisis 5000$. How does the graph below change? How does the GDP change?
Explain.
In: Economics
Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas; and Pittsburgh, Pennsylvania. Each distribution center carries all products sold. Floyd’s customers are auto repair shops and larger auto parts retail stores. You are asked to perform an analysis of the customer assignments to determine which of Floyd’s customers should be assigned to each distribution center. The rule for assigning customers to distribution centers is simple: A customer should be assigned to the closest center. The worksheet Floyds in the provided datafile contains the distance from each of Floyd’s 1,029 customers to each of the five distribution centers. Your task is to build a list that tells which distribution center should serve each customer. The following functions will be helpful: =MIN(array). The MIN function returns the smallest value in a set of numbers. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MIN(A1:A3) returns the number 6, because it is the smallest of the three numbers: =MATCH(lookup_value, lookup_array, match type). The MATCH function searches for a specified item in a range of cells and returns the relative position of that item in the range. The lookup_value is the value to match, the lookup_array is the range of search, and match type indicates the type of match (use 0 for an exact match). For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range. =INDEX(array, column_num). The INDEX function returns the value of an element in a position of an array. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =INDEX(A1:A3, 2) 5 25, because 25 is the value in the second position of the array A1:A3. (Hint: Create three new columns. In the first column, use the MIN function to calculate the minimum distance for the customer in that row. In the second column use the MATCH function to find the position of the minimum distance. In the third column, use the position in the previous column with the INDEX function referencing the row of distribution center names to find the name of the distribution center that should service that customer.) Click on the datafile logo to reference the data. datafile.png (Hint: The INDEX function may be used with a two-dimensional array: =INDEX(array, row_num, column_num), where array is a matrix, row_num is the row numbers and column_num is the column position of the desired element of the matrix.) Floyd's Bumpers pays a transportation company to ship its product to its customers. Floyd's Bumpers ships full truckloads to its customers. Therefore, the cost for shipping is a function of the distance traveled and a fuel surcharge (also on a per mile basis). The cost per mile is $2.42 and the fuel surcharge is $.56 per mile. The worksheet May in the provided datafile contains data for shipments for the month of May (each record is simply the customer zip code for a given truckload shipment), as well as the distance table from the distribution centers to each customer. Use the VLOOKUP function to retrieve the distance traveled for each shipment from the exercise completed above, and calculate the \charge for each shipment. What is the total amount that Floyd's Bumpers spends on these May shipments? If required, round your answers to two decimal places.
In: Statistics and Probability
Floyd’s Bumpers has distribution centers in Lafayette, Indiana; Charlotte, North Carolina; Los Angeles, California; Dallas, Texas; and Pittsburgh, Pennsylvania. Each distribution center carries all products sold. Floyd’s customers are auto repair shops and larger auto parts retail stores. You are asked to perform an analysis of the customer assignments to determine which of Floyd’s customers should be assigned to each distribution center. The rule for assigning customers to distribution centers is simple: A customer should be assigned to the closest center. The worksheet Floyds in the provided datafile contains the distance from each of Floyd’s 1,029 customers to each of the five distribution centers. Your task is to build a list that tells which distribution center should serve each customer. The following functions will be helpful:
=MIN(array).
The MIN function returns the smallest value in a set of numbers. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MIN(A1:A3) returns the number 6, because it is the smallest of the three numbers:
=MATCH(lookup_value, lookup_array, match type).
The MATCH function searches for a specified item in a range of cells and returns the relative position of that item in the range. The lookup_value is the value to match, the lookup_array is the range of search, and match type indicates the type of match (use 0 for an exact match).
For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =MATCH(25,A1:A3,0) returns the number 2, because 25 is the second item in the range.
=INDEX(array, column_num).
The INDEX function returns the value of an element in a position of an array. For example, if the range A1:A3 contains the values 6, 25, and 38, then the formula =INDEX(A1:A3, 2) 5 25, because 25 is the value in the second position of the array A1:A3. (Hint: Create three new columns. In the first column, use the MIN function to calculate the minimum distance for the customer in that row. In the second column use the MATCH function to find the position of the minimum distance. In the third column, use the position in the previous column with the INDEX function referencing the row of distribution center names to find the name of the distribution center that should service that customer.)
(Hint: The INDEX function may be used with a two-dimensional array: =INDEX(array, row_num, column_num), where array is a matrix, row_num is the row numbers and column_num is the column position of the desired element of the matrix.)
Floyd's Bumpers pays a transportation company to ship its product to its customers. Floyd's Bumpers ships full truckloads to its customers. Therefore, the cost for shipping is a function of the distance traveled and a fuel surcharge (also on a per mile basis). The cost per mile is $2.64 and the fuel surcharge is $.56 per mile. The worksheet May in the provided datafile contains data for shipments for the month of May (each record is simply the customer zip code for a given truckload shipment), as well as the distance table from the distribution centers to each customer. Use the VLOOKUP function to retrieve the distance traveled for each shipment from the exercise completed above, and calculate the charge for each shipment. What is the total amount that Floyd's Bumpers spends on these May shipments?
If required, round your answers to two decimal places.
$
Here is the link to the data file
https://1drv.ms/x/s!ApMP2LeBUrTssVvBH4KCoBWINZcw
In: Statistics and Probability