Template for parameter estimation with Matlab Optimization Toolbox; including dynamic systems
|
|
|
- Barnaby Hamilton
- 9 years ago
- Views:
Transcription
1 Template for parameter estimation with Matlab Optimization Toolbox; including dynamic systems 1. Curve fitting A weighted least squares fit for a model which is less complicated than the system that generated the data (a case of so called undermodeling ). System: 3x e x 0 1 y 2 ( x1) 1 x2 (1.1) Data (noise model): y y N(0, 0.05) (1.2) with additive zero mean white noise ZMWN with a standard deviation of Model to fit the data: data yfit a( xb) e (1.3) with parameters to be fitted = [a,b]. The model can be forced to fit the second part of the data (1 < x < 2) by assigning different weights to the data. Error function: w1 ydata yfit ( x, ) 0 x1 e wydata yfit ( x, ) w2 ydata yfit ( x, ) 1 x2 (1.4) with w 1 = 1 and w 2 = 10. To implement and solve the weighted least squares fitting problem in Matlab the function LSQNONLIN of the Optimization Toolbox is used. Optimization algorithms (in fact a minimization is performed) require the user to specify an initial guess 0 for the parameters. Here we use 0 = [0.1, 1 ]. The Matlab code in the box below can be copied and paste in the Matlab editor and then saved (or push the Run button which will save and automatically run the code). function myfit %myfit Weighted least squares fit %% create the first half of the data xdata1 = 0:.01:1; ydata1 = exp(-3*xdata1) + randn(size(xdata1))*.05; weight1 = ones(size(xdata1))*1; %% create the second half of the data % use a different function and with higher weights xdata2 = 1:.01:2; ydata2 = (xdata2-1).^2 + randn(size(xdata2))*.05; weight2 = ones(size(xdata2))*10; NvR 1
2 %% combine the two data sets xdata = [ xdata1 xdata2 ]; ydata = [ ydata1 ydata2 ]; weight = [ weight1 weight2 ]; %% call LSQNONLIN parameter_hat = lsqnonlin(@mycurve,[.1-1],[],[],[],xdata,ydata) %% plot the original data and fitted function plot(xdata,ydata,'b.') hold on fitted = exp(parameter_hat(1).*(parameter_hat(2) +xdata)); plot(xdata,fitted,'r') xlabel('x'); ylabel('y') legend('data', 'Fit') %% function that reports the error function err = mycurve(parameter,real_x, real_y) fit = exp(parameter(1).*(real_x + parameter(2))); err = fit - real_y; % weight the error according to the WEIGHT vector err_weighted = err.*weight; err = err_weighted; end end Executing this Matlab program results in: parameter_hat = Data Fit y x So yfit e ( x1.9679) NvR 2
3 However, here we do not obtain any information about the accuracy of the estimated ˆ. For example, we do not know how critical the fit depends on all digits in the parameter values returned by Matlab. 2. Parameter estimation for a dynamic model In the second example we consider a dynamical system. If blood plasma and a tissue or organ of interest can be considered as connected compartments then the following model can be used to describe tissue perfusion: dce K Ca C dt e C C t e e e in which the arterial plasma concentration C a (t) is the input and the tissue concentration C t (t) is the output. This linear differential equation model can be formed into 2 descriptions often used in system and control engineering. a) State space format: x () t Ax() t Bu() t y() t Cx() t Du() t K K u Ca, xce, y Ct A, B, C e, D 0 b) Transfer function: Ct () s K H() s C () s s K a e e The Control Toolbox from Matlab can be used to implement and simulate this model. The parameters = [K, e ] need to be estimated from clinical data. Tissue perfusion can be measured with Dynamic Contrast Enhanced MRI (DCE MRI). A contrast agent is injected into the bloodstream, circulates through the body and diffuses into tissues and organs. The kinetics of contrast enhancement is measured in a voxel in the tissue of interest, which can be lated into a concentration. The following noise (error) model is assumed/proposed: e y Ct (1.5) with ZMWN and therefore the sum of squared errors is used as estimator. In this case the purpose of the model is not just to be able to describe the data, but differences in the estimated parameter values have a biological meaning and might be used for clinical diagnosis and decisions. Hence it is critically important to assess the accuracy of the estimates. For this problem the estimator is the Maximum Likelihood Estimator (MLE) and it is possible to calculate the covariance NvR 3
4 matrix of the parameter estimates, which quantifies the accuracy of the estimate. (The inverse of the covariance matrix is known as the Fisher Information Matrix.) In the subsequent Matlab code it is shown how the covariance matrix can be calculated from the outputs provided by the LSQNONLIN function. As initial guesses 0 = [2e 3, 0.1] will be used. function compartment %compartment Estimating pharmacokinetic parameters using a dynamic 2 %compartment model %Loads datafile pmpat010.txt. %% Load data datafile = 'pmpat010.txt'; data = load(datafile); t=data(1,:); %[s] Ca=data(2,:); %[mm] arterial input function Ct=data(3,:); %[mm] tissue response figure; plot(t,ca,'.b',t,ct,'.r'); hold on xlabel('time [s]'); ylabel('[mm]') legend('aif','ct') N=length(Ct); %% Simulate model with initial parameter values %Simulate K = 2e-3; ve = 0.1; p = [K, ve]; [y,t] = compart_lsim(t,ca,p); plot(t,y,'k'); %% Estimate parameters and variances optim_options = optimset('display', 'iter',......%'tolfun', 1e-6,... %default: 1e-4...%'TolX', 1e-6,... %default: 1e-4 'LevenbergMarquardt', 'on'); %default: 'off' %optim_options = []; p0 = [K, ve]; [p,resnorm,residual,exitflag,output,lambda,jacobian] = lsqnonlin(@compart_error, p0, [],[],optim_options, t,ca,ct); disp(' ') p %Estimated parameter variance Jacobian = full(jacobian); %lsqnonlin returns the Jacobian as a sparse matrix varp = resnorm*inv(jacobian'*jacobian)/n stdp = sqrt(diag(varp)); %standard deviation is square root of variance stdp = 100*stdp'./p; %[%] disp([' K: ', num2str(p(1)), ' +/- ', num2str(stdp(1)), '%']) disp([' ve: ', num2str(p(2)), ' +/- ', num2str(stdp(2)), '%']); %% Simulate estimated model [y,t] = compart_lsim(t,ca,p); figure; subplot(211); plot(t,ct,'.r',t,y,'b'); xlabel('time [s]'); ylabel('[mm]') legend('data','model') NvR 4
5 xi = Ct(:)-y(:); %same as residual from lsqnonlin subplot(212); plot(t,xi) xlabel('time [s]'); legend('residuals \xi') assen=axis; %% function to simulate compartment model function [y,t] = compart_lsim(t,ca,p) K = p(1); ve = p(2); num = [K*ve]; den = [ve, K]; sys = tf(num,den); [y,t] = lsim(sys,ca,t); end %% function to calculate MLE error function xi = compart_error(p, t,ca,ct) [y,t] = compart_lsim(t,ca,p); xi = Ct(:)-y(:); %make sure both vectors are columns %figure(1); plot(t,ct,'.',t,y,'g'); hold off; drawnow %uncomment this line to show %datafir for each optimization iteration (slows down the execution) end end %main function When the program is executed, first a figure is returned with the input data (concentration in blood plasma, AIF, in blue), the output data (tissue compartment, Ct, in red) and the model simulation given the initial parameter values 0 (solid black line) AIF Ct [mm] Time [s] Secondly the results of the parameter estimation (vector of estimated parameters, estimated parameter covariance matrix, and the parameter estimates with their relative standard deviation, in (%)): p = NvR 5
6 varp = e-005 * K: / % ve: / % Finally, a figure with a plot of the identified model and the data (top panel), and a plot of the difference between model and data (residuals, bottom). [mm] data model Time [s] residuals Time [s] NvR 6
7 3. Template Finally a template is provided to estimate a subset of the parameters in a model (some parameters are assumed to be known and therefore are fixed) and the model is composed of a set of coupled first order nonlinear differential equations (simulated with one of the Matlab ode solvers). Template for Nonlinear Least Squares estimation and Fisher Information Matrix %% Load data %for example from Excel data = xlsread(... %obtain / define experimental time vector texp = %% Simulation time and input tsim = texp; %not necessarily the same %Input matrix (1st column time (can be different from experimental time), 2nd column, etc. corresponding input values tu = [texp,u1, u2,... %% Parameters and initial conditions of state variables k1 =... %assign parameters to vector with known (fixed) parameters and a vector of parameters to be estimated pest = [... pfix = [... %total parameter vector: p = [pfix pest] %the same for the initial conditions x0est = [... x0fix = [... %total initial conditions: x0 = [x0fix x0est] %total vector of quantities to be estimated: px0est=[pest x0est] %% Optimization algorithm %Settings lsqnonlin lb = zeros(size(px0est)); ub = []; options = optimset('tolfun', 1e-4,... %default: 1e-4 'TolX',1e-5,... %default: 1e-4 'LevenbergMarquardt','on',... %default: on 'LargeScale','on'); %default: on %LSQNONLIN: objective function should return the model error vector [px0est,resnorm,residual,exitflag,output,lambda,jacobian] = lsqnonlin(@objfnc,px0est,lb,ub,options,... texp,data,tu,pfix, x0fix); %% (estimated) Precision: Jacobian = full(jacobian); %lsqnonlin returns the jacobian as a sparse matrix %Parameter covariance matrix (inverse of Fisher Information Matrix) varp = resnorm*inv(jacobian'*jacobian)/length(texp); %Standard deviation is the square root of the variance stdp = sqrt(diag(varp)); NvR 7
8 %% Reconstruct parameter and initial condition vectors pest = px0est(.:.) p = [pfix pest]; x0est = px0est(.:.) x0 = [x0fix x0est]; %% Simulation with estimated parameters ode_options = []; [t,x] = ode15s(@odefnc,tsim,x0,ode_options, tu,p); -- %Objective / cost function for least squares function e = objfnc(px0est, texp, data, tu,pfix,x0fix) % e: vector of model residuals %Reconstruct parameter and initial condition vectors pest = px0est(.:.) p = [pfix pest]; x0est = px0est(.:.) x0 = [x0fix x0est]; %% Simulation ode_options = []; [t,x] = ode15s(@odefnc,texp,x0,ode_options, tu,p); %Model output(s) y = x(:,1); %% Model residuals e = data-y; -- %Model in state-space format (system of coupled 1st order ODE's) function dx = odefnc(t,x,tu, p) % t : current time % x : state values at time t % tu: matrix with time points (1st column) and corresponding input signal value (2nd column) % p : parameters % dx: new state derivatives (column vector) %calculate input u(k) by interpolation of tu u = interp1(tu(:,1),tu(:,2), t); %ode's dx1 =... %collect derivatives in column vector dx = [dx1; dx2...]; NvR 8
8. Linear least-squares
8. Linear least-squares EE13 (Fall 211-12) definition examples and applications solution of a least-squares problem, normal equations 8-1 Definition overdetermined linear equations if b range(a), cannot
Gamma Distribution Fitting
Chapter 552 Gamma Distribution Fitting Introduction This module fits the gamma probability distributions to a complete or censored set of individual or grouped data values. It outputs various statistics
Scicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command
7 Getting Started 7.1 Construction of a Simple Diagram Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes
Least Squares Estimation
Least Squares Estimation SARA A VAN DE GEER Volume 2, pp 1041 1045 in Encyclopedia of Statistics in Behavioral Science ISBN-13: 978-0-470-86080-9 ISBN-10: 0-470-86080-4 Editors Brian S Everitt & David
AC 2012-4561: MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT
AC 2012-4561: MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT Dr. Nikunja Swain, South Carolina State University Nikunja Swain is a professor in the College of Science, Mathematics,
AT2 PROBLEM SET #3. Problem 1
AT2 PROBLEM SET #3 Problem 1 We want to simulate a neuron with autapse. To make this we use Euler method and we simulated system for different initial values. (a) Neuron s activation function f = [50*(1
Machine Learning and Data Mining. Regression Problem. (adapted from) Prof. Alexander Ihler
Machine Learning and Data Mining Regression Problem (adapted from) Prof. Alexander Ihler Overview Regression Problem Definition and define parameters ϴ. Prediction using ϴ as parameters Measure the error
Applications to Data Smoothing and Image Processing I
Applications to Data Smoothing and Image Processing I MA 348 Kurt Bryan Signals and Images Let t denote time and consider a signal a(t) on some time interval, say t. We ll assume that the signal a(t) is
1 2 3 1 1 2 x = + x 2 + x 4 1 0 1
(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which
STATISTICA Formula Guide: Logistic Regression. Table of Contents
: Table of Contents... 1 Overview of Model... 1 Dispersion... 2 Parameterization... 3 Sigma-Restricted Model... 3 Overparameterized Model... 4 Reference Coding... 4 Model Summary (Summary Tab)... 5 Summary
The KaleidaGraph Guide to Curve Fitting
The KaleidaGraph Guide to Curve Fitting Contents Chapter 1 Curve Fitting Overview 1.1 Purpose of Curve Fitting... 5 1.2 Types of Curve Fits... 5 Least Squares Curve Fits... 5 Nonlinear Curve Fits... 6
Manifold Learning Examples PCA, LLE and ISOMAP
Manifold Learning Examples PCA, LLE and ISOMAP Dan Ventura October 14, 28 Abstract We try to give a helpful concrete example that demonstrates how to use PCA, LLE and Isomap, attempts to provide some intuition
MatLab - Systems of Differential Equations
Fall 2015 Math 337 MatLab - Systems of Differential Equations This section examines systems of differential equations. It goes through the key steps of solving systems of differential equations through
SAS Software to Fit the Generalized Linear Model
SAS Software to Fit the Generalized Linear Model Gordon Johnston, SAS Institute Inc., Cary, NC Abstract In recent years, the class of generalized linear models has gained popularity as a statistical modeling
NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )
Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates
Automatic Detection of Emergency Vehicles for Hearing Impaired Drivers
Automatic Detection of Emergency Vehicles for Hearing Impaired Drivers Sung-won ark and Jose Trevino Texas A&M University-Kingsville, EE/CS Department, MSC 92, Kingsville, TX 78363 TEL (36) 593-2638, FAX
Curve Fitting Best Practice
Enabling Science Curve Fitting Best Practice Part 5: Robust Fitting and Complex Models Most researchers are familiar with standard kinetics, Michaelis-Menten and dose response curves, but there are many
POLYNOMIAL AND MULTIPLE REGRESSION. Polynomial regression used to fit nonlinear (e.g. curvilinear) data into a least squares linear regression model.
Polynomial Regression POLYNOMIAL AND MULTIPLE REGRESSION Polynomial regression used to fit nonlinear (e.g. curvilinear) data into a least squares linear regression model. It is a form of linear regression
CS3220 Lecture Notes: QR factorization and orthogonal transformations
CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss
Dealing with Data in Excel 2010
Dealing with Data in Excel 2010 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing
The Method of Least Squares
The Method of Least Squares Steven J. Miller Mathematics Department Brown University Providence, RI 0292 Abstract The Method of Least Squares is a procedure to determine the best fit line to data; the
Appendix H: Control System Computational Aids
E1BAPP08 11/02/2010 11:56:59 Page 1 Appendix H: Control System Computational Aids H.1 Step Response of a System Represented in State Space In this section we will discuss how to obtain the step response
MATLAB Workshop 14 - Plotting Data in MATLAB
MATLAB: Workshop 14 - Plotting Data in MATLAB page 1 MATLAB Workshop 14 - Plotting Data in MATLAB Objectives: Learn the basics of displaying a data plot in MATLAB. MATLAB Features: graphics commands Command
POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES
POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES L. Novotny 1, P. Strakos 1, J. Vesely 1, A. Dietmair 2 1 Research Center of Manufacturing Technology, CTU in Prague, Czech Republic 2 SW, Universität
1 Example of Time Series Analysis by SSA 1
1 Example of Time Series Analysis by SSA 1 Let us illustrate the 'Caterpillar'-SSA technique [1] by the example of time series analysis. Consider the time series FORT (monthly volumes of fortied wine sales
CCNY. BME I5100: Biomedical Signal Processing. Linear Discrimination. Lucas C. Parra Biomedical Engineering Department City College of New York
BME I5100: Biomedical Signal Processing Linear Discrimination Lucas C. Parra Biomedical Engineering Department CCNY 1 Schedule Week 1: Introduction Linear, stationary, normal - the stuff biology is not
Typical Linear Equation Set and Corresponding Matrices
EWE: Engineering With Excel Larsen Page 1 4. Matrix Operations in Excel. Matrix Manipulations: Vectors, Matrices, and Arrays. How Excel Handles Matrix Math. Basic Matrix Operations. Solving Systems of
P164 Tomographic Velocity Model Building Using Iterative Eigendecomposition
P164 Tomographic Velocity Model Building Using Iterative Eigendecomposition K. Osypov* (WesternGeco), D. Nichols (WesternGeco), M. Woodward (WesternGeco) & C.E. Yarman (WesternGeco) SUMMARY Tomographic
1 Review of Least Squares Solutions to Overdetermined Systems
cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares
Signal to Noise Instrumental Excel Assignment
Signal to Noise Instrumental Excel Assignment Instrumental methods, as all techniques involved in physical measurements, are limited by both the precision and accuracy. The precision and accuracy of a
ADVANCED APPLICATIONS OF ELECTRICAL ENGINEERING
Development of a Software Tool for Performance Evaluation of MIMO OFDM Alamouti using a didactical Approach as a Educational and Research support in Wireless Communications JOSE CORDOVA, REBECA ESTRADA
Section 14 Simple Linear Regression: Introduction to Least Squares Regression
Slide 1 Section 14 Simple Linear Regression: Introduction to Least Squares Regression There are several different measures of statistical association used for understanding the quantitative relationship
15.062 Data Mining: Algorithms and Applications Matrix Math Review
.6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop
Solving ODEs in Matlab. BP205 M.Tremont 1.30.2009
Solving ODEs in Matlab BP205 M.Tremont 1.30.2009 - Outline - I. Defining an ODE function in an M-file II. III. IV. Solving first-order ODEs Solving systems of first-order ODEs Solving higher order ODEs
T-61.3050 : Email Classification as Spam or Ham using Naive Bayes Classifier. Santosh Tirunagari : 245577
T-61.3050 : Email Classification as Spam or Ham using Naive Bayes Classifier Santosh Tirunagari : 245577 January 20, 2011 Abstract This term project gives a solution how to classify an email as spam or
Dimensionality Reduction: Principal Components Analysis
Dimensionality Reduction: Principal Components Analysis In data mining one often encounters situations where there are a large number of variables in the database. In such situations it is very likely
PHAR 7633 Chapter 19 Multi-Compartment Pharmacokinetic Models
Student Objectives for this Chapter PHAR 7633 Chapter 19 Multi-Compartment Pharmacokinetic Models To draw the scheme and write the differential equations appropriate to a multi-compartment pharmacokinetic
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0
The Method of Least Squares. Lectures INF2320 p. 1/80
The Method of Least Squares Lectures INF2320 p. 1/80 Lectures INF2320 p. 2/80 The method of least squares We study the following problem: Given n points (t i,y i ) for i = 1,...,n in the (t,y)-plane. How
On Parametric Model Estimation
Proceedings of the 11th WSEAS International Conference on COMPUTERS, Agios Nikolaos, Crete Island, Greece, July 26-28, 2007 608 On Parametric Model Estimation LUMINITA GIURGIU, MIRCEA POPA Technical Sciences
LS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
Understanding and Applying Kalman Filtering
Understanding and Applying Kalman Filtering Lindsay Kleeman Department of Electrical and Computer Systems Engineering Monash University, Clayton 1 Introduction Objectives: 1. Provide a basic understanding
Multiple Optimization Using the JMP Statistical Software Kodak Research Conference May 9, 2005
Multiple Optimization Using the JMP Statistical Software Kodak Research Conference May 9, 2005 Philip J. Ramsey, Ph.D., Mia L. Stephens, MS, Marie Gaudard, Ph.D. North Haven Group, http://www.northhavengroup.com/
Weighted-Least-Square(WLS) State Estimation
Weighted-Least-Square(WLS) State Estimation Yousu Chen PNNL December 18, 2015 This document is a description of how to formulate the weighted-least squares (WLS) state estimation problem. Most of the formulation
Curve Fitting. Before You Begin
Curve Fitting Chapter 16: Curve Fitting Before You Begin Selecting the Active Data Plot When performing linear or nonlinear fitting when the graph window is active, you must make the desired data plot
Multi-variable Calculus and Optimization
Multi-variable Calculus and Optimization Dudley Cooke Trinity College Dublin Dudley Cooke (Trinity College Dublin) Multi-variable Calculus and Optimization 1 / 51 EC2040 Topic 3 - Multi-variable Calculus
Cooling and Euler's Method
Lesson 2: Cooling and Euler's Method 2.1 Applied Problem. Heat transfer in a mass is very important for a number of objects such as cooling of electronic parts or the fabrication of large beams. Although
Logistic Regression (1/24/13)
STA63/CBB540: Statistical methods in computational biology Logistic Regression (/24/3) Lecturer: Barbara Engelhardt Scribe: Dinesh Manandhar Introduction Logistic regression is model for regression used
Lecture 2 Linear functions and examples
EE263 Autumn 2007-08 Stephen Boyd Lecture 2 Linear functions and examples linear equations and functions engineering examples interpretations 2 1 Linear equations consider system of linear equations y
6. Cholesky factorization
6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix
Diffusione e perfusione in risonanza magnetica. E. Pagani, M. Filippi
Diffusione e perfusione in risonanza magnetica E. Pagani, M. Filippi DW-MRI DIFFUSION-WEIGHTED MRI Principles Diffusion results from a microspic random motion known as Brownian motion THE RANDOM WALK How
APPM4720/5720: Fast algorithms for big data. Gunnar Martinsson The University of Colorado at Boulder
APPM4720/5720: Fast algorithms for big data Gunnar Martinsson The University of Colorado at Boulder Course objectives: The purpose of this course is to teach efficient algorithms for processing very large
Review Jeopardy. Blue vs. Orange. Review Jeopardy
Review Jeopardy Blue vs. Orange Review Jeopardy Jeopardy Round Lectures 0-3 Jeopardy Round $200 How could I measure how far apart (i.e. how different) two observations, y 1 and y 2, are from each other?
Lecture 5 Least-squares
EE263 Autumn 2007-08 Stephen Boyd Lecture 5 Least-squares least-squares (approximate) solution of overdetermined equations projection and orthogonality principle least-squares estimation BLUE property
Numerical Methods in MATLAB
Numerical Methods in MATLAB Center for Interdisciplinary Research and Consulting Department of Mathematics and Statistics University of Maryland, Baltimore County www.umbc.edu/circ Winter 2008 Mission
Module 2 Introduction to SIMULINK
Module 2 Introduction to SIMULINK Although the standard MATLAB package is useful for linear systems analysis, SIMULINK is far more useful for control system simulation. SIMULINK enables the rapid construction
We shall turn our attention to solving linear systems of equations. Ax = b
59 Linear Algebra We shall turn our attention to solving linear systems of equations Ax = b where A R m n, x R n, and b R m. We already saw examples of methods that required the solution of a linear system
Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data
Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable
PROGRAMMING FOR CIVIL AND BUILDING ENGINEERS USING MATLAB
PROGRAMMING FOR CIVIL AND BUILDING ENGINEERS USING MATLAB By Mervyn W Minett 1 and Chris Perera 2 ABSTRACT There has been some reluctance in Australia to extensively use programming platforms to support
Package EstCRM. July 13, 2015
Version 1.4 Date 2015-7-11 Package EstCRM July 13, 2015 Title Calibrating Parameters for the Samejima's Continuous IRT Model Author Cengiz Zopluoglu Maintainer Cengiz Zopluoglu
STATISTICS AND DATA ANALYSIS IN GEOLOGY, 3rd ed. Clarificationof zonationprocedure described onpp. 238-239
STATISTICS AND DATA ANALYSIS IN GEOLOGY, 3rd ed. by John C. Davis Clarificationof zonationprocedure described onpp. 38-39 Because the notation used in this section (Eqs. 4.8 through 4.84) is inconsistent
Fitting Subject-specific Curves to Grouped Longitudinal Data
Fitting Subject-specific Curves to Grouped Longitudinal Data Djeundje, Viani Heriot-Watt University, Department of Actuarial Mathematics & Statistics Edinburgh, EH14 4AS, UK E-mail: [email protected] Currie,
Parameter Estimation for Bingham Models
Dr. Volker Schulz, Dmitriy Logashenko Parameter Estimation for Bingham Models supported by BMBF Parameter Estimation for Bingham Models Industrial application of ceramic pastes Material laws for Bingham
Computational Optical Imaging - Optique Numerique. -- Deconvolution --
Computational Optical Imaging - Optique Numerique -- Deconvolution -- Winter 2014 Ivo Ihrke Deconvolution Ivo Ihrke Outline Deconvolution Theory example 1D deconvolution Fourier method Algebraic method
General Framework for an Iterative Solution of Ax b. Jacobi s Method
2.6 Iterative Solutions of Linear Systems 143 2.6 Iterative Solutions of Linear Systems Consistent linear systems in real life are solved in one of two ways: by direct calculation (using a matrix factorization,
MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =
MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the
7 Time series analysis
7 Time series analysis In Chapters 16, 17, 33 36 in Zuur, Ieno and Smith (2007), various time series techniques are discussed. Applying these methods in Brodgar is straightforward, and most choices are
Regression Clustering
Chapter 449 Introduction This algorithm provides for clustering in the multiple regression setting in which you have a dependent variable Y and one or more independent variables, the X s. The algorithm
CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION
No: CITY UNIVERSITY LONDON BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION ENGINEERING MATHEMATICS 2 (resit) EX2005 Date: August
Medical Image Processing on the GPU. Past, Present and Future. Anders Eklund, PhD Virginia Tech Carilion Research Institute [email protected].
Medical Image Processing on the GPU Past, Present and Future Anders Eklund, PhD Virginia Tech Carilion Research Institute [email protected] Outline Motivation why do we need GPUs? Past - how was GPU programming
Curve Fitting with Maple
Curve Fitting with Maple Maplesoft, a division of Waterloo Maple Inc., 2007 Introduction Maple includes a number of assistants that allows a user to experiment and easily perform key tasks. This Tips and
CD-ROM Appendix E: Matlab
CD-ROM Appendix E: Matlab Susan A. Fugett Matlab version 7 or 6.5 is a very powerful tool useful for many kinds of mathematical tasks. For the purposes of this text, however, Matlab 7 or 6.5 will be used
Logistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression
Logistic Regression Department of Statistics The Pennsylvania State University Email: [email protected] Logistic Regression Preserve linear classification boundaries. By the Bayes rule: Ĝ(x) = arg max
Appendix 4 Simulation software for neuronal network models
Appendix 4 Simulation software for neuronal network models D.1 Introduction This Appendix describes the Matlab software that has been made available with Cerebral Cortex: Principles of Operation (Rolls
Numerical Solution of Differential Equations
Numerical Solution of Differential Equations Dr. Alvaro Islas Applications of Calculus I Spring 2008 We live in a world in constant change We live in a world in constant change We live in a world in constant
The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network
, pp.67-76 http://dx.doi.org/10.14257/ijdta.2016.9.1.06 The Combination Forecasting Model of Auto Sales Based on Seasonal Index and RBF Neural Network Lihua Yang and Baolin Li* School of Economics and
Mass Spectrometry Signal Calibration for Protein Quantitation
Cambridge Isotope Laboratories, Inc. www.isotope.com Proteomics Mass Spectrometry Signal Calibration for Protein Quantitation Michael J. MacCoss, PhD Associate Professor of Genome Sciences University of
System Identification for Acoustic Comms.:
System Identification for Acoustic Comms.: New Insights and Approaches for Tracking Sparse and Rapidly Fluctuating Channels Weichang Li and James Preisig Woods Hole Oceanographic Institution The demodulation
AUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.
AUTOMATION OF ENERGY DEMAND FORECASTING by Sanzad Siddique, B.S. A Thesis submitted to the Faculty of the Graduate School, Marquette University, in Partial Fulfillment of the Requirements for the Degree
A Comparison of Nonlinear. Regression Codes
A Comparison of Nonlinear Regression Codes by Paul Fredrick Mondragon Submitted in Partial Fulfillment of the Requirements for the Degree of Master of Science in Mathematics with Operations Research and
Nonlinear Statistical Models
Nonlinear Statistical Models Earlier in the course, we considered the general linear statistical model (GLM): y i =β 0 +β 1 x 1i + +β k x ki +ε i, i= 1,, n, written in matrix form as: y 1 y n = 1 x 11
Quick Tour of Mathcad and Examples
Fall 6 Quick Tour of Mathcad and Examples Mathcad provides a unique and powerful way to work with equations, numbers, tests and graphs. Features Arithmetic Functions Plot functions Define you own variables
An Introduction to Using Simulink
An Introduction to Using Simulink Eric Peasley, Department of Engineering Science, University of Oxford version 4.0, 2013 An Introduction To Using Simulink. Eric Peasley, Department of Engineering Science,
PEST - Beyond Basic Model Calibration. Presented by Jon Traum
PEST - Beyond Basic Model Calibration Presented by Jon Traum Purpose of Presentation Present advance techniques available in PEST for model calibration High level overview Inspire more people to use PEST!
Linear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka [email protected] http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
Confidence Intervals for One Standard Deviation Using Standard Deviation
Chapter 640 Confidence Intervals for One Standard Deviation Using Standard Deviation Introduction This routine calculates the sample size necessary to achieve a specified interval width or distance from
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model
Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data In the measurement of the Spin-Lattice Relaxation time T 1, a 180 o pulse is followed after a delay time of t with a 90 o pulse,
MATLAB Functions. function [Out_1,Out_2,,Out_N] = function_name(in_1,in_2,,in_m)
MATLAB Functions What is a MATLAB function? A MATLAB function is a MATLAB program that performs a sequence of operations specified in a text file (called an m-file because it must be saved with a file
Operation Count; Numerical Linear Algebra
10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point
Two Topics in Parametric Integration Applied to Stochastic Simulation in Industrial Engineering
Two Topics in Parametric Integration Applied to Stochastic Simulation in Industrial Engineering Department of Industrial Engineering and Management Sciences Northwestern University September 15th, 2014
Distribution (Weibull) Fitting
Chapter 550 Distribution (Weibull) Fitting Introduction This procedure estimates the parameters of the exponential, extreme value, logistic, log-logistic, lognormal, normal, and Weibull probability distributions
SIXTY STUDY QUESTIONS TO THE COURSE NUMERISK BEHANDLING AV DIFFERENTIALEKVATIONER I
Lennart Edsberg, Nada, KTH Autumn 2008 SIXTY STUDY QUESTIONS TO THE COURSE NUMERISK BEHANDLING AV DIFFERENTIALEKVATIONER I Parameter values and functions occurring in the questions belowwill be exchanged
Nonlinear Iterative Partial Least Squares Method
Numerical Methods for Determining Principal Component Analysis Abstract Factors Béchu, S., Richard-Plouet, M., Fernandez, V., Walton, J., and Fairley, N. (2016) Developments in numerical treatments for
Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm
1 Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm Hani Mehrpouyan, Student Member, IEEE, Department of Electrical and Computer Engineering Queen s University, Kingston, Ontario,
Lecture 5: Singular Value Decomposition SVD (1)
EEM3L1: Numerical and Analytical Techniques Lecture 5: Singular Value Decomposition SVD (1) EE3L1, slide 1, Version 4: 25-Sep-02 Motivation for SVD (1) SVD = Singular Value Decomposition Consider the system
