数据库课程设计结论_结论:

数据库课程设计结论

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.mzph.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…