- Hands-On Data Science with SQL Server 2017
- Marek Chmel Vladimír Mu?n?
- 226字
- 2021-06-10 19:13:53
Central tendency
There are three descriptive measures of central tendency—the mean, the median, and the mode, but SQL Server does not have a way to calculate anything other than the mean directly. The arithmetic mean, or simply the mean (there are more types of mean in the central tendency), is the sum of all measurements divided by the number of observations in the dataset. The median is the middle value that separates the higher half from the lower half of the dataset. The median and the mode are the only measures of the central tendency that can be used for ordinal data, in which values are ranked relative to one another but are not measured absolutely. The mode is the most frequent value in the dataset. This is the only central tendency measure that can be used with nominal data, which has purely qualitative category assignments. For looking into such values with SQL Server, we will either need to define our own assembly with a custom aggregate or use complex T-SQL constructs to bypass the missing statistical functions. Another option would be to use the Python code or the R code; the code can be running inside the SQL Server, and you can pass the result set as the argument to the Python code or the R code to work on the descriptive statistics.
- 課課通計算機原理
- Microsoft Dynamics CRM Customization Essentials
- 群體智能與數據挖掘
- CorelDRAW X4中文版平面設計50例
- 自主研拋機器人技術
- Hands-On Cybersecurity with Blockchain
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- 嵌入式操作系統
- Kubernetes for Developers
- Hadoop應用開發基礎
- 精通LabVIEW程序設計
- Dreamweaver+Photoshop+Flash+Fireworks網站建設與網頁設計完全實用
- 基于人工免疫原理的檢測系統模型及其應用
- 智能控制技術及其應用
- 運動控制器及數控系統的工程應用