logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Connorr EvansEngineering
(5/5)

952 Answers

Hire Me
expert
David AvitiaManagement
(5/5)

988 Answers

Hire Me
expert
Eric BanaEnglish
(5/5)

501 Answers

Hire Me
expert
StatAnalytica ExpertLaw
(5/5)

837 Answers

Hire Me
R Programming
(5/5)

compute and report our candidate\'s share, price, margin and expected profit per person under the \"proposed market scenario\"

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Please note the following important points:

All work leading up to the submitted work, in all homeworks of this course, must be in Python or R. Excel files are provided here and in some other assignments to give you a simple, transparent computational specification of what needs to be done. Your submitted work is not to be done in Excel.

To add some detail to the above point: Please provide the R or python code in raw form in plain text with the .py extension, not a Jupyter notebook or R markdown file for instance. Such a .py or Rmd file will typically load data from an external file or call other .py or R files, so you should provide those other files as well. The TA should be able to reproduce your results by passing the main .py file to the python interpreter or R file to the R batch executor from the command line. By "main .py file" I mean the file which loads the data or calls other

.py files (if any). Obviously, you may have different main .py files for different parts of the HW, in which case please provide a text file which indicates for each part of the HW which .py file was used as the main .py file for that part. Please package all of this (the.py files, the data files and the text file describing which .py file is to be launched for which part of the HW) as a single .zip file. Let us refer to this as the "code zip file".

All HWs in this course are individual HWs There is to be no sharing whatsoever of program code or any written submission, in this and every future HW, because that detracts from learning. Such sharing is a violation of ISB's Honor Code. If you are not able to do the HWs, please approach me or the TA. We are here to help.

Product Optimization Exercise

 

The problem statement for this HW: You are producing beverage mugs and are trying to identify the best price-feature-vector. Assume the following attributes and attribute levels:

Price: $30, $10, $5

Time Insulated: 0.5 hrs, 1 hrs, 3 hrs

Capacity: 12 oz, 20 oz, 32 oz

Cleanability: Difficult (7 min), Fair (5 min), Easy (2 min) Containment: Slosh resistant, Spill resistant, Leak resistant Brand: A, B, C

 

Assume the following as the "proposed market scenario", ie the scenario with the current competitors and our proposed candidate.

Incumbents

1: $30, 3 hrs, 20 oz, Clean Easy, Leak Resistant, Brand A 2: $10, 1 hrs, 20 oz, Clean Fair, Spill Resistant, Brand B Our proposed candidate

3: $ 30, 1 hrs, 20 oz, Clean Easy, Leak Resistant, Brand C

 

Assume the following cost structure:

Time Insulated: 0.5 hrs costs $0.5, 1 hrs costs $1, 3 hrs costs $3 Capacity: 12 oz costs $1.00, 20 oz costs $2.6, 32 oz costs $2.8

Cleanability: Difficult (7 min) costs $1, Fair (5 min) costs $2.2, Easy (2 min) costs $3.0 Containment: Slosh resistant costs $0.5, Spill resistant costs $0.8, Leak resistant costs $1

 

You are given data on the preference parameters of 311 consumers in this file: mugs-preference- parameters-full.xlsx. The CSV version of this file is here: mugs-preference-parameters-full.csv

 

Questions:

1. Using the compensatory rule with logit adjustment: Compute and report our candidate's share, price, margin and expected profit per person under the "proposed market scenario" given above. This question is a strict subset of the next question. If you have done the next question successfully, then all you need to do for this question is report the numbers for Product Candidate 45 which corresponds to our proposed candidate in the "proposed market scenario" given above. Even though this question is a strict subset of the next question, I am asking for it separately. This is because not all students may be able to do the next question successfully as it is a larger and more general computation. Hint to check your answer: The number you should get for expected profit per person is between 4 and 4.5.

2. Discrete Optimization: Consider each of the three levels for each of the five attributes and enumerate all the possibilities in lexical order with Price as the leftmost attribute changing

 

slowest and taking levels sequentially $30, $10, $5, then Time Insulated as the left-second- most attribute changing second-slowest and taking values sequentially 0.5 hrs, 1 hrs, 3 hrs and so on. You will have 243 product candidates. (The lexical order produces indices as shown in this file. Please make sure you list your products in that exact same order. The lexical order of products is obtained by looping as shown in the following R code, which has close similarity in python: mugs-products-lexical-order-loop.R.) Again using the compensatory rule, compute and report each candidate's share, price, margin and expected profit per person under the current market scenario. The listing that you submit needs to have all 243 rows.

Next, plot all 243 candidates with share on the x-axis and expected profit per person on the y- axis. Hint to check your answer: product candidate 230 has a negative expected profit per customer of between -1.75 and -1.85, and product candidate 106 has an expected profit per customer of between 0.7 and 0.8

3. Identify the product with the highest expected profit per customer. For this optimal product, list the values of the five attributes and its share, price, margin and expected profit per person.

Wherever you use compensatory analysis, use the logit adjustment and use a scaling constant value of c=0.0139. This applies to Q1, Q2, Q3 above and also Optional Task 2 and Optional Task 3.

 

The Optional Tasks for Extra Credit toward Class Participation

 

