EstimationWindow

data class EstimationWindow(val startIndex: Int, val endIndex: Int)(source)

A half-open range of observation indices from which a component is estimated.

Distinct from the group it belongs to. A group is an assignment — which component each observation is attributed to, and therefore what the mixing weights are. A window is an estimation range, and it may reach past the group into its neighbours. Every observation belongs to exactly one group; it may inform more than one estimate.

Parameters

startIndex

the first index, inclusive

endIndex

the last index, exclusive

Constructors

Link copied to clipboard
constructor(startIndex: Int, endIndex: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val size: Int

The number of observations the window spans.

Link copied to clipboard