nn number of observations respectively