{"id":2493,"date":"2023-06-27T16:05:14","date_gmt":"2023-06-27T16:05:14","guid":{"rendered":"https:\/\/nag.com\/?page_id=2493"},"modified":"2024-03-22T10:17:35","modified_gmt":"2024-03-22T10:17:35","slug":"general-nonlinear-data-fitting","status":"publish","type":"page","link":"https:\/\/nag.com\/general-nonlinear-data-fitting\/","title":{"rendered":"General Nonlinear Data Fitting"},"content":{"rendered":"\n<div class=\"gbc-title-banner ta ta-lg ta-xl\" style='background-color: #082d48ff; color: #ffffffff; border-radius: 0px; '>\n    <div class=\"container\" style='border-radius: 0px; '>\n        <div class=\"row justify-content--center\" style='color: #ffffffff;'>\n            <div class=\"col-12\"  >\n                <div class=\"wrap pv-4 \" style=\"0px\">\n                                <div class=\"col-12 col-md-12 col-lg-10 col-xl-8  banner-content\"  >\n    \n                                             <h1>General Nonlinear Data Fitting<\/h1>\n                    \n                    <div class=\"mt-1 mb-1 content\"><\/div>\n\n                    \n                                    <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<!-- Spacer -->\n<div class=\"pt-4 pt-lg-4 pt-xl-4\" ><\/div>\n\n<div class=\"container content-area-default \">\n    <div class=\"row justify-content--center\">\n        <div class=\"col-12 col-md-12 col-lg-10 col-xl-8\">\n            <p>Within the <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting. It encapsulates a selection of calibration models (the loss function and regularization types) making it a great starting point for the journey of exploring the nonlinear nature of your experimental data.<\/p>\n<p>Nonlinear data fitting (calibration) concerns finding optimal model parameters so the model follows the observed data. Widely used methods, such as ordinary least squares, don\u2019t always capture the underlying data distribution; the <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG\u00ae Library solver also supports robust regression methods, particularly useful in the presence of outliers in the data. The solver offers a great variety of the models, such as Least Absolute Value and Cauchy, possibly extended with \\( 1_{1} \\) norm or \\( 1_{2} \\) norm regularization. In addition, the models can include general constraints such as bound, linear, quadratic, and nonlinear constraints. The switching between different types of models and regularizations is very easy.<\/p>\n<p>\u00a0<\/p>\n<h3 class=\"field field--name-field-paragraph-title field--type-string field--label-hidden field--item\">Applications<\/h3>\n<div class=\"field field--name-field-paragraph-text field--type-text-long field--label-hidden field--item\">\n<p>Data fitting\/calibration is widespread. Commonly used in by those needing to fit a mathematical model to an experimental data set. Application use is found, but not limited to, econometrics and finance, image processing, civil engineering, mechanical engineering, and astronomy. Typically, the least squares (LSQ) method is the one used most frequently assuming the measurement errors follow the Normal distribution model. When the assumptions are unrealistic or the data set contains various level of outliers, the need for robustness appears. The <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG\u00ae Library solver\u00a0<a title=\"Documentation\" href=\"https:\/\/support.nag.com\/numeric\/nl\/nagdoc_latest\/clhtml\/e04\/e04gnc.html\" target=\"_blank\" rel=\"noopener\">handle_\u200bsolve_\u200bnldf<\/a>\u00a0(<a title=\"Documentation\" href=\"https:\/\/support.nag.com\/numeric\/nl\/nagdoc_latest\/flhtml\/e04\/e04gnf.html\">e04gn<\/a>)\u00a0allows easy model modification to adapt the method to the data set.<\/p>\n<\/div>\n<p>\u00a0<\/p>\n<h3 class=\"field field--name-field-paragraph-title field--type-string field--label-hidden field--item\">Customisable and Extendable<\/h3>\n<div class=\"field field--name-field-paragraph-text field--type-text-long field--label-hidden field--item\">\n<div class=\"tex2jax_process\">\n<p>The <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG\u00ae Library solver\u00a0<a title=\"Documentation\" href=\"http:\/\/support.nag.com\/numeric\/nl\/nagdoc_latest\/clhtml\/e04\/e04gnc.html\" target=\"_blank\" rel=\"noopener\">handle_\u200bsolve_\u200bnldf<\/a>\u00a0(<a title=\"Documentation\" href=\"http:\/\/support.nag.com\/numeric\/nl\/nagdoc_latest\/flhtml\/e04\/e04gnf.html\" target=\"_blank\" rel=\"noopener\">e04gn<\/a>)\u00a0is highly modular in terms of models implemented; customizable and extendable to meet specific user needs today and in the future.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2495 size-full\" src=\"https:\/\/nag.com\/wp-content\/uploads\/2023\/06\/general-nonlinear-data-fitting-28.3.jpg\" alt=\"\" width=\"552\" height=\"285\" \/><\/p>\n<p>\u00a0<\/p>\n<\/div>\n<\/div>\n<p>The image shows the impact of various calibration models fitting the data represented by blue dots. It is clear the fit by the Cauchy model (violet) is more appropriate for the data set used.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n<div class=\"gbc-title-banner tac tac-lg tac-xl\" style='border-radius: 0px; '>\n    <div class=\"container\" style='border-radius: 0px; '>\n        <div class=\"row justify-content--center\" >\n            <div class=\"col-12\"  >\n                <div class=\"wrap pv-4 \" style=\"0pxbackground-color: \">\n                                <div class=\"col-12 col-md-10 col-lg-8 col-xl-6  banner-content\"  >\n    \n                                             <h1>Try The <span class=\"nag-n-override\" style=\"margin-left: 0 !important;\"><i>n<\/i><\/span>AG Library Now<\/h1>\n                    \n                    <div class=\"mt-1 mb-1 content\"><\/div>\n\n                    \n                    <a href='https:\/\/support.nag.com\/content\/getting-started-nag-library' style='background-color: #ff7d21ff; color: #ffffffff; border-radius: 30px; font-weight: 600; ' class='btn mr-1  ' >Trial Now <i class='fas fa-angle-right'><\/i><\/a>                <\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","footnotes":""},"class_list":["post-2493","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>General Nonlinear Data Fitting - nAG<\/title>\n<meta name=\"description\" content=\"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nag.com\/general-nonlinear-data-fitting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"General Nonlinear Data Fitting - nAG\" \/>\n<meta property=\"og:description\" content=\"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nag.com\/general-nonlinear-data-fitting\/\" \/>\n<meta property=\"og:site_name\" content=\"nAG\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-22T10:17:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nag.com\/wp-content\/uploads\/2024\/02\/NAG-Logo-White-On-Blue.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"12770\" \/>\n\t<meta property=\"og:image:height\" content=\"4353\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@NAGTalk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nag.com\/general-nonlinear-data-fitting\/\",\"url\":\"https:\/\/nag.com\/general-nonlinear-data-fitting\/\",\"name\":\"General Nonlinear Data Fitting - nAG\",\"isPartOf\":{\"@id\":\"https:\/\/nag.com\/#website\"},\"datePublished\":\"2023-06-27T16:05:14+00:00\",\"dateModified\":\"2024-03-22T10:17:35+00:00\",\"description\":\"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.\",\"breadcrumb\":{\"@id\":\"https:\/\/nag.com\/general-nonlinear-data-fitting\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nag.com\/general-nonlinear-data-fitting\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nag.com\/general-nonlinear-data-fitting\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nag.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General Nonlinear Data Fitting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nag.com\/#website\",\"url\":\"https:\/\/nag.com\/\",\"name\":\"NAG\",\"description\":\"Robust, trusted numerical software and computational expertise.\",\"publisher\":{\"@id\":\"https:\/\/nag.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nag.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/nag.com\/#organization\",\"name\":\"Numerical Algorithms Group\",\"alternateName\":\"NAG\",\"url\":\"https:\/\/nag.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nag.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png\",\"contentUrl\":\"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png\",\"width\":1244,\"height\":397,\"caption\":\"Numerical Algorithms Group\"},\"image\":{\"@id\":\"https:\/\/nag.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NAGTalk\",\"https:\/\/www.linkedin.com\/company\/nag\/\",\"https:\/\/www.youtube.com\/user\/NumericalAlgorithms\",\"https:\/\/github.com\/numericalalgorithmsgroup\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"General Nonlinear Data Fitting - nAG","description":"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nag.com\/general-nonlinear-data-fitting\/","og_locale":"en_US","og_type":"article","og_title":"General Nonlinear Data Fitting - nAG","og_description":"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.","og_url":"https:\/\/nag.com\/general-nonlinear-data-fitting\/","og_site_name":"nAG","article_modified_time":"2024-03-22T10:17:35+00:00","og_image":[{"width":12770,"height":4353,"url":"https:\/\/nag.com\/wp-content\/uploads\/2024\/02\/NAG-Logo-White-On-Blue.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@NAGTalk","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/nag.com\/general-nonlinear-data-fitting\/","url":"https:\/\/nag.com\/general-nonlinear-data-fitting\/","name":"General Nonlinear Data Fitting - nAG","isPartOf":{"@id":"https:\/\/nag.com\/#website"},"datePublished":"2023-06-27T16:05:14+00:00","dateModified":"2024-03-22T10:17:35+00:00","description":"Within the NAG\u00ae Library Optimization Modelling Suite is a solver for the analysis of data using nonlinear regression and data fitting.","breadcrumb":{"@id":"https:\/\/nag.com\/general-nonlinear-data-fitting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nag.com\/general-nonlinear-data-fitting\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/nag.com\/general-nonlinear-data-fitting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nag.com\/"},{"@type":"ListItem","position":2,"name":"General Nonlinear Data Fitting"}]},{"@type":"WebSite","@id":"https:\/\/nag.com\/#website","url":"https:\/\/nag.com\/","name":"NAG","description":"Robust, trusted numerical software and computational expertise.","publisher":{"@id":"https:\/\/nag.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nag.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/nag.com\/#organization","name":"Numerical Algorithms Group","alternateName":"NAG","url":"https:\/\/nag.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nag.com\/#\/schema\/logo\/image\/","url":"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png","contentUrl":"https:\/\/nag.com\/wp-content\/uploads\/2023\/11\/NAG-Logo.png","width":1244,"height":397,"caption":"Numerical Algorithms Group"},"image":{"@id":"https:\/\/nag.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NAGTalk","https:\/\/www.linkedin.com\/company\/nag\/","https:\/\/www.youtube.com\/user\/NumericalAlgorithms","https:\/\/github.com\/numericalalgorithmsgroup"]}]}},"_links":{"self":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/pages\/2493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/comments?post=2493"}],"version-history":[{"count":6,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/pages\/2493\/revisions"}],"predecessor-version":[{"id":6023,"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/pages\/2493\/revisions\/6023"}],"wp:attachment":[{"href":"https:\/\/nag.com\/wp-json\/wp\/v2\/media?parent=2493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}