Nonequilibrium Statistical Mechanics: Ensemble Method