An economic analysis of agricultural production function on the paddy fields of Thailand