gezhongchaocaiyangfangfadaima .............................\multinomialR.m .............................\newR.m .............................\residualR.m