logistic model on SMat