靜態變數和非靜態變數_統計資料:了解變數

靜態變數和非靜態變數

Statistics 101: Understanding the different type of variables.

統計101:了解變量的不同類型。

As we enter the latter part of the year 2020, it is safe to say that companies utilize data to assist in making business decisions. For example doing exploratory data analysis (EDA) to calculate statistics of where the business stands today, it may include a simple Linear Regression model to predict product prices in 2021. Perhaps it utilizes neither and instead uses clustering to determine relationships between data points. Regardless of how data is utilized, possessing a strong statistics background can only aid in the decision making process as to which approach is taken to best extract, hypothesize, and interpret data.

進入2020年下半年,可以肯定地說,公司利用數據來協助制定業務決策。 例如,進行探索性數據分析(EDA)以計算當前業務狀況的統計數據,它可能包括一個簡單的線性回歸模型來預測2021年的產品價格。也許它既不使用也不用聚類來確定數據點之間的關系。 無論如何利用數據,擁有強大的統計背景都只能幫助決策過程確定采用哪種方法來最佳地提取,假設和解釋數據。

With that being said let us start with the very basics of statistics: variables. Variables can be broken down into two different categories. Quantitative (Numerical) and Qualitative (Categorical). Quantitative variables can be further broken down into two subcategories: Continuous and Discrete.

話雖如此,讓我們從統計學的最基本基礎開始: 變量。 變量可以分為兩個不同的類別。 定量(數字)和定性(分類)。 定量變量可以進一步細分為兩個子類別: 連續和離散。

Image for post

Continuous quantitative variable can be defined as a numerical value that may fall within a large range to which one may say “well it could be anything.” Yes I know that may not make sense but lets utilize a few examples: numerical values such as age, weight, height, BMI are examples of continuous quantitative variables. These are examples of numbers that are always changing and may be within an extremely large range. You may be asking “Well age does not seem like it could fall within a range, if someone asked me how old I am I could answer with an exact number.” Well is that true? Remember age is a form of time, in which it is always changing, therefore age is considered a continuous quantitative variable as well.

連續定量變量可以定義為一個數值,該數值可能會落在一個很大的范圍內,人們可能會說“好吧,它可以是任何東西”。 是的,我知道這可能沒有意義,但讓我們舉幾個例子: 年齡,體重,身高,BMI等數值是連續定量變量的例子。 這些是數字的示例,這些數字總是在變化,并且可能在非常大的范圍內。 您可能會問:“如果有人問我年齡多大,我可以用確切的數字回答,似乎年齡不會落在一定范圍內。” 那是真的嗎? 請記住,年齡是時間的一種形式,它總是在變化,因此年齡也被視為連續的定量變量。

Discrete is an exact numerical value. When I think of discrete, I think of distinct. I think of an exact number. For example, if I was asked how much I spent today in dollars at the food truck. My response would be a distinct number.

離散是精確的數值。 當我想到離散時,我想到了獨特。 我想到一個確切的數字。 例如,如果有人問我今天在食品卡車上花了多少美元。 我的回答是一個不同的數字。

Now let us discuss the categorical/qualitative variable. These variables represent a group of ordered/ranked or non-ordered/ranked set of values. For example utilizing high school class would be an example of categorical/qualitative data. Freshmen, Sophomore, Junior and Senior may be represented as 1 through 4 respectively.

現在讓我們討論分類/定性變量。 這些變量代表一組有序/排名或無序/排名的值。 例如,利用高中課程將是分類/定性數據的一個示例。 新生,大二,大三和大四分別可以代表1至4。

Image for post

Similar to quantitative numerical variables, qualitative categorical variables also have two subtypes: Ordinal and Nominal. Remember earlier I stated that this type of data may be represented in an order or sequence. That describes Ordinal categorical variables. A great example is on a scale of 1–5 with 5 being the worst pain rank how you feel. Nominal is the opposite of ordinal in which it lacks order or ranking. For example: If an individual is over 18 years old mark the 0 and if the individual is less than 18 mark the number 1. An order or ranking is not present for it to be considered an ordinal quantitative variable.

