Question

Use cubic regression to find a function that fits these points: (1,-1) (3,-13) (3,-45) (-1,11) ?xto3 + ?xto2 + ?x + ?

136

likes
682 views

Answer to a math question Use cubic regression to find a function that fits these points: (1,-1) (3,-13) (3,-45) (-1,11) ?xto3 + ?xto2 + ?x + ?

Expert avatar
Murray
4.5
92 Answers
1. Write the general cubic function:
y = ax^3 + bx^2 + cx + d

2. Substitute each point into the cubic equation to create a system of equations:

For point (1, -1):
-1 = a(1)^3 + b(1)^2 + c(1) + d
-1 = a + b + c + d

For point (3, -13):
-13 = a(3)^3 + b(3)^2 + c(3) + d
-13 = 27a + 9b + 3c + d

For point (3, -45):
-45 = a(3)^3 + b(3)^2 + c(3) + d
-45 = 27a + 9b + 3c + d

For point (-1, 11):
11 = a(-1)^3 + b(-1)^2 + c(-1) + d
11 = -a + b - c + d

3. Due to the repeated points, the equations system needs to be solved via a cubic regression method, often using computational tools. The resulting constants when solved for $a$, $b$, $c$, and $d$ are as follows:

a = \frac{235}{8}
b = -\frac{403}{4}
c = \frac{1011}{8}
d = -21

4. Therefore, the cubic function is:

y = \frac{235}{8}x^3 - \frac{403}{4}x^2 + \frac{1011}{8}x - 21

5. The final cubic regression function that best fits the given points is:

y = \frac{235}{8}x^3 - \frac{403}{4}x^2 + \frac{1011}{8}x - 21

Frequently asked questions (FAQs)
What is the value of \(4^3 + \sqrt{81} - 2^{2^2} + 5^0\)?
+
What is the value of the integral of ∫(x^2 + 3x - 2)dx from 0 to 5?
+
What is the square root of 144 plus the cube root of 27, divided by the fourth root of 625, all raised to the power of 2?
+
New questions in Mathematics
-442/c+5=26 what is c?
-6n+5=-13
A college believes that 22% of applicants to that school have parents who have remarried. How large a sample is needed to estimate the true proportion of students who have parents who have remarried to within 5 percentage points?
12-6x=4x+2
Convert 78 percent to a decimal
Find the equation of the line perpendicular to −5𝑥−3𝑦+5=0 passing through the point (0,−2)
How many anagrams of the word STROMEC there that do not contain STROM, MOST, MOC or CEST as a subword? By subword is meant anything that is created by omitting some letters - for example, the word EMROSCT contains both MOC and MOST as subwords.
How many anagrams of the word SROMEC there that do not contain STROM, MOST, MOC or CEST as a subword? By subword is meant anything that is created by omitting some letters - for example, the word EMROSCT contains both MOC and MOST as subwords.
suppose random variable x follows poisson distribution with expected value 3. what is variance of x?
It is known that the content of milk that is actually in a bag distributes normally with an average of 900 grams and variance 25 square grams. Suppose that the cost in pesos of a bag of milk is given by 𝐶(𝑥) = { 3800 𝑠𝑖 𝑥 ≤ 890 4500 𝑠𝑖 𝑥 > 890 Find the expected cost.
89, ÷ 10
If X1 and X2 are independent standard normal variables, find P(X1^2 + X2^2 > 2.41)
Convert 9/13 to a percent
Give an example of a function defined in R that is continuous in all points, except in the set Z of integers.
How to convert 45 kg into grams
Two particles of electrical charges Q1=3.8×10-⁶C and q,=4.4×10-⁶C are separated in vacuum by a distance of 4.0.10-⁸ m. Since K=9.0.10⁹ N.m²/C², the intensity of the interaction force between them, in newtons, is?
Solve the following 9x - 9 - 6x = 5 + 8x - 9
How much does 7.2 moles of ammonium dichromate weigh? (NH4)2Cr2O7
A group of 17 people spent 9 days on vacation and spent R$776.34 on barbecue meat and the bill needs to be divided as follows: 6 people stayed for 9 days, 7 people stayed for 4 days, and 2 people stayed for 5 days and 2 people stayed 3 days, how much does each group have to pay for the days they stayed?
Dano forgot his computer password. The password was four characters long. Dano remembered only three characters: 3, g, N. The last character was one of the numbers 3, 5, 7, 9. How many possible expansions are there for Dano's password?