summary_xy(Z,x,y) is a function for summary of Z variable cross-categorized by two discrete series, x and y. The statistics reported are mean, sd, skewness, kurtosis, JB normality test, three (optional) Q-stat with user-specified lags, and three (optional) Q2-stat with user-specified lags. Q and Q2 statistics are specific for time series only. Please use them with care. # ==== changelog =================================================== 2023.4.03: ver. 2023.3 minor fix labels of the parameters and typos. 2018.4.26: ver. 1.4 fixed bugs with nested restricted subsamples. removed a non-latin character in the bottom of output. fixed bugs while the values of dependent variable are the same. 2017.9.22: ver. 1.3 remove remaining Chinese language 2015.7.13: ver. 1.2 Conform to NEW gretl package rules in which English-only messages are output unless if $lang="zh_TW". 2010.4.17: ver. 1.1 Add a parameter to show the number of observatops (NOBS). 2010.4.17: ver. 1.0 First release. # =======================================================================