sim.powerlaw: Simulate a power law time series

Description Usage Arguments Note

View source: R/sim.powerlaw.R

Description

Simulate a power-law time series

Usage

1

Arguments

beta

power-law exponent

N

length of the time series

Note

The Filter used in the power law generation is currently unscaled. To force Variance(X)=1, a scaling is performed on the final timeseries. This is problematic for short time series and if the distribution of variances is of interest. A workaround is to generate a very long powerlaw series (with overall variance=1) and cut it into many shorter ones. x<-matrix(sim.powerlaw(betas[b],Nsur*Nlength),ncol=Nsur,nrow=Nlength)


krehfeld/nest documentation built on May 28, 2019, 12:33 a.m.