數據庫課程設計結論_結論:

數據庫課程設計結論

In this article, we will learn about different types[Z Test and t Test] of commonly used Hypothesis Testing.

在本文中,我們將學習常用假設檢驗的不同類型[ Z檢驗和t檢驗 ]。

假設是什么? (What is Hypothesis?)

This is a Statistical process which is an assumption about population parameter.

這是一個統計過程,是有關總體參數的假設。

Using the hypothesis testing we can reject / accept the assumptions made by projecting the data from Sample to Population (or) from Population to Sample.

使用假設檢驗,我們可以拒絕/接受通過從樣本到總體(或從總體到樣本)的數據投影所做的假設。

This process can also be termed as validity of projection.This operates around Null Hypothesis H0 & Alternative Hypothesis H1.

此過程也可以稱為投影的有效性。此過程圍繞零假設 H0和替代假設H1進行

There are few commonly used Tests which can be classified based on 2 categories:

很少有可以根據2類進行分類的常用測試:

Sampling distribution Of Means — Z Test & T Test

均值的抽樣分布-Z檢驗和T檢驗

Sampling distribution Of Variance — Chi squared Test & F Test

方差的抽樣分布-卡方檢驗和F檢驗

Z檢驗: (Z Test:)

Assumptions for Z Test:

Z測試的假設:

a. Sample size should be greater than 30

一個。 樣本數量應大于30

b. Population Standard Deviation should be known

b。 人口標準偏差應該是已知的

c. Variables in data should be continuous

C。 數據變量應該是連續的

Steps for Z Test:

Z測試步驟:

a. State H0 or H1 — [From the given problem we need to find]

一個。 狀態H0或H1-[根據給定的問題,我們需要找到]

b. Choose the level of significance — [Will be given in problem statement] If it is 0.05 ->1–0.05 = 95%

b。 選擇顯著性水平-[將在問題陳述中給出]如果為0.05-> 1–0.05 = 95%

c. Find the Critical values — Range for 95% -> Refer the Z score table → -1.96 to +1.96

C。 查找臨界值-范圍為95%->請參閱Z得分表→-1.96至+1.96

From Emperical split there are 3 most widely used values of Z we can directly take depending on the value:

從Emperical split中可以得出3個最常用的Z值,具體取決于該值:

If the Confidence Level is 99% — Z score value is 2.56, 95% — 1.96,90% — 1.64

如果置信度為99% -Z得分值為 2.56,則95%-1.96,90%-1.64

d. Find the Test Statistics — Z value using the below formula

d。 使用以下公式找到“測試統計量”-Z值

e. Arrive at a Conclusion, to accept the hypothesis or reject the hypothesis

e。 得出結論,接受假設或拒絕假設

Image for post
“Z” calculation formula
“ Z”計算公式

Where the variables are;

變量在哪里;

  • X =Mean of the Sample,

    X =樣本均值,
  • μ =Mean of population

    μ =人口平均值
  • σ = Standard Deviation of population

    σ=總體標準差
  • n = No. of observations

    n =觀察數

If the Z value falls within the Critical Value range, then we can accept the Hypothesis, else it has to be rejected

如果Z值在臨界值范圍內,則我們可以接受假設,否則就必須拒絕該假設

If the Confidence level is other than the above 3 values, then we need to use Z Score table to find the Z Scores/probability value, with which we can decide on accepting or rejecting the hypothesis.

如果置信度水平不是上述3個值,則需要使用Z分數表查找Z分數/概率值,我們可以使用該值決定接受還是拒絕該假設。

If the resultant value[Test Statistics — Z Value] is negative, then we need to verify negative Z score table. Else we need to verify positive Z score table.

如果結果值[測試統計數據-Z值]為負,則需要驗證負Z得分表 。 否則我們需要驗證正Z得分表

Sample 1: If Test Statistic Z value = 1.26 , then we need to use positive Z score table. Where 1.2 in Y axis and 0.06 in X axis.

樣本1:如果測試統計Z值= 1.26,那么我們需要使用正Z得分表。 其中Y軸為1.2,X軸為0.06。

Sample 2: If the Test statistic value is negative, we need to refer the negative Z score table. Finally to get the actual area / probability we need to subtract the Z score value from 1.

示例2:如果“測試”統計量值為負,則需要參考負Z得分表。 最后,要獲得實際面積/概率,我們需要從1中減去Z得分值。

Image for post
Positive Z Score table
正Z得分表
Image for post
Negative Z Score table
負Z得分表

T檢驗: (T Test:)

T Test is also called as Student test.

T測驗也稱為學生測驗。

Assumptions for T Test:

T檢驗的假設:

