A statistical model for earthquake and/or rainfall triggered landslides