implement stats in modelabstract
copy constructor and operator= overloading for statsmodel