DEV Community

Cover image for "Day 54 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( Perm & Comb - 9)
Nitin-bhatt46
Nitin-bhatt46

Posted on

1

"Day 54 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( Perm & Comb - 9)

PERMUTATION AND COMBINATION - 9

Alike Objects

Permutation of Alike Objects :-

Arrangement :-

Q1. 4 objects ( alike ) in how many ways can you arrange them ?

AAAA only in 1 way.

Explanation :-

No. of arrangements if they are different = 4!
But in this case all are alike so, = 4! / 4! = 1

Q2. 3 objects and other 2 objects( alike ) in how many ways can you arrange them ?

AAABB

Explanation :-

No. of arrangements if they are different = 5!
But in this case all are alike so, = 5! / 3! * 2!

Q3.A,A,B,B,B,C,C,D,D,D,D
In how many ways can you arrange them ?

Explanation :-

No. of arrangements if they are different = 11!
But in this case all are alike so, = 11! / 2! * 3! * 2! * 4!

WHY WE DIVIDE to get the correct answer because they are not the same.

Combination of Alike Objects :-

Selection :-

Q1. consider some objects
A,A,B,B,B,C,C?

IN HOW MANY WAYS WE CAN SELECT ONE OBJECT ?

NO. OF UNIQUE OBJECTS
Enter fullscreen mode Exit fullscreen mode

IN HOW MANY WAYS WE CAN SELECT TWO OBJECTS ?

Bucket method :- 
 1 bucket - AA 
Enter fullscreen mode Exit fullscreen mode

2 bucket - BBB
3 bucket - CC

WE HAVE TO USE A BUCKET METHOD. 
Enter fullscreen mode Exit fullscreen mode

BOTH DIFFERENT - 3c2
BOTH ALIKE - 3c1

3C2 MEANS there are 3 buckets and we need both to be different so, at least we need to select 2 buckets where we can select different objects.

IN HOW MANY WAYS WE CAN SELECT THREE OBJECTS ?

Bucket method :-
1 bucket - AA
2 bucket - BBB
3 bucket - CC

WE HAVE TO USE A BUCKET METHOD. 
Enter fullscreen mode Exit fullscreen mode

ALL DIFFERENT - 3c3
ONE ALIKE TWO DIFFERENT - 3c1 * 2c1
ALL SAME - 1

This is the last CLASS for Permutation and Combination.

From Today Onwards I will be Starting Probability.

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! 🙏

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

AWS GenAI Live!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️