Optional Task 1: Suppose you want to determine the elimination-by-aspects choice of a person choosing from among P products, each having A attributes. You are given the following data structures: a P-by-A matrix containing the rating of each product on each attribute, a vector of length A containing the importance of each attribute, a vector of length A giving the cutoff for each attribute (we are considering the general case where it is possible for the consumer to have different cutoffs for different attributes). Write a function that takes these three data structures as input arguments and produces the elimination-by-aspects choice without using explicit loops like "for", "while", "repeat" or recursion. You can however use implicit loops like in the "apply" family of functions in R or "map" function of python. For extra Extra Credit: Write the function without using any "if" statement and also without using explicit loops. Your solution needs to use the same policy for ties and null sets as given in Q4. It may surprise you to know that this entire EBA function (for an arbitrary number of products and attributes) can be written in less than 10 lines of python or R code, using these languages' array operations,

 

FYI: My solution program to this task has only 5 lines. Of these 5 lines, 4 lines are operations that occur even with the compensatory model with the broadcast-and-accumulation structure. If you extend those ideas to the EBA context, then you get my 5-line-solution to Optional Task 1.

 

Optional Task 2: Instead of considering just the three discrete levels for each of the five attributes, consider all possible intermediate levels. You do not need to consider levels outside of the range of levels given (eg you do not need to consider prices greater the $30 or less than $5). Treat "Containment" as a continuous attribute with Slosh Resistant corresponding to level 0, Spill Resistant corresponding to level 0.5 and Leak Resistant corresponding to level 1. With this setup, now you will have what is essentially an infinite number of candidate products. For each such intermediate level not matching the discrete levels provided, compute the preference level by interpolating between the known levels. Similarly, compute the cost by interpolating between the known levels. For example, for Time Insulated = 0.75 hours, take the preference level for Consumer 1 to be 2 (interpolating halfway between 1 and 3 because 0.75 is halfway between 0.5 and 1). By similar logic, for Time Insulated = 0.75 hours, the cost would be $0.75. Your task: Use the compensatory model (interpolation makes programming complicated in the non-compensatory case, and so we will not consider the non-compensatory model for this question). Identify the product with the highest value of expected profit per person. For this optimal product, list the values of the five attributes and its share, price, margin and expected profit per person. Note that this is a continuous optimization problem and you will have to use an optimization routine. In R you will need to use something like the "optim" function which handles bounds and does not need a gradient function to be provided. Warning: you have to be concerned about local optima and these are to be addressed using multiple starting values or a stochastic search method. If this task is too complicated for you, you can consider a simpler version of this task where you are considering a large number (example d=19) of discrete intermediate values and handle the optimization by discrete enumeration. The number of candidates will then be (2*d+3)^5 = 115856201 for even a small number like d=19. A smart way to proceed is to do sequential grid search, starting with a low value of "d" like d=4 and then examining further discrete values in narrower range of discrete

 

values, focusing sequentially only near the grid values that are optimal. In any case, this will involve a lot of computation. In R you can speed up computation by parallel computing using the "multicore" package or the "parallel" package.

 

Optional Task 3: Instead of optimizing for just one product, one can look for the best PAIR of products to launch simultaneously. We will allow for the possibility that the second product in the pair is the empty product or NULL product, so effectively the firm is offering just a single product rather than two distinct products. For simplicity we will consider the case where we are choosing from just among the original 243 products. The total number of pairs of products where both products are non-NULL is 243*(243-1)/2 = 29403. The number of pairs where one of the products is non-NULL is of course just 243 and these you have already evaluated in Mandatory Question 2 above. Your goal in this Optional Task is to identify the candidate pair of products X and Y with the highest total expected profit per person (adding the expected profit per person for product X and for product Y) using the compensatory rule with logit adjustment. For this optimal pair of products, list for each product in the pair its values of the five attributes and its share, price, margin and expected profit per person. Important note: The best pair is not necessarily the two products in Task 2 above with the two highest values of expected profit per person. To identify the best pair you need to (i) enumerate each of the 29403 pairs, (ii) for each such pair, labeling the products as 3 and 4, compute the probabilities of buying products 1, 2, 3 and 4 , where product 1 and 2 are from Brands A and B as before but now there are TWO products, 3 and 4, from Brand C,

(iii) for each pair compute the total of expected profit per person over both 3 and 4 in the pair, (iv) pick the pair with the highest total expected profit per person.

 

A clever trick to accelerate the process us by skipping steps (ii) and (iii) above for a large fraction of pairs based on the results from Mandatory Question 2. This is because the profit contribution of a candidate in the three product case is an upper bound for the four product case. So we can drop from consideration any pair of candidates whose sum in Mandatory Question 2 is less than the value for the best product of Mandatory Question 2. In fact, we can improve upon this trick by increasing the upper bound progressively as we iterate through the pairs.

 

Optional Task 4: The table on Product-Price Optimization Slide 18 reported four metrics for each candidate product: Share, Cost, Margin, Expected Profit per Person. According to the pure algorithmic analytical approach, the best product is in the one with the highest Expected Profit per Person. However, depending on the objectives of the company, your product manager boss may not agree that this is the best product. He/she may argue you need to consider one or more of the remaining three metrics: Share or Cost or Margin. Reflect on the table on Slide 18 or the scatterplot on Slide 19 (and the equivalent outputs from Question 2 and Question 4 above), and propose alternative criteria to identify the best product. For each criterion that you propose, identify the best product for that criterion.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme