Nonlinear Regression Major All Engineering Majors Authors Autar
- Slides: 18
Nonlinear Regression Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder http: //numericalmethods. eng. usf. edu Transforming Numerical Methods Education for STEM Undergraduates 10/6/2020 http: //numericalmethods. eng. usf. edu 1
Nonlinear Regression Some popular nonlinear regression models: 1. Exponential model: 2. Power model: 3. Saturation growth model: 4. Polynomial model: 2 http: //numericalmethods. eng. usf. edu
Nonlinear Regression Given n data points to the data, where best fit is a nonlinear function of . Figure. Nonlinear regression model for discrete y vs. x data 3 http: //numericalmethods. eng. usf. edu
Regression Exponential Model 4 http: //numericalmethods. eng. usf. edu
Exponential Model Given best fit to the data. Figure. Exponential model of nonlinear regression for y vs. x data 5 http: //numericalmethods. eng. usf. edu
Finding Constants of Exponential Model The sum of the square of the residuals is defined as Differentiate with respect to a and b 6 http: //numericalmethods. eng. usf. edu
Finding Constants of Exponential Model Rewriting the equations, we obtain 7 http: //numericalmethods. eng. usf. edu
Finding constants of Exponential Model Solving the first equation for a yields 8 http: //numericalmethods. eng. usf. edu
Example 1 -Exponential Model Many patients get concerned when a test involves injection of a radioactive material. For example for scanning a gallbladder, a few drops of Technetium 99 m isotope is used. Half of the Technetium-99 m would be gone in about 6 hours. It, however, takes about 24 hours for the radiation levels to reach what we are exposed to in day-to-day activities. Below is given the relative intensity of radiation as a function of time. Table. Relative intensity of radiation as a function of time. t(hrs) 9 0 1 3 5 7 9 1. 000 0. 891 0. 708 0. 562 0. 447 0. 355 http: //numericalmethods. eng. usf. edu
Example 1 -Exponential Model cont. The relative intensity is related to time by the equation Find: a) The value of the regression constants and b) The half-life of Technetium-99 m c) Radiation intensity after 24 hours 10 http: //numericalmethods. eng. usf. edu
Plot of data 11 http: //numericalmethods. eng. usf. edu
Constants of the Model The value of λ is found by solving the nonlinear equation 12 http: //numericalmethods. eng. usf. edu
Setting up the Equation in MATLAB t (hrs) 0 1 3 5 7 9 γ 1. 000 0. 891 0. 708 0. 562 0. 447 0. 355 13 http: //numericalmethods. eng. usf. edu
Setting up the Equation in MATLAB t=[0 1 3 5 7 9] gamma=[1 0. 891 0. 708 0. 562 0. 447 0. 355] syms lamda sum 1=sum(gamma. *t. *exp(lamda*t)); sum 2=sum(gamma. *exp(lamda*t)); sum 3=sum(exp(2*lamda*t)); sum 4=sum(t. *exp(2*lamda*t)); f=sum 1 -sum 2/sum 3*sum 4; 14 http: //numericalmethods. eng. usf. edu
Calculating the Other Constant The value of A can now be calculated The exponential regression model then is 15 http: //numericalmethods. eng. usf. edu
Plot of data and regression curve 16 http: //numericalmethods. eng. usf. edu
Relative Intensity After 24 hrs The relative intensity of radiation after 24 hours This result implies that only radioactive intensity is left after 24 hours. 17 http: //numericalmethods. eng. usf. edu
Homework • • 18 What is the half-life of Technetium-99 m isotope? Write a program in the language of your choice to find the constants of the model. Compare the constants of this regression model with the one where the data is transformed. What if the model was ? http: //numericalmethods. eng. usf. edu
- Nonlinear regression lecture notes
- Multiple nonlinear regression spss
- Nonlinear transformation regression
- 3-5 modeling with nonlinear regression
- Nonlinear multiple regression
- Contoh soal regresi kuadratik
- Nonlinear logistic regression
- Polymath nonlinear regression
- Simple and multiple linear regression
- Linear regression vs multiple regression
- Logistic regression vs linear regression
- Logistic regression vs linear regression
- Autar kaw
- Autar kaw
- Autar kaw
- Secant engineering
- Autar kaw
- Autar kaw
- Autar kaw