# suppose to have four lags:
# K<-4 # Note: the number of lags to consider
# w1<-1
# w2<- -0.5 # by setting w2<0, the monotonically decreasing weighting scheme is used
exp_almon(1:4,K=4,w1=0.1,w2=-0.5)
Run the code above in your browser using DataLab