Click or drag to resize

Series Class

Represents a time series.
Inheritance Hierarchy
SystemObject
  Austra.LibrarySeriesDate
    Austra.LibrarySeries

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+670447af29d7e7e825b02ff7e655ef2dc84132d2
Syntax
C#
public sealed class Series : Series<Date>, 
	IAdditionOperators<Series, Series, Series>, IAdditionOperators<Series, double, Series>, 
	ISubtractionOperators<Series, Series, Series>, ISubtractionOperators<Series, double, Series>, 
	IMultiplyOperators<Series, double, Series>, IDivisionOperators<Series, double, Series>, 
	IUnaryNegationOperators<Series, Series>, IPointwiseOperators<Series>, 
	IFormattable

The Series type exposes the following members.

Constructors
 NameDescription
Public methodSeries(String, String, Double, Series)Creates a named time series.
Public methodSeries(String, String, Date, Double, Series)Creates a named time series.
Public methodSeries(String, String, Date, Double, SeriesType, Frequency)Creates a named time series.
Top
Properties
 NameDescription
Public propertyArgsGets the list of arguments from the series.
(Inherited from SeriesT)
Public propertyCountGets the number of points in the series.
(Inherited from SeriesT)
Public propertyDatesGets dates from the series as a vector.
Public propertyEnumValuesGets the list of values from the series.
(Inherited from SeriesT)
Public propertyFirstGets the first point in the series.
(Inherited from SeriesT)
Public propertyFreqGets the sampling frequency.
Public propertyItemIndexGets a point given its index.
(Inherited from SeriesT)
Public propertyItemInt32Gets a point given its index.
(Inherited from SeriesT)
Public propertyItemRangeExtracts a slice from the series.
Public propertyKurtosisGets the unbiased population kurtosis.
(Inherited from SeriesT)
Public propertyLastGets the last point in the series.
(Inherited from SeriesT)
Public propertyMaximumReturns the maximum value from the series.
(Inherited from SeriesT)
Public propertyMeanGets the mean value from the series.
(Inherited from SeriesT)
Public propertyMinimumReturns the minimum value from the series.
(Inherited from SeriesT)
Public propertyNameGets the name of the series.
(Inherited from SeriesT)
Public propertyPointsGets the sorted list of points.
(Inherited from SeriesT)
Public propertyPopulationKurtosisGets the kurtosis from the full population.
(Inherited from SeriesT)
Public propertyPopulationSkewnessGet the skewness from the full population.
(Inherited from SeriesT)
Public propertyPopulationStandardDeviationGets the standard deviation from the full population.
(Inherited from SeriesT)
Public propertyPopulationVarianceGets the variance from the full population.
(Inherited from SeriesT)
Public propertySkewnessGets the unbiased population skewness.
(Inherited from SeriesT)
Public propertyStandardDeviationGets the unbiased standard deviation.
(Inherited from SeriesT)
Public propertyStatsGets statistics on the series.
(Inherited from SeriesT)
Public propertyTagA custom tag for the series.
Public propertyTickerGets the ticker of the series.
(Inherited from SeriesT)
Public propertyTypeIs this a raw (Prices) series or a derived one?
(Inherited from SeriesT)
Public propertyValuesGets the values array as a vector.
(Inherited from SeriesT)
Public propertyVarianceGets the unbiased variance.
(Inherited from SeriesT)
Top
Methods
 NameDescription