a. Sample size can be < 30

一個。 樣本大小可以<30

b. Population Standard Deviation is not known

b。 人口標準偏差未知

c. Variables should be continuous

C。 變量應該是連續的

Image for post
“t” calculation formula
“ t”計算公式

We need to know another small concept called Degrees of Freedom (n-1) when we study about Student “t” test.

當我們研究學生“ t”測驗時,我們需要知道另一個稱為自由度(n-1)的小概念。

(n-1) — can be defined as the number of independent observations in computing mean is called degrees of freedom.

(n-1) —可以定義為計算平均值時獨立觀察的數量稱為自由度。

“ t”測試步驟: (Steps for “t ”Test:)

a. State H0 or H1

一個。 狀態H0或H1

b. Choose the level of significance — [given] If it is 0.05 ->1–0.05 = 95%

b。 選擇顯著性水平-[給定]如果為0.05-> 1–0.05 = 95%

c. Find the Critical values [Refer the steps above — same as Z Test]

C。 查找臨界值[請參考上述步驟-與Z測試相同]

d. Find the Test Statistics — t value using the above formula

d。 使用以上公式找到測試統計量-t值

e. Arrive at a Conclusion, to accept the hypothesis or reject the hypothesis

e。 得出結論,接受假設或拒絕假設

Here we need “t” table to find the probability. Y axis — for Degrees of freedom, X axis — for level of significance.

在這里,我們需要“ t”表來找到概率。 Y軸-適用于自由度,X軸-適用于重要程度。

Image for post
Student “t” table
學生“ t”表

結論: (Conclusion:)

With this we have come to an end of this article!

至此,我們結束了本文!

In this we have learnt about Tests for Sampling distribution of Means.

在此我們了解了均值抽樣分布的檢驗。

Please wait for “Learning Series II” for Tests related to ‘Sampling distribution of Variance’

請等待“學習系列II”中與“方差抽樣分布”相關的測試

Happy Learning! 🙂

學習愉快! 🙂

翻譯自: https://medium.com/swlh/hypothesis-testing-and-its-types-8212256a601e

數據庫課程設計結論

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

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

相關文章

JavaScript數據類型:Typeof解釋

typeof is a JavaScript keyword that will return the type of a variable when you call it. You can use this to validate function parameters or check if variables are defined. There are other uses as well.typeof是一個JavaScript關鍵字&#xff0c;當您調用它時將…

asp.net讀取用戶控件,自定義加載用戶控件

1、自定義加載用戶控件 ceshi.aspx頁面 <html><body> <div id"divControls" runat"server"></div> </body></html> ceshi.aspx.cs頁面 System.Web.UI.UserControl newUC (System.Web.UI.UserControl)Page.LoadContro…

配置Java_Home,臨時環境變量信息

一、內容回顧 上一篇博客《Java運行環境的搭建---Windows系統》 我們說到了配置path環境變量的目的在于控制臺可以在任意路徑下都可以找到java的開發工具。 二、配置其他環境變量 1. 原因 為了獲取更大的用戶群體&#xff0c;所以使用java語言開發系統需要兼容不同版本的jdk&a…

網頁縮放與窗口縮放_功能縮放—不同的Scikit-Learn縮放器的效果:深入研究

網頁縮放與窗口縮放內部AI (Inside AI) In supervised machine learning, we calculate the value of the output variable by supplying input variable values to an algorithm. Machine learning algorithm relates the input and output variable with a mathematical func…

在構造器里調用可重寫的方法有什么問題?

問題&#xff1a;在構造器里調用可重寫的方法有什么問題&#xff1f; 我有一個檢票頁面的類通過抽象方法的結果去去設置頁的標題 public abstract class BasicPage extends WebPage {public BasicPage() {add(new Label("title", getTitle()));}protected abstract…

創建hugo博客_如何創建您的第一個Hugo博客:實用指南

創建hugo博客Hugo is a great tool to use if you want to start a blog.如果您想創建博客&#xff0c;Hugo是一個很好的工具。 I use Hugo myself for my blog, flaviocopes.com, and Ive been using it for more than two years. I have a few reasons for loving Hugo.我本…

Python自動化開發01

