---
title: "另辟蹊径：使用 CART 作为分析分类调查数据的替代方法 | Branching Out: Using CART For Alternative Ways to Analyze Categorical Survey Data"
description: 尝试了解客户/患者行为是一件很有挑战的事。研究人员往往会使用调查数据并频繁使用 Minitab Statistical Software 中的回归功能对其进行分析。但是，若结果变量是分类数据，而不是定量数据，则无法非常直接或直观地解释逻辑回归的结果。
image: https://blog.minitab.com/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/cart-mss-blog-branching-out-survey-data-3-Jul-05-2025-10-45-52-8650-PM.jpg
---

中文（简体）

- [English](https://blog.minitab.com/en/?hsLang=zh)
- [Français](https://blog.minitab.com/fr/?hsLang=zh)
- [Deutsch](https://blog.minitab.com/de/?hsLang=zh)
- [Português](https://blog.minitab.com/pt/?hsLang=zh)
- [Español](https://blog.minitab.com/es/?hsLang=zh)
- [日本語](https://blog.minitab.com/ja/?hsLang=zh)
- [한국어](https://blog.minitab.com/ko/?hsLang=zh)
- [中文（简体）](https://blog.minitab.com/zh/?hsLang=zh)

- [Chinese](https://blog.minitab.com/zh/blog/branching-out-using-cart-for-survey-data)
- [Deutsch](https://blog.minitab.com/de/blog/entscheidungsbaeume-um-umfragedaten-zu-analysieren)
- [English](https://blog.minitab.com/en/blog/branching-out-using-cart-for-survey-data)

- [![Icon Partners](https://blog.minitab.com/hubfs/WCM/Partners.png) 合作伙伴](https://www.minitab.com/zh-cn/company/partners/)
- [![Icon Contact](https://blog.minitab.com/hubfs/WCM/Contact.png) 联系](https://www.minitab.com/zh-cn/company/contact-us/)
- [![Icon Talk to Minitab](https://blog.minitab.com/hubfs/WCM/Phone.png) 与 Minitab 沟通](https://www.minitab.com/zh-cn/talk-to-minitab/)
- [![Icon My Account](https://blog.minitab.com/hubfs/WCM/MyAcct.png) 我的帐户](https://licensing.minitab.com/account/manage)

[![Minitab](https://blog.minitab.com/hubfs/WCM/minitab-corp-logo.svg)](https://www.minitab.com/zh-cn/)

- 产品
  
  返回
  
  [产品](https://www.minitab.com/zh-cn/products/)
  
  [所有产品](https://www.minitab.com/zh-cn/products/) 
    - [Minitab Solution Center](https://www.minitab.com/zh-cn/products/minitab-solution-center/)
    - [Minitab Statistical Software](https://www.minitab.com/zh-cn/products/minitab/)
    - [Minitab Connect](https://www.minitab.com/zh-cn/products/connect/)
    - [Minitab Model Ops](https://www.minitab.com/zh-cn/products/model-ops/)
    - [Minitab Education Hub](https://www.minitab.com/zh-cn/products/education-hub/)
    - [Minitab Engage](https://www.minitab.com/zh-cn/products/engage/)
    - [Minitab Workspace](https://www.minitab.com/zh-cn/products/workspace/)
    - [Real-Time SPC](https://www.minitab.com/zh-cn/products/real-time-spc/)
    - [Prolink 数据收集和统计过程控制 (SPC)](https://info.minitab.com/zh/shop-floor-connectivity-with-prolink?hsLang=zh)
    - [Simul8 离散事件模拟](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [SPM](https://www.minitab.com/zh-cn/products/spm/)
- 解决方案
  
  返回
  
  [解决方案](https://www.minitab.com/zh-cn/solutions/)
  
  [所有解决方案](https://www.minitab.com/zh-cn/solutions/) 
    - [分析](https://www.minitab.com/zh-cn/solutions/analytics/)
    - [统计学和预测分析](https://www.minitab.com/zh-cn/solutions/analytics/statistical-analysis-predictive-analytics/)
    - [数据科学和机器学习](https://www.minitab.com/zh-cn/solutions/analytics/data-science-machine-learning/)
    - [业务分析和智能软件](https://www.minitab.com/zh-cn/solutions/analytics/business-analytics-intelligence/)
    - [统计过程控制](https://www.minitab.com/zh-cn/solutions/analytics/statistical-process-control/)
    - [运营与质量分析](https://www.minitab.com/zh-cn/solutions/analytics/quality-analytics/)
    - [Live Analytics](https://www.minitab.com/zh-cn/solutions/analytics/live-analytics/)
    - [可靠性和寿命数据分析](https://www.minitab.com/zh-cn/solutions/analytics/reliability/)
    - [离散事件模拟](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [过程挖掘](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [关键功能](https://www.minitab.com/zh-cn/solutions/key-capabilities/)
    - [持续改进](https://www.minitab.com/zh-cn/solutions/key-capabilities/continuous-improvement/)
    - [数据集成和数据准备](https://www.minitab.com/zh-cn/solutions/key-capabilities/data-integration-data-prep/)
    - [图表和思维导图](https://www.minitab.com/zh-cn/solutions/key-capabilities/diagramming-mind-mapping/)
    - [数字孪生](https://info.minitab.com/zh/new-to-simul8?hsLang=zh)
    - [模型和机器学习运营](https://www.minitab.com/zh-cn/solutions/key-capabilities/model-deployment-ml-ops/)
    - [创新和项目管理](https://www.minitab.com/zh-cn/solutions/key-capabilities/innovation-project-management/)
    - [过程卓越：检测、纠正和预防](https://www.minitab.com/zh-cn/solutions/key-capabilities/process-excellence/)
    - [自动化数据收集](https://info.minitab.com/zh/shop-floor-connectivity-with-prolink?hsLang=zh)
    - [行业解决方案](https://www.minitab.com/zh-cn/solutions/industry/)
    - [学术](https://www.minitab.com/zh-cn/solutions/industry/academic/)
    - [能源和自然资源](https://www.minitab.com/zh-cn/solutions/industry/energy-resources/)
    - [政府和公共部门](https://www.minitab.com/zh-cn/solutions/industry/government/)
    - [医疗保健](https://www.minitab.com/zh-cn/solutions/industry/healthcare/)
    - [保险](https://www.minitab.com/zh-cn/solutions/industry/insurance/)
    - [制造和工业](https://www.minitab.com/zh-cn/solutions/industry/manufacturing-industrial/)
    - [服务](https://www.minitab.com/zh-cn/solutions/industry/service-industries/)
    - [软件和技术](https://www.minitab.com/zh-cn/solutions/industry/software-technology/)
    - [建筑](https://www.minitab.com/zh-cn/solutions/industry/construction/)
    - [按职能/角色](https://www.minitab.com/zh-cn/solutions/role/)
    - [工程](https://www.minitab.com/zh-cn/solutions/role/engineering/)
    - [高级商业智能解决方案](https://www.minitab.com/zh-cn/solutions/role/business-analysts/)
    - [信息技术](https://www.minitab.com/zh-cn/solutions/role/information-technology/)
    - [供应链](https://www.minitab.com/zh-cn/solutions/role/supply-chain/)
    - [客户服务解决方案](https://www.minitab.com/zh-cn/solutions/role/customer-service-contact-center/)
    - [人力资源](https://www.minitab.com/zh-cn/solutions/role/human-resources/)
    - [营销数据分析](https://www.minitab.com/zh-cn/solutions/role/marketing/)
    - [研发](https://www.minitab.com/zh-cn/solutions/role/research-and-development/)
- 资源和服务
  
  返回
  
  [资源和服务](https://www.minitab.com/zh-cn/resources-services/)
  
  [所有资源和服务](https://www.minitab.com/zh-cn/resources-services/) 
    - [资源](https://www.minitab.com/zh-cn/resources-services/resources/)
    - [解决方案](https://www.minitab.com/zh-cn/resources-services/resources/case-studies/)
    - [博客](https://www.minitab.com/zh-cn/resources-services/resources/blog/)
    - [数据集](https://www.minitab.com/zh-cn/resources-services/resources/data-set/)
    - [活动 & 活动](https://www.minitab.com/zh-cn/resources-services/resources/events/)
    - [Education Hub](https://www.minitab.com/zh-cn/resources-services/resources/education-hub/)
    - [服务](https://www.minitab.com/zh-cn/resources-services/services/)
    - [培训](https://www.minitab.com/zh-cn/resources-services/services/training/)
    - [部署](https://www.minitab.com/zh-cn/resources-services/services/deployment/)
    - [统计咨询](https://www.minitab.com/zh-cn/resources-services/services/statistical-consulting/)
    - [自定进度的学习](https://www.minitab.com/zh-cn/resources-services/services/self-paced-learning/)
    - [继续教育](https://www.minitab.com/zh-cn/resources-services/services/continuing-education/)
- 支持
  
  返回
  
  [支持](https://www.minitab.com/zh-cn/support/)
  
  [技术支持](https://www.minitab.com/zh-cn/support/) 
    - [订阅和激活](https://www.minitab.com/zh-cn/support/subscriptions-and-activation/)
    - [Minitab Quick Start](https://www.minitab.com/zh-cn/support/quick-start/)
    - [培训](https://www.minitab.com/zh-cn/resources-services/services/training/)
    - [安装支持](https://www.minitab.com/zh-cn/support/installation/)
    - [支持视频](https://www.minitab.com/zh-cn/support/videos/)
    - [软件文档](https://www.minitab.com/zh-cn/support/documents/)
    - [软件更新](https://www.minitab.com/zh-cn/support/software-updates/)
    - [产品下载](https://www.minitab.com/zh-cn/support/downloads/)
    - [支持策略](https://www.minitab.com/zh-cn/support/policy/)
- 公司
  
  返回
  
  [公司](https://www.minitab.com/zh-cn/company/)
  
  [公司](https://www.minitab.com/zh-cn/company/) 
    - [关于我们](https://www.minitab.com/zh-cn/company/our-company/)
    - [领导团队](https://www.minitab.com/zh-cn/company/leadership-team/)
    - [合作伙伴](https://www.minitab.com/zh-cn/company/partners/)
    - [职业](https://www.minitab.com/zh-cn/company/careers/)
    - [联系我们](https://www.minitab.com/zh-cn/company/contact-us/)
    - [新闻](https://www.minitab.com/zh-cn/company/press-releases/)

[试用/购买](https://www.minitab.com/zh-cn/try-buy/)

- [Minitab Statistical Software](https://blog.minitab.com/zh/blog/tag/minitab-statistical-software)

- [注册](https://info.minitab.com/zh/blog/subscribe?hsLang=zh)

![Minitab](https://20853177.fs1.hubspotusercontent-na1.net/hubfs/20853177/minitab-corp-logo.svg?t=1755011311618)

## 通知

您现在将离开 minitab.com。

 单击继续以继续：

 继续

 回去

# 另辟蹊径：使用 CART 作为分析分类调查数据的替代方法 | Branching Out: Using CART For Alternative Ways to Analyze Categorical Survey Data

 Minitab Blog Editor  |  9/24/2021

 主题: [Machine Learning](https://blog.minitab.com/zh/blog/tag/machine-learning), [Predictive Analytics](https://blog.minitab.com/zh/blog/tag/predictive-analytics), [Minitab Statistical Software](https://blog.minitab.com/zh/blog/tag/minitab-statistical-software), [CART](https://blog.minitab.com/zh/blog/tag/cart), [classification trees](https://blog.minitab.com/zh/blog/tag/classification-trees)

- [Share](https://www.linkedin.com/shareArticle?mini=true&url=https://blog.minitab.com/zh/blog/branching-out-using-cart-for-survey-data)
- [Share](https://www.facebook.com/sharer.php?u=https://blog.minitab.com/zh/blog/branching-out-using-cart-for-survey-data)

尝试了解客户/患者行为是一件很有挑战的事。研究人员往往会使用调查数据并频繁使用 Minitab Statistical Software 中的回归功能对其进行分析。但是，若结果变量是[分类数据，而不是定量数据](https://support.minitab.com/zh-cn/minitab/19/help-and-how-to/statistics/tables/supporting-topics/basics/categorical-and-quantitative-variables/)，则无法非常直接或直观地解释逻辑回归的结果。

有没有其他选项可用来分析 Minitab 中的调查数据？最新版 Minitab Statistical Software 中提供了一种解释性的、基于树的机器学习技术——CART®（分类和回归树）。探究 CART 的丰富功能！

**什么是 CART？**

CART 是一种决策树算法，它会创建一组“是/否”规则，然后利用这些规则并基于预测变量或输入设置将目标或结果变量拆分到多个分区。产生的模型以决策树形式呈现，以展示如何基于输入设置对目标或结果变量进行分区。Minitab 的 CART 算法可自动查找最优数目的末端节点（也称为拆分或最终分组），目的就是尽可能地提高模型的预测能力。

最出色的表现是什么？完成分析后，CART 的输出包含直观的可视解释，因此，您不必是数据科学家，也能从数据中收获极有价值的见解。

.[![Node Split View of CART](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%201%20-%20Cropped%20nodes-Jul-05-2025-10-45-51-7661-PM.png?width=511&name=CART%20blog%20pic%201%20-%20Cropped%20nodes-Jul-05-2025-10-45-51-7661-PM.png)](https://hubs.ly/H0p_5Dq0)

（图像下层：注意：默认情况下，Minitab 会显示具体的 CART 树。右键单击树并选择**结点拆分视图**，可查看上层简要视图。

### [![看CART是如何运作的](https://no-cache.hubspot.com/cta/default/3447555/54dfa2d1-e274-48b8-9086-ec5b4a05a86b.png)](https://cta-redirect.hubspot.com/cta/redirect/3447555/54dfa2d1-e274-48b8-9086-ec5b4a05a86b)

**借助 CART 充分发挥免预约诊所数据的作用**

![Data entered by clinic](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%202-1-Jul-05-2025-10-45-57-2261-PM.png?width=280&name=CART%20blog%20pic%202-1-Jul-05-2025-10-45-57-2261-PM.png)

了解 CART 是什么之后，接下来我们看下它的工作原理。

连锁免预约诊所收集患者的调查数据，询问了他们未来有多大可能性会再次光顾诊所：极有可能、有可能或不可能。诊所员工还会记录患者的年龄、从家里到诊所的距离（以英里为单位）以及就业状态。诊所的地区经理尤其关注到底是什么因素在影响无预约患者再次来诊所接受服务的意愿。

![Bar graph of responses from clinic survey](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%203-Jul-05-2025-10-45-50-8277-PM.png?width=328&name=CART%20blog%20pic%203-Jul-05-2025-10-45-50-8277-PM.png)

右侧显示数据子集，还有一个条形图展示了诊所无预约患者给出的响应。

我们可以使用 CART 来预测分类结果的似然性，在这个案例中，指的就是患者再次光顾诊所的可能性。Minitab 的 CART 分类引擎提供的直观界面可以处理二元结果（两组）或多项式结果（至少三组）。

经理将她的数据输入 Minitab 后，选择统计 > 预测分析 > CART® 分类，界面上随后显示了以下内容：

 

 

[![CART Classification - Selection Box](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%204-Jul-05-2025-10-45-54-0207-PM.png?width=550&name=CART%20blog%20pic%204-Jul-05-2025-10-45-54-0207-PM.png)](https://hubs.ly/H0p_5Dq0)

由于存在至少三组，因此她先选择**多项式响应**，然后在**响应**中选择“再次光顾的意向”，这也是她想预测的目标。接着，依次快速输入**连续预测变量**和**分类预测变量**或者要用来进行预测的其他输入，填写好对话框。

CART 会自动处理缺失值，而且对极端异常值不敏感，也不会假定存在要检查的分布、p 值或残差。因此，CART 十分简单易用，即便是初学者也能快速上手。此外，Minitab 的 CART 功能会仔细、谨慎地将数据分区为两组：一部分数据用于构建模型（学习数据），而另一部分数据则用于评估模型执行新预测的能力（测试数据）。

[![立即注册免费网络研讨会](https://no-cache.hubspot.com/cta/default/3447555/d65613b8-5faa-45ce-8403-7627251f206a.png)](https://cta-redirect.hubspot.com/cta/redirect/3447555/d65613b8-5faa-45ce-8403-7627251f206a)

针对每一个目标变量对，CART 分析的输出会显示大于或等于 0.93 的 (ROC) 曲线下的面积值。ROC 可以帮助经理将模型预测患者再次光顾诊所的意愿的准确性进行可视化。该图显示了敏感性（正确预测为正类的正类）与特异性（正确预测为负类的负类）之间的关系。

[![Receiver Operating Characteristic (ROC) Curve](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%205-Jul-05-2025-10-45-49-7370-PM.png?width=1359&name=CART%20blog%20pic%205-Jul-05-2025-10-45-49-7370-PM.png)](https://hubs.ly/H0p_5Dq0)

这个模型能够如此准确地预测患者未来再次光顾诊所的意愿，经理感到非常满意。

经理之前认为，患者与诊所之间的距离是影响此人再次光顾诊所的意愿的最佳预测变量。但令她吃惊的是，结果并非如此。在 CART 的**相对变量重要性**图中，清晰显示了每一个预测变量对于决定患者是否再次光顾诊所的对应重要性。

[![Relative Variable Importance - CART Classification](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%206-Jul-05-2025-10-45-55-1005-PM.png?width=550&name=CART%20blog%20pic%206-Jul-05-2025-10-45-55-1005-PM.png)](https://hubs.ly/H0p_5Dq0)

**最终结果**

快速评估上方变量重要性图后发现，患者的年龄才是影响他们是否会再次光顾诊所的意愿的最佳预测变量，距离的影响程度紧随其后，而就业状态的重要性最低。

[![CART Classification Insight](https://blog.minitab.com/hs-fs/hubfs/B2BML%20-%20NEW%20FILE%20MANAGER%20STRUCTURE/Blog%20Images/Imported_Blog_Media/CART%20blog%20pic%207-Jul-05-2025-10-45-56-1601-PM.png?width=300&name=CART%20blog%20pic%207-Jul-05-2025-10-45-56-1601-PM.png)](https://hubs.ly/H0p_5Dq0)通过深入了解患者行为，将有助于地区经理创建再次光顾诊所可能性高的客户的个人资料，这样诊所中心也就能有针对性地发送额外宣传单和推出激励措施，从而确保这些客户再次光顾。例如，不满 43 岁而且与诊所距离不到 11 英里的患者，无论就业状态如何，都极有可能再次光顾。年龄介于 71 到 82 岁之间的患者，无论距离或就业状态如何，都有可能再次光顾。相比之下，年龄介于 67 到 71 岁之间的那些患者，若与诊所的距离超过 11 英里，无论其他因素如何，他们都不大可能再次光顾。

Minitab Statistical Software 中基于树的机器学习算法的应用范围十分广泛，可以在贵组织面临业务问题时帮助您找出应对之道。若您仍在犹豫，我们邀请您即刻免费试用 Minitab 30 天！

### **准备好亲自试用 CART 了吗？ [![下载免费试用版](https://no-cache.hubspot.com/cta/default/3447555/01f1912f-0c0d-4e03-b7be-ba04ccfd34ca.png)](https://cta-redirect.hubspot.com/cta/redirect/3447555/01f1912f-0c0d-4e03-b7be-ba04ccfd34ca)**

## 你可能也喜欢

<https://blog.minitab.com/zh/blog/the-minitab-solution-center-bridging-data-and-decision-making-1?hsLang=zh>

[Minitab Solution Center：搭建数据和决策的桥梁 | The Minitab Solution Center: Bridging Data and Decision-Making](https://blog.minitab.com/zh/blog/the-minitab-solution-center-bridging-data-and-decision-making-1?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 16 分钟阅读

<https://blog.minitab.com/zh/blog/how-simulation-keeps-you-ahead-from-automotive-to-aerospace?hsLang=zh>

[模拟如何让您保持行业领先——从汽车制造到航空航天](https://blog.minitab.com/zh/blog/how-simulation-keeps-you-ahead-from-automotive-to-aerospace?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 5 分钟阅读

<https://blog.minitab.com/zh/blog/streamlined-data-management-with-the-data-center-in-the-minitab-solution-center?hsLang=zh>

[使用 Minitab 解决方案中心的数据中心简化数据管理 | Streamlined Data Management with the Data Center in the Minitab Solution Center](https://blog.minitab.com/zh/blog/streamlined-data-management-with-the-data-center-in-the-minitab-solution-center?hsLang=zh)

[Minitab Solution Center](https://blog.minitab.com/zh/blog/tag/minitab-solution-center)  | 5 分钟阅读

---

- [职业](https://www.minitab.com/zh-cn/company/careers/)
- [信任中心](https://www.minitab.com/zh-cn/trust-center/)
- [供应商](https://www.minitab.com/zh-cn/suppliers/)
- [站点图](https://www.minitab.com/zh-cn/site-map/)

- [![linkedin](https://blog.minitab.com/hubfs/WCM/linkedin-1.png)](https://www.linkedin.com/company/minitab/)
- [![facebook](https://blog.minitab.com/hubfs/WCM/facebook.png)](https://www.facebook.com/Minitab/)
- [![youtube](https://blog.minitab.com/hubfs/WCM/youtube.png)](https://www.youtube.com/user/MinitabInc)
- [![instagram](https://blog.minitab.com/hubfs/WCM/instagram.png)](https://www.instagram.com/minitab/)

---

© 2025 Minitab, LLC. All Rights Reserved.

- [使用条款](https://www.minitab.com/zh-cn/legal/terms-of-use/)
- [隐私政策](https://www.minitab.com/zh-cn/legal/privacy-policy/)
- [合法](https://www.minitab.com/zh-cn/legal/)

- Cookies Settings