Public methodAbsMaxGets the maximum absolute value.
(Inherited from SeriesT)
Public methodAbsMinGets the minimum absolute value.
(Inherited from SeriesT)
Public methodACFComputes autocorrelation for all lags.
(Inherited from SeriesT)
Public methodStatic memberAdapt Transforms a SeriesT into a Series.
Public methodAllChecks whether the predicate is satisfied by all items.
Public methodAnyChecks whether the predicate is satisfied by at least one item.
Public methodARModelCreates an AR model from a series and a degree.
Public methodAsLogReturnsCreates a new series based in the logarithmic returns.
Public methodAsReturnsCreates a new series based in the returns.
Public methodAutoCorrelationComputes the autocorrelation for a fixed lag.
(Inherited from SeriesT)
Public methodAutoRegressionFinds the coefficients for an autoregressive model.
(Inherited from SeriesT)
Public methodStatic memberCombineCalculates the weighted sum of an array of series.
Public methodContains(Date)Checks if the series contains the given value.
Public methodContains(Double)Checks if the series contains the given value.
(Inherited from SeriesT)
Public methodCorrelationComputes the Pearson correlation between two series.
(Inherited from SeriesT)
Public methodCorrelogramComputes autocorrelation for a range of lags.
(Inherited from SeriesT)
Public methodCovarianceComputes the covariance between two series.
(Inherited from SeriesT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEWMASmooths data using a exponentially weighted moving average.
Public methodFftComputes the real discrete Fourier transform.
(Inherited from SeriesT)
Public methodFilter Creates a new series by transforming each item with the given function.
Public methodFitGets linear coefficients for a fitting line.
Public methodStatic memberFromCsv(String, Csv, Int32, Int32)Imports a series from a CSV file.
Public methodStatic memberFromCsv(String, Csv, String, String)Imports a series from a CSV file.
Public methodFullLinearModelCreates a linear model from a series and a set of predictors.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSliceStats(Date)Gets statistics on a slice of a date series.
Public methodGetSliceStats(T, T)Gets statistics on a slice of the series.
(Inherited from SeriesT)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfReturns the zero-based index of the first occurrence of a value.
(Inherited from SeriesT)
Public methodLinearFitComputes the series predicted by a linear fit.
Public methodLinearModelMultilinear regression based in Ordinary Least Squares.
(Inherited from SeriesT)
Public methodMAModelCreates an MA model from a series and a degree.
Public methodMapCreates a new series by transforming each item with the given function.
Public methodMovingAverageFinds the coefficients for a moving average model.
(Inherited from SeriesT)
Public methodMovingAvgSmooths data using a simple moving average.
Public methodMovingNcdfCompress data using a simple moving percentile.
Public methodMovingRetGets the moving return of a one month window.
Public methodMovingStdSmooths data using a simple moving standard deviation.
Public methodNCdfThe normal cumulative distribution function of the most recent value.
(Inherited from SeriesT)
Public methodNCdf(Double)The normal cumulative distribution function.
(Inherited from SeriesT)
Public methodPACFComputes the partial autocorrelation for all lags.
(Inherited from SeriesT)
Public methodPercentilesReturns ascendenly sorted values.
(Inherited from SeriesT)
Public methodPointwiseDivideCreates a new series by dividing values from the operands.
Public methodPointwiseMultiplyCreates a new series by multiplying values from the operands.
Public methodPrune Creates a series retaining the first count items.
Public methodRandom Generates a normally distributed series using statistics from this series.
Public methodSafeThis Safe access to the series' points. If the index is out of range, a zero is returned.
(Inherited from SeriesT)
Public methodSetNameClones this series with a new name.
Public methodSlice(Date, Date)Takes a slice from a series.
Public methodSlice(Int32, Int32)Takes a slice from a series.
Public methodSplineCreates an interpolator for this series.
Public methodSumCalculates the sum of the series values.
(Inherited from SeriesT)
Public methodToStringGets a textual representation of the series.
(Overrides SeriesTToString)
Public methodToString(String, IFormatProvider)Gets a textual representation of the series.
Public methodZipCombines the common sufix of two time series.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Double, Series)Adds a scalar to a series.
Public operatorStatic memberAddition(Series, Series)Creates a new series by adding values from the operands.
Public operatorStatic memberAddition(Series, Double)Adds a scalar to a series.
Public operatorStatic memberDivision(Series, Double)Divides all values from a series.
Public operatorStatic memberMultiply(Double, Series)Scales values from a series.
Public operatorStatic memberMultiply(Series, Double)Scales values from a series.
Public operatorStatic memberSubtraction(Double, Series)Subtracts series from a fixed scalar value.
Public operatorStatic memberSubtraction(Series, Series)Creates a new series by subtracting values from the operands.
Public operatorStatic memberSubtraction(Series, Double)Subtracts a fixed scalar value from a series.
Public operatorStatic memberUnaryNegation(Series)Negates values from a series.
Top
See Also