public class RegressionLine
extends org.arp.javautil.stat.Line
| Modifier and Type | Class and Description |
|---|---|
static class |
RegressionLine.NullValueException |
| Constructor and Description |
|---|
RegressionLine(Segment<PrimitiveParameter> points)
Creates a new regression line of points.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getRMSError()
Returns the r.m.s.
|
public RegressionLine(Segment<PrimitiveParameter> points) throws RegressionLine.NullValueException
points - an array of Point objects.RegressionLine.NullValueException - if one of the points has a null value.Copyright © 2012–2017 Emory University. All rights reserved.