Estimation of latent ability using a response pattern of graded scores