Suppose the quantity demanded for a product is given by ?=20(?+1)−?/4q=20(A+1)−p/4, where ?p is the price of the good. The good is sold by a monopoly firm with constant marginal cost equal to 20 and fixed cost ?=400(?+1)2f=400(A+1)2. Let ?A be 4 and answer the following:
a) Suppose the firm must charge the same price to all consumers. Derive the profit maximizing price and quantity if the firm were to serve the consumers interested in this good. .
b) Suppose the firm were to charge every consumer the same price. Will the firm find it profitable to operate?
c) Suppose the firm were able to practice perfect price discrimination. What would be the firm's profit in this case? Would the outcome be efficient?
d) What is the efficiency loss of the outcome in part (b) ?
In: Economics
There are N different models of mobiles manufactured at a mobile
manufacturing unit. Each mobile must go through 2 major phases:
‘parts manufacturing’ and ‘assembling’. Obviously, ‘parts
manufacturing’ must happen before “assembling’. The time for ‘parts
manufacturing’ and ‘assembling’ (pmi and ai for ith mobile) for
every mobile may be different. If we have only 1 unit for ‘parts
manufacturing’ and 1 unit for ‘assembling’, how should we produce n
mobiles in a suitable order such that the total production time is
minimized?
Requirements:
1. Write a Greedy Algorithm to select the mobile ‘parts
manufacturing’ and ‘assembling’ in such a way that total production
time is minimized.
2. Analyse the time complexity of your algorithm.
3. Implement the above problem statement using Python.
Input:
For example, now there are 6 different Mobiles in total. Time for
each mobile ‘parts manufacturing’ and ‘assembling’ are given as
shown:
| Mobile i | pmi (minutes) | ai (minutes) |
| 1 | 5 | 7 |
| 2 | 1 | 2 |
| 3 | 8 | 2 |
| 4 | 5 | 4 |
| 5 | 5 | 5 |
| 6 | 6 | 6 |
In: Computer Science
Apply PCA ( Principal Component Analysis ) in python to this data set below that is a csv file
Then plot it with different colors. Thank you I will UPVOTE!
| target | A | B | C | D | E | F | G |
| surprise | 2 | 3 | 1 | 1 | 19 | 12 | 0 |
| sad | 2 | 0 | 0 | 2 | 12 | 1 | 15 |
| angry | 95 | 2 | 1 | 0 | 1 | 0 | 1 |
| sad | 4 | 56 | 2 | 0 | 0 | 3 | 1 |
| neutral | 1 | 2 | 2 | 0 | 39 | 0 | 11 |
| happy | 0 | 0 | 0 | 34 | 1 | 0 | 0 |
| neutral | 5 | 55 | 0 | 0 | 0 | 2 | 1 |
| sad | 0 | 33 | 3 | 0 | 0 | 12 | 1 |
| happy | 0 | 5 | 2 | 0 | 18 | 15 | 2 |
| angry | 0 | 0 | 0 | 19 | 37 | 0 | 0 |
| happy | 0 | 1 | 0 | 68 | 17 | 2 | 0 |
In: Computer Science
1. Many games require rolling 2 dice and adding the rolls together. Fill in the table below with the sum of the two die rolls. The first few cells have been completed as an example.
|
Sum of Die Rolls |
First Die Roll |
||||||
|
1 |
2 |
3 |
4 |
5 |
6 |
||
|
Second Die Roll |
1 |
2 |
3 |
4 |
|||
|
2 |
3 |
||||||
|
3 |
|||||||
|
4 |
|||||||
|
5 |
|||||||
|
6 |
|||||||
a. We assume die rolls are all equally likely. There are 36 possible outcomes (6x6) when we give them as ordered pairs like (2, 3), but when we look at adding them together, we get sums 2, 3, 4, 5, etc.
Complete this table with the sum of two dice, and the probability of each sum. (If you use decimals, use at least 3 digits, like 2.78%.)
|
Sum |
Probability |
Your Results (part c) |
|
2 3 4 5 |
1/36 ≈ 2.78% |
b. Which number is the most likely? Which are the next most likely?
c. Now we’re going to compare the theoretical distribution (part a) with some empirical data.
2. We are going to roll a die with 20 sides, numbered 1 – 20. Each number on a die is assumed to be equally likely, but let’s mix things up a bit here.
Let’s say A = the number is 1 – 10, B = the number is 11 – 12, and C = the number is 13 – 20
a. Let’s say you roll the die once. Give the probability of each outcome A, B, and C.
(Make sure P(A) + P(B) + P(C) = 1.)
b. Suppose you roll the die two times. Now you have sequences like AA, AB, etc. Complete the table with all the possible sequences, and the probability of each sequence.
|
Sequence |
Probability |
|
AA AB |
c. Make sure the probabilities add up to 1.
d. What is the probability that you get a two-roll sequence with no A’s in it?
In: Statistics and Probability
Tombro Industries is in the process of automating one of its plants and developing a flexible manufacturing system. The company is finding it necessary to make many changes in operating procedures. Progress has been slow, particularly in trying to develop new performance measures for the factory.
In an effort to evaluate performance and determine where improvements can be made, management has gathered the following data relating to activities over the last four months:
|
Month |
||||||||
| 1 | 2 | 3 | 4 | |||||
| Quality control measures: | ||||||||
| Number of defects | 187 | 165 | 126 | 91 | ||||
| Number of warranty claims | 48 | 41 | 32 | 29 | ||||
| Number of customer complaints | 104 | 98 | 81 | 60 | ||||
| Material control measures: | ||||||||
| Purchase order lead time | 8 days | 7 days | 5 days | 4 days | ||||
| Scrap as a percent of total cost | 1 | % | 1 | % | 2 | % | 3 | % |
| Machine performance measures: | ||||||||
| Machine downtime as a percentage of availability | 5 | % | 6 | % | 6 | % | 10 | % |
| Use as a percentage of availability | 94 | % | 91 | % | 88 | % | 84 | % |
| Setup time (hours) | 8 | 10 | 11 | 12 | ||||
| Delivery performance measures: | ||||||||
| Throughput time | ? | ? | ? | ? | ||||
| Manufacturing cycle efficiency (MCE) | ? | ? | ? | ? | ||||
| Delivery cycle time | ? | ? | ? | ? | ||||
| Percentage of on-time deliveries | 95 | % | 94 | % | 91 | % | 88 | % |
The president has read in industry journals that throughput time, MCE, and delivery cycle time are important measures of performance, but no one is sure how they are computed. You have been asked to assist the company, and you have gathered the following data relating to these measures:
|
Average per Month (in days) |
||||
| 1 | 2 | 3 | 4 | |
| Wait time per order before start of production | 8.0 | 10.8 | 11.0 | 13.0 |
| Inspection time per unit | 0.8 | 0.7 | 0.7 | 0.7 |
| Process time per unit | 2.4 | 2.1 | 1.6 | 1.0 |
| Queue time per unit | 2.6 | 4.0 | 5.3 | 7.6 |
| Move time per unit | 0.2 | 0.4 | 0.4 | 0.7 |
Required:
1-a. Compute the throughput time for each month. (Round your answers to 1 decimal place.)
|
||||||||||||||||
1-b. Compute the manufacturing cycle efficiency (MCE) for each month. (Round your answers to 1 decimal place.)
|
||||||||||||||||
1-c. Compute the delivery cycle time for each month. (Round your answers to 1 decimal place.)
|
||||||||||||||||
3-a. Refer to the inspection time, process time, and so forth, given for month 4. Assume that in month 5 the inspection time, process time, and so forth, are the same as for month 4, except that the company is able to completely eliminate the queue time during production using Lean Production. Compute the new throughput time and MCE. (Round your answers to 1 decimal place.)
|
||||||||||
3-b. Refer to the move time, process time, and so forth, given for month 4. Assume that in month 6 the inspection time, process time, and so forth, are the same as in month 4, except that the company is able to eliminate both the queue time during production and the inspection time using Lean Production. Compute the new throughput time and MCE.. (Round your answers to 1 decimal place.)
|
||||||||||
In: Accounting
Caption: Princess Foods wants to determine if there is a relationship in the amount a household spends on prepared foods to family size and income. Parthika: Well, we still have data collected from a previous marketing study. Let’s use that. We have an Excel file. I am sure we can find the spreadsheet. It should have the exact information we need. Liwei: Yes, this could be interesting. We may find enough evidence to rethink the meal preparation kits again. Bonnie: Great idea. We need to know it the data is a good fit and what the exact relationship is between the dependent variable and the independent variables. We can use this information to help us design perhaps a new line of prepared frozen foods. ParthikaYes, what about the prepackaged salad bowls. We really need to see this data. Bonnie: Yes, let’s get right on this.
Please use the below data and Excel to determine the equation that represents the relationship and explain the goodness of fit. Based on the data, write a memo and interpret the results. How might this data be used?
*Please show step by step how to complete regression analysis using the Data Analysis Toolpack in Excel.
| Dollars spent on Prepared food | Family size | Gross monthly income |
| 495.86 | 4 | 3126 |
| 642.77 | 5 | 3933 |
| 364.81 | 3 | 1925 |
| 619.3 | 5 | 3736 |
| 238.71 | 1 | 1453 |
| 378.94 | 2 | 2538 |
| 302.58 | 1 | 1798 |
| 231.74 | 2 | 1189 |
| 428.67 | 3 | 2247 |
| 286.99 | 3 | 1460 |
| 268.81 | 1 | 1567 |
| 329.81 | 2 | 1622 |
| 627.25 | 5 | 3828 |
| 421.52 | 3 | 2782 |
| 656.38 | 5 | 3978 |
| 400.64 | 3 | 2493 |
| 603.41 | 6 | 3753 |
| 560.69 | 4 | 3778 |
| 623 | 5 | 3609 |
| 416.12 | 2 | 2262 |
| 323.9 | 1 | 1966 |
| 418.78 | 3 | 2736 |
| 506.46 | 4 | 3274 |
| 552.53 | 2 | 3480 |
| 586.46 | 4 | 3741 |
| 637.18 | 8 | 3684 |
| 244.49 | 2 | 1476 |
| 507.19 | 5 | 2835 |
| 512.56 | 5 | 2873 |
| 312.89 | 1 | 1618 |
| 329.05 | 2 | 1565 |
| 243.49 | 2 | 1582 |
| 560.37 | 8 | 3380 |
| 599.9 | 5 | 3922 |
| 657.09 | 5 | 3845 |
| 394.82 | 2 | 2233 |
| 556.42 | 4 | 3098 |
| 596.05 | 8 | 3707 |
| 365.8 | 4 | 2071 |
| 489.08 | 3 | 3166 |
In: Statistics and Probability
Princess Foods wants to determine if there is a relationship in the amount a household spends on
prepared foods to family size and income.
Parthika:
Well, we still have data collected from a previous marketing study. Let’s use that. We have an Excel
file. I am sure we can find the spreadsheet. It should have the exact information we need.
Liwei: Yes, this could be interesting. We may find enough evidence to rethink the meal preparation
kits again.
Bonnie: Great idea. We need to know it the data is a good fit and what the exact relationship is
between the dependent variable and the independent variables. We can use this information to help
us design perhaps a new line of prepared frozen foods.
Parthika
Yes, what about the prepackaged salad bowls. We really need to see this data.
Bonnie:
Yes, let’s get right on this.
Mini-Case Assignment
Please use the attached spreadsheet and Excel to determine the equation that represents the relationship and
explain the goodness of fit.
Based on the data, write a memo and interpret the results. How might this data be used?
**Please explain using the regression option on the Data Analysis pack in Excel. Thank you!
| Dollars spent on Prepared food | Family size | Gross monthly income |
| 495.86 | 4 | 3126 |
| 642.77 | 5 | 3933 |
| 364.81 | 3 | 1925 |
| 619.3 | 5 | 3736 |
| 238.71 | 1 | 1453 |
| 378.94 | 2 | 2538 |
| 302.58 | 1 | 1798 |
| 231.74 | 2 | 1189 |
| 428.67 | 3 | 2247 |
| 286.99 | 3 | 1460 |
| 268.81 | 1 | 1567 |
| 329.81 | 2 | 1622 |
| 627.25 | 5 | 3828 |
| 421.52 | 3 | 2782 |
| 656.38 | 5 | 3978 |
| 400.64 | 3 | 2493 |
| 603.41 | 6 | 3753 |
| 560.69 | 4 | 3778 |
| 623 | 5 | 3609 |
| 416.12 | 2 | 2262 |
| 323.9 | 1 | 1966 |
| 418.78 | 3 | 2736 |
| 506.46 | 4 | 3274 |
| 552.53 | 2 | 3480 |
| 586.46 | 4 | 3741 |
| 637.18 | 8 | 3684 |
| 244.49 | 2 | 1476 |
| 507.19 | 5 | 2835 |
| 512.56 | 5 | 2873 |
| 312.89 | 1 | 1618 |
| 329.05 | 2 | 1565 |
| 243.49 | 2 | 1582 |
| 560.37 | 8 | 3380 |
| 599.9 | 5 | 3922 |
| 657.09 | 5 | 3845 |
| 394.82 | 2 | 2233 |
| 556.42 | 4 | 3098 |
| 596.05 | 8 | 3707 |
| 365.8 | 4 | 2071 |
| 489.08 | 3 | 3166 |
In: Statistics and Probability
#34
Big Rock Insurance Company did a study of per capita income and volume of insurance sales in eight Midwest cities. The volume of sales in each city was ranked, with 1 being the largest volume. The per capita income was rounded to the nearest thousand dollars.
| Reading | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| Rank of insurance sales volume | 6 | 8 | 4 | 1 | 3 | 2 | 5 | 7 |
| Per capita income in $1000 | 16 | 13 | 17 | 19 | 18 | 15 | 12 | 14 |
Using a 0.01 level of significance, test the claim that there is a monotone relation (either way) between rank of sales volume and rank of per capita income.
(a) Using a rank of 1 for the highest per capita income, make a table of ranks to be used for a Spearman rank correlation test.
| City | Rank of insurance sales volume x |
Rank of per capita income in $1000 y |
d = x - y | d2 |
| 1 2 3 4 5 6 7 8 |
Σd2 = |
(c) Compute the sample test statistic. (Use 3 decimal
places.)
In: Statistics and Probability
Language for this question is Java
write the code for the given assignment
Given an n x n matrix, where every row and column is sorted in
non-decreasing order. Print all elements of matrix in sorted
order.Input:
The first line of input contains an integer T denoting the number
of test cases. Then T test cases follow. Each test case contains an
integer n denoting the size of the matrix. Then the next line
contains the n x n elements in row wise order.Output:
Print the elements of the matrix in sorted order.Constraints:
1<=T<=100
1<=n<=100
1<=a[n][n]<=100Example:
Input:
2
4
10 20 30 40 15 25 35 45 27 29 37 48 32 33 39 50
3
1 3 4 2 6 7 5 8 9Output:
10 15 20 25 27 29 30 32 33 35 37 39 40 45 48 50
1 2 3 4 5 6 7 8 9
In: Computer Science
Researchers from the University of Kent, UK, were interested in whether collectivist or individualist attitudes are related to one’s intent to comply with social distancing and safety guidelines during COVID-19. Participants were classified as either collectivist or individualist and rated their intent to comply with guidelines on a scale from 1-5, where 1 is definitely not and 5 is definitely yes. Please conduct an independent-groups t-test to determine if there is a significant difference in intention to comply between individualists and collectivists.
In addition, please:
- report cohen’s d
- report r^2
- conduct and interpret an F-MAX test
- include 95% confidence intervals
- report your answer in words that directly address the research
question
- and show all work in step by step detail.
Collective
x f
3 2
4 6
5 12
Individual
x f
1 1
2 3
3 11
4 13
5 2
In: Statistics and Probability