Searched refs:pointwiseOffsets (Results 1 – 1 of 1) sorted by relevance
66 vector<float> pointwiseOffsets; in theilSenLinearRegression() local90 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x()); in theilSenLinearRegression()94 if (!pointwiseOffsets.empty()) in theilSenLinearRegression()95 result.offset = destructiveMedian(pointwiseOffsets); in theilSenLinearRegression()129 std::vector<float> pointwiseOffsets; in theilSenSiegelLinearRegression() local160 pointwiseOffsets.push_back(dataPoints[i].y() - result.coefficient*dataPoints[i].x()); in theilSenSiegelLinearRegression()163 std::sort(pointwiseOffsets.begin(), pointwiseOffsets.end()); in theilSenSiegelLinearRegression()164 result.offset = linearSample(pointwiseOffsets, 0.5f); in theilSenSiegelLinearRegression()170 result.offsetConfidenceLower = linearSample(pointwiseOffsets, 0.5f - reportedConfidence*0.5f); in theilSenSiegelLinearRegression()171 result.offsetConfidenceUpper = linearSample(pointwiseOffsets, 0.5f + reportedConfidence*0.5f); in theilSenSiegelLinearRegression()