Process analysis by statistical methods