2. Nonlinear regression Fit the above data with the following curve-fit equation: y \approx b_1 (\exp(b_2x) + \exp(b_3x)) Define a function of the sum of squared residuals (fSSR) as a function of the regression coefficients (b's). Minimize the fSSR function and determine the regression coefficients. Make a guess; what would be the built-in math function to generate the original data? Plot the function in the existing figure with a smooth dashed line. Calculate the coefficient of determination and the standard error of estimate.
Added by Thomas F.
Close
Step 1
Assuming you have the x and y data stored in separate vectors, you can import them into MATLAB using the following code: ```matlab x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; y = [0.5, 1.7, 3.4, 4.5, 6.1, 7.8, 9.2, 10.5, 12.3, 13.9]; ``` Show more…
Show all steps
Your feedback will help us improve your experience
Lainey Roebuck and 78 other Physics 101 Mechanics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Given the following paired observations on Y and X, graph Y versus X: (b) Calculate the correlation coefficient. (c) Determine the slope and intercept coefficients of the linear regression line. (d) Show the regression line on the graph of part (a). (2) Compute the predicted value of Y for each observed value of X. (f) Calculate R^2 and σ. (g) What is the predicted value of Y for X = 52 and X = 102?
Adi S.
2. Use data EZANDERS.dta to estimate the following regressions model: log (uclms) = β0 + β1 · t + d1feb + d2mar + · · · + d11dec + u (a) Report the regression results. (b) Add Enterprise zone (EZ) dummy variable (ez) to the above regression and estimate the first order autocorrelation coefficient as et = γ0 + γ1et−1 + t, where et is the OLS residual from the regression. What implications does this have for OLS? (c) If you want to use OLS but also want to obtain a valid standard error for the EZ coefficient, what would you do?
Sri K.
(a) find the least squares regression line and (b) calculate $S$, the sum of the squared errors. Use the regression capabilities of a graphing utility or a spreadsheet to verify your results. (GRAPH NOT COPY)
Functions of Several Variables
Least Squares Regression Analysis
Recommended Textbooks
University Physics with Modern Physics
Physics: Principles with Applications
Fundamentals of Physics
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD