2 ax h-r 2. The following data represents a scientific model y 3b Use the Use...
8. (16 points) Suppose you use a quadratic curve y = ax? +b to fit the three (x,y) points (1,3), (0,-1), (-1,1). Use matrix method as described in class to find the least squares estimate of the constants a and b in the above equation. In particular, formulate the relevant normal equation, whose solution leads to the least squares estimates of a and b, and hence obtain the least squares estimate of a and b.
Use the data below to answer questions 1 to 6. Use a multiple linear regression model with linear main effects only Show all calculations. No credit will be given for computer output x2 x1 7.2 0 8.1 0 9.8 12.3 12.9 0 50.3 0 Sum 531.19 2 Sum of Squares Write out the ANOVA table. Show the matrix calculations of SSreg, SSes and SSpotal HTML Editon 0 words 띠+ 3 5 6 7 8 9 Y U O P D...
The N. Yazdak Computer Company had the following data, where y represents earnings in thousands of dollars after x years of operation. 3 x: 5 13 7 17 y: 22 (a)-Identify your random variable(s). (b) 3Plot the data (points) on graph paper. (c) -16 Find the coefficient of correlation for the data and briefly comment on its value. Set up the necessary table to find the least squares line. Find the least squares line. Use your least squares line from...
Using MATLAB, The following data is given: 13 14 15 15 2 10 12 (a) Use linear least-squares regression to determine the coefficients m and b in the function y - mx+b that best fits the data (b) Make a plot that shows the function and the data points.
2. Using the following data set find a prediction equation ( 9 = ax + b) relating the factor (x) and the response data (y). You can use Excel, Matlab, or similar software to help with the process. Comment on the predicted and adjusted R2 values of the resulting model. х у (y - ) (y-7) (ŷ - y) 100 100 100 100 200 200 200 200 500 500 500 500 16.7 12.2 8.4 6.6 15.3 10.7 10.3 21.1 45.6...
4. We have the following data r 12 3 2 4.2 5. When you fitted a linear model to this data set, you solved a least squares problem. Your task here is to perform a SVD and then use it to solve the least squares problem. 4. We have the following data r 12 3 2 4.2 5. When you fitted a linear model to this data set, you solved a least squares problem. Your task here is to perform...
Non-Polynomial Models ("Transforming" the Data) The four data points at right are measurements of the amount of mustard (y;) left behind in a container as a function of the force (x) you squeezed the bottle. You want to calibrate an analytic model y =f(x) for future mustard-container analysis You're considering the following five models for f(x) 6.4 6 4 i. f(x)-a+be for two unknown coefficients a and b for three unknown coefficients P, Q and S iii. f(x)-11x2 + 11x...
2. Suppose Y ~ Exp(a), which has pdf f(y)-1 exp(-y/a). (a) Use the following R code to generate data from the model Yi ~ Exp(0.05/Xi), and provide the scatterplot of Y against X set.seed(123) n <- 500 <-rnorm (n, x 3, 1) Y <- rexp(n, X) (b) Fit the model Yi-Ao + Ax, + ε¡ using the lm function in R and provide a plot of the best fit line on the scatterplot of Y vs X, and the residual...
Odessa, Inc., manufactures one model of computer desk. The following data are available regarding units shipped and total shipping costs: Number Total of Units Shipping Cost Month Shipped 3500 2.500 February 75 March 45 June July 80 4.000 50 3,450 Required: 1. Prepare a scattergraph of Odessa's shipping cost and draw the line you believe best fits the data. Instructions: 1. Use the point tool (7 points) to plot each Units Shipped / Total cost combination. 2. To enter exact...
Air Force servicemen and servicewomen were tested for maximal oxygen use in a 12 min distance run versus a 1.5 mile run. The participant runs on a level terrain for the prescribed distance. The technicians records the participant’s time to the closet second, the heart rate for 15 s immediately after the participant crosses the finish line and then estimate the VO2 max consumption using a Wilmore and Bergfeld fitness table. Data 1.5 Mile Run (n=29) X y Time...