case class TrendLine extends Product with Serializable
- Alphabetic
- By Inheritance
- TrendLine
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def calculateResidual(point: Point): Double
- def calculateResiduals(points: List[Point]): List[Double]
- def calculateSigmaResiduals(extraResiduals: List[YAxisType]): Double
calculates sigma residuals using this.residuals plus extraResiduals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def containsPoint(xPosition: XAxisType): Boolean
- def containsPoint(point: Point): Boolean
- val end: XAxisType
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def estimate(x: XAxisType): YAxisType
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getPointsContained(sortedPoints: List[Point]): List[Point]
retrieves a subset of sortedPoints that are contained in this trend line, i.e.
retrieves a subset of sortedPoints that are contained in this trend line, i.e. returned points are positioned between start and end
- sortedPoints
a list of points sorted by x-value ascending
- def getResiduals: List[Double]
- val intercept: Double
- def intersectAhead(x: Double, secondTrendLine: TrendLine): Boolean
true if x >= intersect between this and secondTrendLine
true if x >= intersect between this and secondTrendLine
is equivalent to secondTrendLine.intersectAhead(x, this)
- def intersectAt(secondTrendLine: TrendLine): Option[Double]
calculates the x-position were two trend lines intercept, None if lines are parallel
calculates the x-position were two trend lines intercept, None if lines are parallel
is equivalent to secondTrendLine.intersectAt(this)
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lengthOfTrend: XAxisType
end - start
- def likelihoodOfCluster(points: List[Point], sigmaResiduals: Double): Double
calculates likelihood of multiple points
- def likelihoodOfPoint(point: Point, sigmaResiduals: Double): Double
calculates likelihood of a single point, always use this when making the calculation on multiple points, so it doesn't have to recalculate the same value for sigmaResiduals multiple times
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val residuals: List[Double]
- val size: Int
- val slope: Double
- val start: XAxisType
- def statistics: NumericSeriesStatistics
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val xMean: Double
- val xSquaredMeanDiff: Double
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)