與定量數值變量相似,定性類別變量也有兩個子類型: 序數和標稱。 請記住,我之前曾說過,此類數據可以按順序或順序表示。 描述了序數分類變量。 一個很好的例子是1–5的評分,其中5是您的感覺最差的疼痛等級。 標稱與序數相反,序數缺乏順序或等級。 例如:如果一個人的年齡超過18歲,則將0標記為數字;如果一個人的年齡小于18,則將數字標記為1。不存在訂單或排名,才能將其視為序數定量變量。

To recap: I spoke about two categories of variables and their subclasses. This concept is extremely important when utilizing data science to assist in making hypothesis, and conclusions on data to improve business processes.

回顧一下:我談到了變量的兩類及其子類。 當利用數據科學來幫助進行假設和結論以改善業務流程時,這個概念非常重要。

Thank You for Reading!

感謝您的閱讀!

— — — — — — — — — — — — — — — — — —

— — — — — — — — — — — — — — — — — — — —

翻譯自: https://medium.com/swlh/statistics-understanding-variables-9eccf1e8338

靜態變數和非靜態變數

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/391855.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/391855.shtml
英文地址,請注明出處:http://en.pswp.cn/news/391855.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

代碼走查和代碼審查_如何避免代碼審查陷阱降低生產率

代碼走查和代碼審查Code reviewing is an engineering practice used by many high performing teams. And even though this software practice has many advantages, teams doing code reviews also encounter quite a few code review pitfalls.代碼審查是許多高性能團隊使用…

Zabbix3.2安裝

一、環境 OS: CentOS7.0.1406 Zabbix版本: Zabbix-3.2 下載地址: http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm MySQL版本: 5.6.37 MySQL: http://repo.mysql.com/mysql-community-release-el7-5.noarch.r…

Warensoft Unity3D通信庫使用向導4-SQL SERVER訪問組件使用說明

Warensoft Unity3D通信庫使用向導4-SQL SERVER訪問組件使用說明 (作者:warensoft,有問題請聯系warensoft163.com) 在前一節《warensoft unity3d通信庫使用向導3-建立WarensoftDataService》中已經說明如何配置Warensoft Data Service,從本節開始,將說明…

01-gt;選中UITableViewCell后,Cell中的UILabel的背景顏色變成透明色

解決方案有兩種方法一 -> 新建一個UILabel類, 繼承UILabel, 然后重寫 setBackgroundColor: 方法, 在這個方法里不做任何操作, 讓UILabel的backgroundColor不發生改變.寫在最后, 感謝參考的出處:不是謝志偉StackOverflow: UITableViewCell makes labels background clear whe…

leetcode 703. 數據流中的第 K 大元素(堆)

設計一個找到數據流中第 k 大元素的類(class)。注意是排序后的第 k 大元素,不是第 k 個不同的元素。 請實現 KthLargest 類: KthLargest(int k, int[] nums) 使用整數 k 和整數流 nums 初始化對象。 int add(int val) 將 val 插…

不知道輸入何時停止_知道何時停止

不知道輸入何時停止In predictive analytics, it can be a tricky thing to know when to stop.在預測分析中,知道何時停止可能是一件棘手的事情。 Unlike many of life’s activities, there’s no definitive finishing line, after which you can say “tick, I…

移動認證_如何在移動設備上實施安全的生物特征認證

移動認證by Kathy Dinh凱西丁(Kathy Dinh) 如何在移動設備上實施安全的生物特征認證 (How to implement secure Biometric Authentication on mobile devices) A quick search for React Native biometric authentication would give you several tutorials. That was the fir…

[Luogu1890]gcd區間

原題鏈接https://www.luogu.org/problem/show?pid1890 暴力中的暴力。 對于每一組詢問l..r,我們先循環暴力枚舉l..r中最大值到1,再暴力循環l..r的每一個數,判斷前一重循環能否整除后一重,如果全部都能,則可判定它就是…

