Code: Select all
sample firstmonths @all if @mod(@month, 3) = 1
sample secondmonths @all if @mod(@month, 3) = 2
sample thirdmonths @all if @mod(@month, 3) = 0
Code: Select all
sample firstmonths @all if @mod(@month, 3) = 1
sample secondmonths @all if @mod(@month, 3) = 2
sample thirdmonths @all if @mod(@month, 3) = 0
Code: Select all
!q = @mod(@datepart(@dateval(@word(@pagesmpl, 2)), "mm") - 1, 3) + 1
series x_!q = ...