Choosing a function model from data
根据数据选择函数模型
How do you choose a model from data?
Look at the scatter and at the differences and ratios: constant differences suggest linear; constant ratios exponential; constant second differences quadratic; then check the residuals.
Sign in to read the whole lesson, with 3 interactive aids, 1 more worked example, 4 exercises
Sign in / Sign upMastery goals
- Can choose an appropriate model type (linear, quadratic, exponential, logarithmic, power) from data or a scatter plot and justify the choice
- Can use a chosen model to make predictions and comment on its limits
In real problems, some need a function model built from the conditions of the problem. To choose a function model, first analyse how the quantity grows: “linear rise”, “logarithmic growth” or “exponential explosion”.
Example 1
Suppose you have money to invest and can choose among three plans with the following returns:
Plan 1: a return of yuan each day;
Plan 2: a return of yuan on the first day, and yuan more each day than the day before;
Plan 3: a return of yuan on the first day, and each day's return doubles the previous day's.
Which plan would you choose?
Analysis: We can first build the function model for each plan, then compare how they grow, to give a basis for the choice.
Solution: Let the return on day be yuan. Plan 1 is described by (), Plan 2 by (), and Plan 3 by (). Of the three models the first is a constant function and the other two are increasing. To choose, we must analyse how they grow.
First use information technology to compute how the returns of the three plans grow:
| Day | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Plan 1 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 |
| Plan 2 | 5 | 10 | 15 | 20 | 25 | 30 | 35 | 40 | 45 | 50 |
| Plan 3 | 0.2 | 0.4 | 0.8 | 1.6 | 3.2 | 6.4 | 12.8 | 25.6 | 51.2 | 102.4 |
Then draw the three graphs.
The table and graph show that Plan 1 is a constant function and Plans 2 and 3 are increasing, but Plan 3 grows quite differently from Plan 2. Although on day Plans 1 and 2 return and times as much as Plan 3, their increments are fixed, whereas Plan 3 is “exponential growth” and its increments multiply; from day Plan 3 grows far faster than the other two. By daily return: on days to Plan 1 is highest; on day Plans 1 and 2 are equal and Plan 3 lowest; on days to Plan 2 is highest; from day Plan 3 returns far more than the other two.
Now look at the cumulative returns:
| Plan | Day 1 | Day 5 | Day 10 | Day 11 | Day 12 |
|---|---|---|---|---|---|
| 1 | 30 | 150 | 300 | 330 | 360 |
| 2 | 5 | 75 | 275 | 330 | 390 |
| 3 | 0.2 | 6.2 | 204.6 | 409.4 | 818.2 |
So for an investment of to days choose Plan 1; for days or more choose Plan 3.
This example is only imaginary, but it shows that different growth models can differ greatly.
Related points
All points in this topicCite this page: Choosing a function model from data · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000405