This function computes the virtual gyroscope signal by taking a linear combination of the individual gyroscope signals.

get_virtual_gyro(Xt, weights)

Arguments

Xt

A matrix of dimension T by p, where T is the length of the time series and p is the number of processes.

weights

A vector of coefficients on individual signals. All elements should be non-negative and sum to one.

Value

A vector of the virtual gyroscope signal.

Author

Yuming Zhang