一、 變量變量命名規則變量名只能是字母、數字或下劃線的任意組合變量名的第一個字符不能是數字以下關鍵字不能聲明為變量名 [and, as, assert, break, class, continue, def, del, elif, else, except, exec, finally, for, from, global, if, import, in, is, lambda, not,…

記錄關于vs2008 和vs2015 的報錯問題

出現了 VS2008無法創建項目&#xff0c;無法打開項目的情況&#xff0c;提示這個注冊表鍵值有問題 HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ MSBuild \ ToolsVersions \ 14.0&#xff0c; 但是查看了注冊表沒有這個鍵。費盡辛萬苦&#xff0c;中午在思密達的一個網站上看到…

未越獄設備提取數據_從三星設備中提取健康數據

未越獄設備提取數據Health data is collected every time you have your phone in your pocket. Apple or Android, the phones are equipped with a pedometer that counts your steps. Hence, health data is recorded. This data could be your one free data mart for a si…

怎么樣用System.out.println在控制臺打印出顏色

問題&#xff1a;怎么樣用System.out.println在控制臺打印出顏色 怎么樣才能在控制臺里打印顏色啊&#xff1f;我想要展示一些有顏色的字體&#xff0c;當處理器發送數據和接收數據的時候&#xff0c;也使用不同顏色的字體。 回答一 在這個Java類里面帶有public static 的數…

sql注入語句示例大全_SQL Order By語句:示例語法

sql注入語句示例大全Order By is a SQL command that lets you sort the resulting output from a SQL query.Order By是一個SQL命令&#xff0c;可讓您對SQL查詢的結果輸出進行排序。 訂購依據(ASC&#xff0c;DESC) (Order By (ASC, DESC)) ORDER BY gives us a way to SORT…

[BZOJ2599][IOI2011]Race 點分治

2599: [IOI2011]Race Time Limit: 70 Sec Memory Limit: 128 MBSubmit: 3934 Solved: 1163[Submit][Status][Discuss]Description 給一棵樹,每條邊有權.求一條簡單路徑,權值和等于K,且邊的數量最小.N < 200000, K < 1000000 Input 第一行 兩個整數 n, k第二..n行 每行三…

分詞消除歧義_角色標題消除歧義

分詞消除歧義折磨數據&#xff0c;它將承認任何事情 (Torture the data, and it will confess to anything) Disambiguation as defined in the vocabulary.com dictionary refers to the removal of ambiguity by making something clear and narrowing down its meaning. Whi…

北航教授李波:說AI會有低潮就是胡扯,這是人類長期的追求

這一輪所謂人工智能的高潮&#xff0c;和以往的幾次都有所不同&#xff0c;那是因為其受到了產業界的極大關注和參與。而以前并不是這樣。 當今世界是一個高度信息化的世界&#xff0c;甚至我們有一只腳已經踏入了智能化時代。而在我們日常交流和信息互動中&#xff0c;迅速發…

創建字符串枚舉的最好方法

問題&#xff1a;創建字符串枚舉的最好方法 用一個枚舉類型去表示一組字符串的最好方法是什么 我嘗試這樣&#xff1a; enum Strings{STRING_ONE("ONE"), STRING_TWO("TWO") }我怎么樣才可以像使用字符串那樣使用它們&#xff1f; 回答一 我不知道你想…

網絡安全習慣_健康習慣,確保良好的網絡安全

網絡安全習慣In a similar fashion to everyone getting the flu now and again, the risk of catching a cyberattack is a common one. Both a sophisticated social engineering attack or grammatically-lacking email phishing scam can cause real damage. No one who c…

attr和prop的區別

由于prop(property的縮寫)和attr(attribute的縮寫)翻譯成漢語&#xff0c;均有“特性、屬性”等意思的原因&#xff0c;導致大家容易混淆分不清。 (1)在處理自定義時屬性時&#xff0c;用attr()&#xff0c;若用prop(),則結果為undefined&#xff1b; (2)DOM固有屬性&#xff0…

15行Python代碼,幫你理解令牌桶算法

在網絡中傳輸數據時&#xff0c;為了防止網絡擁塞&#xff0c;需限制流出網絡的流量&#xff0c;使流量以比較均勻的速度向外發送&#xff0c;令牌桶算法就實現了這個功能&#xff0c;可控制發送到網絡上數據的數目&#xff0c;并允許突發數據的發送。 什么是令牌 從名字上看令…

在Java中,如何使一個字符串的首字母變為大寫

問題&#xff1a;在Java中&#xff0c;如何使一個字符串的首字母變為大寫 我使用Java去獲取用戶的字符串輸入。我嘗試使他們輸入的第一個字符大寫 我嘗試這樣: String name;BufferedReader br new InputStreamReader(System.in);String s1 name.charAt(0).toUppercase());…

在加利福尼亞州投資于新餐館:一種數據驅動的方法

“It is difficult to make predictions, especially about the future.”“很難做出預測&#xff0c;尤其是對未來的預測。” ~Niels Bohr?尼爾斯波爾 Everything is better interpreted through data. And data-driven decision making is crucial for success in any ind…