promotion.model function

generate final input data and fit promotion model