Professional Documents
Culture Documents
Unit-4 RM
Unit-4 RM
Z test
Parametric test
Sample size > 30
Hypothesis
F test
testing
Non Parametric
Chi square
test
What is a t-test?
A t-test (also known as Student's t-test) was introduced by William Sealy Gosset .
t test used to determine the significance of the difference between the mean of two sets of
data.
The question asked is –Is the mean of sample A is significantly different from the mean of
sample B.
Null hypothesis (H0)states- the mean of sample A and B are same
Alternative hypothesis(Ha)-means of sample A and B are different.
For example, a meal delivery firm in India wants to investigate the link between gender,
geography, and people's food preferences.
It is used to calculate the difference between two categorical variables, which are:
As a result of chance or
Because of the relationship
Degree of freedom=(s-1)(t-1)
S- number of columns
t- number of rows
characteristics of chi-square
The chi-square test has several key characteristics:
1) It is non-parametric, meaning it does not assume a specific
probability distribution for the data.
2) It is sensitive to sample size; larger samples can result in
more significant outcomes.
3) It works with categorical data and is used for hypothesis
testing and analyzing associations.
4) The test output provides a p-value, which indicates the
level of significance for the observed relationship between
variables.
5)It can be used with different levels of significance (e.g.,
0.05 or 0.01) to determine statistical significance.
Chi-Square Distribution
When we consider, the null speculation is true, the
sampling distribution of the test statistic is called as chi-
squared distribution. The chi-squared test helps to
determine whether there is a notable difference between
the normal frequencies and the observed frequencies in
one or more classes or categories. It gives the probability of
independent variables.
Note: Chi-squared test is applicable only for categorical
data, such as men and women falling under the categories
of Gender, Age, Height, etc.
Applications of Chi-Test
The applications of χ2 -test statistic can be discussed as
stated below:
1. Testing the divergence of observed results from expected
results when our expectations are based on the hypothesis
of equal probability.
2. Chi-square test when expectations are based on normal
distribution.
3. Chi-square test when our expectations are based on
predetermined results.
4. Correction for discontinuity or Yates’ correction in
calculating χ 2 .
5. Chi-square test of independence in contingency tables.
Difficulties in the Formulation of
Hypothesis:
1. Absence of knowledge of a clear theoretical
framework.
2. Lack of ability to make use of the theoretical
framework logically.
3. Inability to assume properly the outcome of research.
4. Inability to to phrase and frame it to fulfill
requirement.
Data analysis/Analysis of Data
Data analysis is the process of collecting, modeling, and
analyzing data using various statistical and logical methods
and techniques.
Data analysis is the process of cleaning, analyzing,
interpreting, and visualizing data using various techniques
and business intelligence tools.
Data analysis tools help you discover relevant insights that
lead to smarter and more effective decision-making.
Types of Data analysis
There are four main types of data analysis that are used
across all the industries. Let’s understand all the types
of data analytics with examples.
1. Descriptive Analysis
2. Diagnostic Analysis
3. Predictive Analysis
4. Prescriptive Analysis
1-Descriptive analytics-
The purpose of descriptive analysis is to take raw data,
identify trends, and offer a mechanism to report on what
happened where, and to how many.
Descriptive analytics offers a snapshot in time by answering
the most fundamental question: “What happened?”
Descriptive analytics provides the foundation the other
types of analytics need for more sophisticated inquiries.
For example
you’d use descriptive analytics to determine month-to-
month sales growth, gauge how many users visited your
landing page over a certain period, or calculate how much
revenue you realized over a certain number of weeks.
2-Diagnostic analytics
Where descriptive analytics wants to answer the question, “What
happened?” diagnostic analytics examines the question, “Why
did it happen?”
Building on the conclusions gleaned from the fact-finding
mission of descriptive analytics, diagnostic analytics can uncover
causal information through an examination of the variables that
came into play.
For example,
if you can conclude that your company’s revenue spiked during
June, you might opt for a particular course of action based on
that information.
For example, adventuresush sales and rental business might run
a diagnostic analysis regarding a spike in business in June. It
might correlate the increase with a new aggressive advertising
campaign and conclude there’s a causal relationship between the
campaign, the increase in sales, and the rise in revenue.
3-Predictive analytics
Predictive analytics looks at the question, “What is likely to happen in
the future?” The benefit of this is clear.
If you can predict future outcomes given a certain set of variables, you
can identify actions to help you obtain favorable outcomes or avoid
unfavorable outcomes.
Predictive analytics examines historical data in conjunction with other
variables—such as industry trends, economic forecasts, and consumer
confidence—to make enlightened predictions regarding future
occurrences.
Example,
let’s say you want to know if you should repeat June 2022’s effective—
but expensive—advertising campaign to increase the sale of kayaks in
June 2023 using predictive analytics.
You might want to consider how watersports equipment sales have
historically trended during the month of June to create a statistical
model that predicts performance in the summer as a whole.
Engaging in predictive analytics can go a long way in helping you
decide whether, how, and when to increase your advertising spending.
4-Prescriptive analytics
Prescriptive analytics can help you decide how to operate aspects of your
business in the future. It answers the question, “What should our next
move be?”
Taking into account all possible variables that can be known or logically
anticipated, the role of prescriptive analytics is to discern how to proceed
based on an analysis of likely scenarios.