Patent ID: 8635046

Claim:
A method, comprising: receiving a plurality of analyte sensor values for a corresponding plurality of reference analyte values from an analyte sensor; calculating a rate of change value for each of the plurality of analyte sensor values; defining a plurality of data range windows corresponding to the plurality of reference analyte values; evaluating, using one or more processors, the plurality of data range windows by evaluating one or more of the plurality of analyte sensor values, the rate of change values, the plurality of reference analyte values, or a plurality of corresponding difference values; determining, using the one or more processors, a best fit based on the evaluation of the plurality of data range windows, wherein determining the best fit includes determining a least-squares line based on a graphical representation of the rate of change values and the difference values for each of the plurality of data range windows; determining, using the one or more processors, a slope and an intercept of the least-squares line for each of the plurality of data range windows; and determining, using the one or more processors, a best fit function based on a graphical representation of the intercepts of the least-squares lines of each of the plurality of data range windows and the reference analyte values at centers of the plurality of data range windows, wherein the best fit function corresponds to a linearity characteristic of the analyte sensor.