Learn R Programming

gmwm (version 2.0.0)

m2_drift: Second moment DR

Description

This function computes the second moment of a drift process.

Usage

m2_drift(omega, n_ts)

Arguments

omega
A double corresponding to variance of drift.
n_ts
An int indicating the length of the time series.

Value

A vec containing the second moment of the drift.

Examples

Run this code
m2_drift(1, 200)

Run the code above in your browser using DataLab