Hi @aadecarlojr ,
I think the following is one possible approach that you could take.
What I've done is generate a column of values :t and another column called :M M is a function of :t, namely:
![SDF1_0-1697047018775.png SDF1_0-1697047018775.png](https://community.jmp.com/t5/image/serverpage/image-id/57478iA9A09A56A818F13C/image-size/medium?v=v2&px=400)
As you pointed out, in Graph Builder, you can use the Savitzky-Golay smoother to fit functions like this. I have also used the cubic degree and local cosine weighting by using the options in the red hot button menu net to "Smoother". One thing you can also do is "Save Formula",
![SDF1_1-1697047145900.png SDF1_1-1697047145900.png](https://community.jmp.com/t5/image/serverpage/image-id/57480iD41AFF669E1C1878/image-size/medium?v=v2&px=400)
Which, in my case, saves the following column :Smoother(M) to the data table with the following formula:
![SDF1_2-1697047190021.png SDF1_2-1697047190021.png](https://community.jmp.com/t5/image/serverpage/image-id/57481i5D820B0AF79E8066/image-size/medium?v=v2&px=400)
You can then proceed to do a Fit Y by X, where you use the actual data as the Y variable and the predicted data as the X, and then fit a line to the data. This will give you some fit statistics and basis to quantify how good of a fit you actually have.
![SDF1_3-1697047278087.png SDF1_3-1697047278087.png](https://community.jmp.com/t5/image/serverpage/image-id/57483i15EF65A9A242B62D/image-size/medium?v=v2&px=400)
In my case, you can see the fit does very well, with an r^2 of 0.97. In addition to getting this fit statistic, you can also save the 95% confidence interval on the fit by clicking the red hot button next to Linear Fit and selecting Indiv Confidence Limit Formula.
![SDF1_4-1697047356269.png SDF1_4-1697047356269.png](https://community.jmp.com/t5/image/serverpage/image-id/57484i077D074D07ECE810/image-size/medium?v=v2&px=400)
This will save two additional columns to the data table that you can then use in an overlay plot to see how well the fit and actual data stay within the 95% confidence intervals, see below.
![SDF1_5-1697047439183.png SDF1_5-1697047439183.png](https://community.jmp.com/t5/image/serverpage/image-id/57485iC89939464DC96119/image-size/medium?v=v2&px=400)
This should at least get you started on being able to quantify the fit of your data.
Hope this helps!,
DS