A Nonlinear Least-Squares Graphical Tool (‘Gaussfit’) for Educational Purposes

2010 ◽  
Vol 47 (1) ◽  
pp. 11-22 ◽  
Author(s):  
Krešimir Malarić ◽  
Roman Malarić ◽  
Hrvoje Hegeduš

This paper describes a computer program that finds a function which closely approximates experimental data using the least-squares method. The program finds parameters of the function as well as their corresponding uncertainties. It also has a subroutine for graphical presentation of the input data and the function. The program is used for educational purposes at undergraduate level for students who are learning least-squares fitting, how to solve systems of linear equations and about computer calculation errors.

Geophysics ◽  
2003 ◽  
Vol 68 (4) ◽  
pp. 1126-1131 ◽  
Author(s):  
Melissa Whitten Bryan ◽  
Kenneth W. Holladay ◽  
Clyde J. Bergeron ◽  
Juliette W. Ioup ◽  
George E. Ioup

An airborne electromagnetic survey was performed over the marsh and estuarine waters of the Barataria basin of Louisiana. Two inversion methods were applied to the measured data to calculate layer thicknesses and conductivities: the modified image method (MIM) and a nonlinear least‐squares method of inversion using two two‐layer forward models and one three‐layer forward model, with results generally in good agreement. Uniform horizontal water layers in the near‐shore Gulf of Mexico with the fresher (less saline, less conductive) water above the saltier (more saline, more conductive) water can be seen clearly. More complex near‐surface layering showing decreasing salinity/conductivity with depth can be seen in the marshes and inland areas. The first‐layer water depth is calculated to be 1–2 m, with the second‐layer water depth around 4 m. The first‐layer marsh and beach depths are computed to be 0–3 m, and the second‐layer marsh and beach depths vary from 2 to 9 m. The first‐layer water conductivity is calculated to be 2–3 S/m, with the second‐layer water conductivity around 3 to 4 S/m and the third‐layer water conductivity 4–5 S/m. The first‐layer marsh conductivity is computed to be mainly 1–2 S/m, and the second‐ and third‐layer marsh conductivities vary from 0.5 to 1.5 S/m, with the conductivities decreasing as depth increases except on the beach, where layer three has a much higher conductivity, ranging up to 3 S/m.


2011 ◽  
Vol 462-463 ◽  
pp. 1164-1169
Author(s):  
Jing Xiang Yang ◽  
Ya Xin Zhang ◽  
Mamtimin Gheni ◽  
Ping Ping Chang ◽  
Kai Yin Chen ◽  
...  

In this paper, strength evaluations and reliability analysis are conducted for different types of PSSS(Periodically Symmetric Struts Supports) based on the FEA(Finite Element Analysis). The numerical models are established at first, and the PMA(Prestressed Modal Analysis) is conducted. The nodal stress value of all of the gauss points in elements are extracted out and the stress distributions are evaluated for each type of PSSS. Then using nonlinear least squares method, curve fitting is carried out, and the stress probability distribution function is obtained. The results show that although using different number of struts, the stress distribution function obeys the exponential distribution. By using nonlinear least squares method again for the distribution parameters a and b of different exponential functions, the relationship between number of struts and distribution function is obtained, and the mathematical models of the stress probability distribution functions for different supports are established. Finally, the new stress distribution model is introduced by considering the DSSI(Damaged Stress-Strength Interference), and the reliability evaluation for different types of periodically symmetric struts supports is carried out.


Geophysics ◽  
1972 ◽  
Vol 37 (2) ◽  
pp. 260-272 ◽  
Author(s):  
Leonidas C. Ocola

An iterative inversion method (Reframap) based on the kinematic properties of critically refracted waves is developed. The method is based on ray tracing and assumes homogeneous and isotropic media and ray paths confined to a vertical plane through each source‐detector pair. Unlike the earlier Profile or Time‐Term Methods, no restrictions are imposed on interface topography except that it be continuous almost everywhere (in the mathematical sense). As in the preexisting methods, more observations than unknowns are assumed. The algorithm and procedure, on which the Reframap Method is based, generate apparent dips for each source detector pair at the noncritical interfaces from the slope of a least‐squares line approximation to the interface functional in the neighborhood of each refraction point. In turn, the dip and path along the critical refractor is, at every iteration, pairwise approximated by a line through the critical refracting points. The incidence angles are computed recursively by Snell’s law. The solution of the overdetermined, nonlinear multiple refractor time‐distance system of simultaneous equations is sought by Marquardt’s algorithm for least‐squares estimation of critical refractor velocity and vertical thickness under each element.


2022 ◽  
Vol 10 (1) ◽  
pp. 102
Author(s):  
Zhiyao Zhu ◽  
Huilong Ren ◽  
Xiuhuan Wang ◽  
Nan Zhao ◽  
Chenfeng Li

The limit state function is important for the assessment of the longitudinal strength of damaged ships under combined bending moments in severe waves. As the limit state function cannot be obtained directly, the common approach is to calculate the results for the residual strength and approximate the limit state function by fitting, for which various methods have been proposed. In this study, four commonly used fitting methods are investigated: namely, the least-squares method, the moving least-squares method, the radial basis function neural network method, and the weighted piecewise fitting method. These fitting methods are adopted to fit the limit state functions of four typically sample distribution models as well as a damaged tanker and damaged bulk carrier. The residual strength of a damaged ship is obtained by an improved Smith method that accounts for the rotation of the neutral axis. Analysis of the results shows the accuracy of the linear least-squares method and nonlinear least-squares method, which are most commonly used by researchers, is relatively poor, while the weighted piecewise fitting method is the better choice for all investigated combined-bending conditions.


1992 ◽  
Vol 42 (1) ◽  
pp. 29-48 ◽  
Author(s):  
Jeanne Rudzki Small ◽  
Louis J. Libertini ◽  
Enoch W. Small

Entropy ◽  
2020 ◽  
Vol 22 (9) ◽  
pp. 985
Author(s):  
Youngsaeng Lee ◽  
Jeong-Soo Park

The approximated nonlinear least squares (ALS) method has been used for the estimation of unknown parameters in the complex computer code which is very time-consuming to execute. The ALS calibrates or tunes the computer code by minimizing the squared difference between real observations and computer output using a surrogate such as a Gaussian process model. When the differences (residuals) are correlated or heteroscedastic, the ALS may result in a distorted code tuning with a large variance of estimation. Another potential drawback of the ALS is that it does not take into account the uncertainty in the approximation of the computer model by a surrogate. To address these problems, we propose a generalized ALS (GALS) by constructing the covariance matrix of residuals. The inverse of the covariance matrix is multiplied to the residuals, and it is minimized with respect to the tuning parameters. In addition, we consider an iterative version for the GALS, which is called as the max-minG algorithm. In this algorithm, the parameters are re-estimated and updated by the maximum likelihood estimation and the GALS, by using both computer and experimental data repeatedly until convergence. Moreover, the iteratively re-weighted ALS method (IRWALS) was considered for a comparison purpose. Five test functions in different conditions are examined for a comparative analysis of the four methods. Based on the test function study, we find that both the bias and variance of estimates obtained from the proposed methods (the GALS and the max-minG) are smaller than those from the ALS and the IRWALS methods. Especially, the max-minG works better than others including the GALS for the relatively complex test functions. Lastly, an application to a nuclear fusion simulator is illustrated and it is shown that the abnormal pattern of residuals in the ALS can be resolved by the proposed methods.


Sign in / Sign up

Export Citation Format

Share Document