The testing process: Writing code or choosing the right answer for multiple choice questions.
Motivation: When making marketing decisions or fine-tuning a new product launch strategy, data analysis holds the key to all the answers.
The testing process: Implementing linear regression models.
Motivation: Linear regression is one of the most frequently used methods for data analysis due to its simplicity and applicability to a wide variety of problems.
The testing process: Implementing code or fixing bugs in Python.
Motivation: Basic familiarity with the programming language used on the job is a prerequisite for quickly getting up to speed.
Implement the desired_marketing_expenditure function which returns the required amount of money that needs to be invested in the new marketing campaign in order to sell the desired number of units, based on data about previous marketing campaigns in which the number of units sold lineraly depends on the amount of money invested.
For example, for the desired number of 60,000 units sold and previous campaign data from the table below, the function should return 250,000.
|Campaign||Marketing expenditure||Units sold|
- Example case: Wrong answer
- Linear dependency without error: Wrong answer
- Linear dependency with error: Wrong answer