DEV Community

Cover image for "Day 39 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Mathematics for Data Analysis (Stats Day -18)
Nitin-bhatt46
Nitin-bhatt46

Posted on

"Day 39 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Mathematics for Data Analysis (Stats Day -18)

STATISTICS FOR DATA ANALYTICS - 18

T-test - numerical - 1

Conditions :-

Standard deviation is not given
Sample less than 30.
Degree of freedom = n-1 { n = sample size }

Whether the Groups being compared come from a single population or two different populations.

Different type of t-test
One-sample mean test
Paired Two- Sample Mean Test
Unpaired Two-Sample Mean Test
Two-Sample Proportion Test
A/B Testing

T - test : one sample Mean Test :-

We perform a one sample Mean Test when we want to compare a sample mean with population mean.

Step 1 :-

T-calculated =
sample mean - population mean / sample std deviation / under root of sample size.

Step 2 :-

Degree of freedom
N -1

Step 3 :-

T-Critical

If significance value is 0.05
With the value of significance and the degree of freedom we can get the T -score.

Step 4 :-
Comparing T- calculated and T - critical

If T-calculated is less than T-critical then we fail to reject the null hypothesis.

Two sample Mean Test :-
Types :-
Paired.
unpaired.

T - test : Paired Two sample Mean Test :-

Paired :- Only evaluating single dataset

Eg :- New medicine test :-
Test 1 - sample population without any medicine
Test 2 - same sample population with medicine.

Step 1 :-

Create null and alternate hypothesis

Null hypothesis = no effect.
Alternate hypothesis = before is not equal to after.

Step 2 :-

Find the t value
For comparison we need critical value for this we need a degree of freedom (n-1).

T stat < T critical for two-tail ( acceptance region )

Excel has its own formula for this which you have learned in the excel course.

Feel free to share this post to enhance awareness and understanding of these fundamental concepts in statistical analysis!

🙏 Thank you all for your time and support! 🙏

Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! 💻✨

Top comments (0)