Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get an association of information related to fitting a set of data
| ResourceFunction["CurveFitOverview"][data,var,type] performs a numeric fit of the specified type to data with respect to the user-specified variable x and returns an Association of the result. | 
Compute information about a power fit to a given set of data:
| In[1]:= | ![ResourceFunction[
 "CurveFitOverview", ResourceSystemBase -> "https://www.wolframcloud.com/obj/resourcesystem/api/1.0"][{{1, 2}, {3, 4}, {5, 6}}, x,  "Power"]](https://www.wolframcloud.com/obj/resourcesystem/images/a31/a31fec0c-2436-4264-b62c-18e61ae5ac08/1e9c8f9efce6be57.png) | 
| Out[1]= |  | 
Compute information about a second-degree polynomial fit to a given set of data:
| In[2]:= | ![ResourceFunction[
 "CurveFitOverview", ResourceSystemBase -> "https://www.wolframcloud.com/obj/resourcesystem/api/1.0"][{{1, 2}, {3, 6}, {5, 9}, {7, 11}}, x,  {"Polynomial", 2}]](https://www.wolframcloud.com/obj/resourcesystem/images/a31/a31fec0c-2436-4264-b62c-18e61ae5ac08/4fed61f2dad783cc.png) | 
| Out[2]= |  | 
Compute information about an exponential fit to a given set of data:
| In[3]:= | ![ResourceFunction[
 "CurveFitOverview", ResourceSystemBase -> "https://www.wolframcloud.com/obj/resourcesystem/api/1.0"][{{1, 2}, {3, 6}, {5, 9}, {7, 11}}, x, "Exponential"]](https://www.wolframcloud.com/obj/resourcesystem/images/a31/a31fec0c-2436-4264-b62c-18e61ae5ac08/4fcd7d418d3ec7d8.png) | 
| Out[3]= |  | 
The information returned by CurveFitOverview can be visualized as a report using the resource function CurveFitReport:
| In[4]:= | ![ResourceFunction[
  "CurveFitReport"][{{1, 2}, {3, 6}, {5, 9}, {7, 11}}, x, "Exponential"]](https://www.wolframcloud.com/obj/resourcesystem/images/a31/a31fec0c-2436-4264-b62c-18e61ae5ac08/0b99931da59d1797.png) | 
| Out[4]= |  | 
CurveFitOverview will return unevaluated if the specified data is not compatible with the given type:
| In[5]:= | ![ResourceFunction[
 "CurveFitOverview", ResourceSystemBase -> "https://www.wolframcloud.com/obj/resourcesystem/api/1.0"][{{1, .2}, {3, .4}, {5, 5}}, x,  "Logit"]](https://www.wolframcloud.com/obj/resourcesystem/images/a31/a31fec0c-2436-4264-b62c-18e61ae5ac08/50abdf20e08c7ece.png) | 
| Out[5]= |  | 
This work is licensed under a Creative Commons Attribution 4.0 International License