Android Studio自定義模板 做開發竟然可以如此輕松 后篇

###1.概述 最近有很多人反饋,有些哥們不喜歡看文字性的東西,還有一些哥們根本就不知道我在搞啥子,那么以后我就采用博客加視頻的方式,我們可以選擇看視頻講解:http://pan.baidu.com/s/1i5uh2uD   內涵段子項目資料及…

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked.

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. 解決方案: 異步更新(建議使用)強制進行變更檢測,但是會觸發子組件的變更檢測,再次導致父組件屬性改變Parent.Component.…

leetcode 119. 楊輝三角 II

給定一個非負索引 k,其中 k ≤ 33,返回楊輝三角的第 k 行。 在楊輝三角中,每個數是它左上方和右上方的數的和。 示例: 輸入: 3 輸出: [1,3,3,1] 解題思路 因為楊輝三角的下層由上一層決定,所以只需要保存上一層的元素&#x…

掌握大數據數據分析師嗎?_要掌握您的數據嗎? 這就是為什么您應該關心元數據的原因...

掌握大數據數據分析師嗎?Either you are a data scientist, a data engineer, or someone enthusiastic about data, understanding your data is one thing you don’t want to overlook. We usually regard data as numbers, texts, or images, but data is more than that.…

react 使用 mobx_如何使用React和MobX狀態樹構建基于狀態的路由器

react 使用 mobxby Miles Till由Miles Till 如何使用React和MobX狀態樹構建基于狀態的路由器 (How to build a state-based router using React and MobX State Tree) Introducing mobx-state-tree-routerMobx狀態樹路由器簡介 If you want to skip ahead to the finished ex…

docker在Centos上的安裝

Centos6安裝docker 系統:centos6.5 內核:3.10.107-1(已升級),docker對RHEL/Centos的最低內核支持是2.6.32-431,epel源的docker版本推薦內核為3.10版本。 內核升級可參考:https://www.jslink.org/linux/centos-kernel-u…

Lambda表達式的前世今生

Lambda 表達式 早在 C# 1.0 時,C#中就引入了委托(delegate)類型的概念。通過使用這個類型,我們可以將函數作為參數進行傳遞。在某種意義上,委托可理解為一種托管的強類型的函數指針。 通常情況下,使用委托來…

matplotlib柱狀圖、面積圖、直方圖、散點圖、極坐標圖、箱型圖

一、柱狀圖 1.通過obj.plot() 柱狀圖用bar表示,可通過obj.plot(kindbar)或者obj.plot.bar()生成;在柱狀圖中添加參數stackedTrue,會形成堆疊圖。 fig,axes plt.subplots(2,2,figsize(10,6)) s pd.Series(np.random.randint(0,10,15),index …

微信支付商業版 結算周期_了解商業周期

微信支付商業版 結算周期Economics is an inexact science, finance and investing even more so (some would call them art). But if there’s one thing in economics that you can consistently count on over the long run, it’s the tendency of things to mean revert …

leetcode 448. 找到所有數組中消失的數字

給定一個范圍在 1 ≤ a[i] ≤ n ( n 數組大小 ) 的 整型數組,數組中的元素一些出現了兩次,另一些只出現一次。 找到所有在 [1, n] 范圍之間沒有出現在數組中的數字。 您能在不使用額外空間且時間復雜度為O(n)的情況下完成這個任務嗎? 你可以假定返回…

前端初學者開發學習視頻_初學者學習前端開發的實用指南

前端初學者開發學習視頻by Nikita Rudenko通過尼基塔魯登科(Nikita Rudenko) 初學者學習前端開發的實用指南 (A practical guide to learning front end development for beginners) I started my coding journey in spring 2018, a bit less than one year ago. I earned som…

weblogic啟動失敗案例(root啟動引起的權限問題)

weblogic的一個domain啟動失敗,在日志中有如下信息提示: **************************************************** To start WebLogic Server, use a username and ** password assigned to an admin-level user. For ** server administration, us…