Curve Fit Null Values
Posted: Fri Dec 29, 2023 10:02 am
The
I was hoping to use it to be able curve fitting function to estimate the Y values for missing data points on a time series.
We're plotting bird nesting survey values, and for some years the results aren't available, but we would like to use the
I have tried using Null values for the missing data points, but they seem to always go into the curve function calculation as zero values.
As near as I can tell,
Is there a way to insert non calculating place holders into a curve data source that don't get calculated as zero?
It appears there were some posts many years back saying it was on the wish list for VCL, but I can't find anything about it.
Any suggestions appreciated
TCurveFittingFunction()
works perfectly and displays on the graph. Also working perfectly is the GetCurveYValue()
I was hoping to use it to be able curve fitting function to estimate the Y values for missing data points on a time series.
We're plotting bird nesting survey values, and for some years the results aren't available, but we would like to use the
TCurveFittingFunction()
to estimate the best possible estimate values for the missing years.I have tried using Null values for the missing data points, but they seem to always go into the curve function calculation as zero values.
As near as I can tell,
Curve.IncludeNulls := false;
has no effect.Is there a way to insert non calculating place holders into a curve data source that don't get calculated as zero?
It appears there were some posts many years back saying it was on the wish list for VCL, but I can't find anything about it.
Any suggestions appreciated