powered by
Generate first-order differential of a smoothed sequence Y
GenDY(mu, z, gamma)
a vector of piecewise constant
a vector of stationary Gaussian random error
bandwidth of nonparameter smoothing
a vector of the differential of Y
GenMu/GenZ
GenMu
GenZ
# NOT RUN { mu = GenMu(x=1:10,pos=seq(10,100,10),size=150) z = GenZ(nu=2,size=150) GenDY(mu=mu,z=z,gamma=4) # }
Run the code above in your browser using DataLab