logistic

數據:顧客對軟飲料購買意向。 部分數據: 建立購買意向與除了品牌之外的其他因素的logistic迴歸模型: softdrink <- read.table("softdrink.txt",header = T)softdrink$Choice <- as.factor(softdrink$Choice)  #轉換爲因子 fit <- glm(Choice~.-Brand,data = softdr
相關文章
相關標籤/搜索