Question

In: Advanced Math

I have the following discrete data. x=[missing, missing, missing, 758, 763, 742, 729, 721, 714, 709,...

I have the following discrete data.

x=[missing, missing, missing, 758, 763, 742, 729, 721, 714, 709, 696, 680 ]

y=[87.5, 86.4, 84.5, 83.6, 83.2, 84.0 83.2, 82.6, missing, 82.0, 81.2, 80.8 ]

Use cubic spline to predict the y-value at a x-value of 735 (using carefully commented matlab code).

Please present the theory behind the mathematics of the model. I prefer if you do all this as handwritten notes

In which range could the validity of the model be and why?

Solutions

Expert Solution

y-value predicted = 83.6521

Matlab Code:

clf; close all; clearvars; clc

x = [758 763 742 729 721 709 696 680];
y = [83.6 83.2 84 83.2 82.6 82 81.2 80.8];

pp = spline(x,y); %Added this line in code to get coefficients of spline polynomials (read handwritten pictures)
y_pred = spline(x,y,735);

coeff (description given in attached pictures)

-6.66738690759402e-05   0.00426027105801941   -0.0260958264448695   80.8000000000000 %correspond to s1(x)
-6.66738690759400e-05   0.00105992534237428   0.0590273159614295   81.2000000000000
0.000109045440120756   -0.00154035555158738   0.0527817232416592   82
-0.000109422851215722   0.00238528029275983   0.0629208201357286   82.6000000000000
-9.11619531040150e-05   -0.000240868136417494   0.0800761173864673   83.2000000000000
3.18145050926097e-05   -0.00379618430747408   0.0275944356158768   84
3.18145050926094e-05   -0.00226908806302882   -0.0694499223121695   83.6000000000000 % correspond to s7(x)


Related Solutions

Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in each independent case Case A Case B Case C Case D Unit Sales 1,000 800 Answer Answer Sales revenue $20,000 Answer Answer $60,000 Variable cost per unit $10 $2 $10 Answer Contribution margin Answer $800 Answer Answer Fixed Costs $8,100 Answer $60,000 Answer Net income Answer $600 Answer Answer Unit contribution margin Answer Answer Answer $13 Break-even point (units) Answer Answer 4,000 2,000 Margin...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in each independent case. Case 1 Case 2 Case 3 Case 4 Sales revenue $90,000 $150,000 Answer Answer Contribution margin $45,000 Answer $40,000 Answer Fixed costs $30,000 Answer Answer Answer Net income Answer $15,000 $24,000 Answer Variable cost ratio Answer 0.40 Answer 0.60 Contribution margin ratio Answer Answer 0.25 Answer Break-even point (dollars) Answer Answer Answer $150,000 Margin of safety (dollars) Answer Answer Answer $125,000
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in each independent case Case A Case B Case C Case D Unit Sales 1,000 800 Answer Answer Sales revenue $20,000 Answer Answer $60,000 Variable cost per unit $10 $2 $10 Answer Contribution margin Answer $800 Answer Answer Fixed Costs $8,100 Answer $60,000 Answer Net income Answer $600 Answer Answer Unit contribution margin Answer Answer Answer $13 Break-even point (units) Answer Answer 4,000 2,000 Margin...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in...
Cost-Volume-Profit Relations: Missing Data Following are data from 4 separate companies. Supply the missing data in each independent case. Case 1 Case 2 Case 3 Case 4 Sales revenue $100,000 $90,000 Answer Answer Contribution margin $40,000} Answer $20,000 Answer Fixed Costs $24,000 Answer Answer Answer Net income Answer $7,000 $9,000 Answer Variable cost ratio Answer 0.50 Answer 0.20 Contribution margin ratio Answer Answer 0.40 Answer Break-even point (dollars) Answer Answer Answer $20,000 Margin of safety (dollars) Answer Answer Answer $30,000
Categorize the following as either discrete qualitative, discrete quantitative or continuous quantitative. (i) The listing of...
Categorize the following as either discrete qualitative, discrete quantitative or continuous quantitative. (i) The listing of “reason given for quitting a job”. (ii) Precise time it takes a bank teller to service a customer. (iii) Number of damaged items in a shipment of 10,000 items. (iv) The amount (to the nearest ounce) of antifreeze in a container
Cost-Volume-Profit Relations: Fill in Missing Data Following are data from 4 different companies. Provide the missing...
Cost-Volume-Profit Relations: Fill in Missing Data Following are data from 4 different companies. Provide the missing data in each case Case A Case B Case C Case D Unit Sales 1,000 800 Answer Answer Sales revenue $20,000 $Answer $Answer $60,000 Variable cost per unit $10 $2 $14 $Answer Contribution margin $Answer $800 $Answer $Answer Fixed Costs $8,300 $Answer $100,000 $Answer Net income $Answer $600 $Answer $Answer Unit contribution margin $Answer $Answer $Answer $12 Break-even point (units) Answer Answer 4,000 2,000...
LetXbe a discrete random variable with the following PMF: P(X=x) = 0.3 for x = 1,...
LetXbe a discrete random variable with the following PMF: P(X=x) = 0.3 for x = 1, a for x = 2, 0.5 for x= 3, 0 otherwise (a) Find the value of a. (b) Find Fx(x), the CDF of X. (c) What is the value of Fx(2)? (d) Find E[X]. (e) FindE[X^2]. (f) Find V ar(X) ---------------------- A certain area of the eastern United States is, on average,hit by 2 hurricanes a year. Find the probability that the area will...
Let X and Y have joint discrete distribution p(x, y) = 3 20 (.5 x )...
Let X and Y have joint discrete distribution p(x, y) = 3 20 (.5 x ) (.7 y ), x = 0, 1, 2, . . . , and y = 0, 1, 2, . . .. Find the marginal probability function P(X = x). [hint: for a geometric series X∞ n=0 arn with −1 < r < 1, r 6= 0, then X∞ n=0 arn = a 1 − r ]
8. (10 marks) A plane is missing and is presumed to have probability of i/6 of...
8. A plane is missing and is presumed to have probability of i/6 of being down in one of three regions, i=1,2,3. If a plane is actually down in region i, suppose there is a probability of 1- i/6 that the plane will be found upon a search of the i-th region. a) What is the probability the plane is in region 3, given a search of region 3 did not find the plane? b) What is the probability the...
I need to find the numbers I have missing... (Cash, Accounts Receivables, Inventory, Allowance for uncollectible...
I need to find the numbers I have missing... (Cash, Accounts Receivables, Inventory, Allowance for uncollectible accounts, Accounts payable, Bad debt expense) Exercise 7-21B Complete the accounting cycle using long-term asset transactions (LO7-4, 7-7) [The following information applies to the questions displayed below.]    On January 1, Year 1, the general ledger of a company includes the following account balances:    Accounts Debit Credit Cash $ 59,500 Accounts Receivable 26,600 Allowance for Uncollectible Accounts $ 3,000 Inventory 37,100 Notes Receivable...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT