Both logistic regression and machine learning algorithms confirmed that KRAS gene mutation, hyperlipidaemia and pancreatitis are potential risk factors for pancreatic cancer. The gene discussed is KRAS; the disease is familial pancreatic carcinoma.