Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNegativeOrder = errors.New("autoregression: model order cannot be negative") ErrInsufficientDataForOrder = errors.New("autoregression: the number of elements in the data must be greater then one more than twice the order") ErrSingularCovariantMatrix = errors.New("autoregression: the covariant matrix generated from the data was singular") ErrIncorrectDataLength = errors.New("autoregression: the length of the supplied new data was not equal to the order") )
Functions ¶
This section is empty.
Types ¶
type ARModel ¶
type ARModel struct {
// contains filtered or unexported fields
}
func NewModelOLS ¶
Generate a new AR model using the method of least squares.
func (*ARModel) MarshalJSON ¶
func (*ARModel) StandardError ¶
func (*ARModel) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.