A textbook of econometrics