I want to do a curve approximation on a script and show the goodness of fit in the command window at the same time as the result. （ SSE. Determination Factor, Degree of Freedom Adjusted Determination Factor, RMSE, etc.).
What syntax do I need to put in my script to make it appear in a command window or workspace?