ความเบ้ ความโด่ง และการแจกแจงปกติ
อธิบายรูปร่างของการแจกแจง
ความเบ้ ความโด่ง และการแจกแจงปกติ เป็นบทเรียน Data Science Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7 บทเรียนนี้เป็นส่วนหนึ่งของเส้นทางการเรียน Data Science Academy และความก้าวหน้าของคุณจะซิงค์ข้ามเว็บและแอป CoddyKit คอร์ส Data Science Academy มีบทเรียนทั้งหมด 4 บทเรียน
บางส่วนของบทเรียนนี้ยังไม่ได้รับการแปล และแสดงเป็นภาษาอังกฤษ
The Shape of Data
Beyond the average, every column has a shape. Knowing whether it is symmetric, lopsided, or heavy-tailed changes how you analyze it. 📊
What Skew Means
Skewness measures how lopsided a distribution is. A perfectly symmetric bell has zero skew, while a long tail on one side pushes it positive or negative.
print(df["income"].skew())Right-Skewed Data
A positive skew has a long tail stretching right. Income is the classic case: most people cluster low while a few large values pull the mean upward.
Left-Skewed Data
A negative skew has its long tail on the left. Exam scores near a ceiling often look this way, with a few low results trailing far behind the pack.
Mean Versus Median
Skew separates the mean from the median. In right-skewed data the mean sits above the median, which is why median is the safer center for skewed columns.
What Kurtosis Means
Kurtosis describes the tails. High kurtosis means heavy tails with more extreme values, while low kurtosis means thin tails and fewer surprises.
print(df["income"].kurt())Heavy Tails, More Outliers
High kurtosis warns you to expect outliers. The distribution produces extreme values more often than a gentle bell curve ever would.
The Normal Distribution
The famous bell curve is the normal distribution. It is symmetric, has skew near zero, and many statistical methods quietly assume your data looks like it.
Checking Normality
You can check normality by eye with a histogram or a Q-Q plot, where points hugging the diagonal line suggest a roughly normal shape.
Why Normality Matters
Some tests and models assume normality. When data breaks that assumption, your p-values and confidence intervals can quietly become unreliable.
Fixing Skew
A heavy right skew often relaxes after a log transform. Reshaping the column toward normal can make later modeling steps behave far more nicely.
Quick Check
A column has a long tail to the right and a positive skew value. Which statement is true?
Recap
Skew shows lopsidedness and kurtosis shows tail heaviness. The normal curve is the symmetric baseline, and a log transform can tame stubborn skew. ✅
คำถามที่พบบ่อย
บทเรียน “ความเบ้ ความโด่ง และการแจกแจงปกติ” ฟรีหรือไม่
ใช่ — ข้อความเต็มของ “ความเบ้ ความโด่ง และการแจกแจงปกติ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Data Science Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Data Science Academy มีบทเรียนทั้งหมด 4 บทเรียน
คุณจะเรียนรู้อะไรในบทเรียน “ความเบ้ ความโด่ง และการแจกแจงปกติ”
อธิบายรูปร่างของการแจกแจง คุณปฏิบัติ Data Science Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน
คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Data Science Academy หรือไม่
ไม่จำเป็นต้องมีประสบการณ์มาก่อน Data Science Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน
บทเรียน “ความเบ้ ความโด่ง และการแจกแจงปกติ” ใช้เวลานานแค่ไหน
บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย
ฉันเขียนและรันโค้ดในบทเรียน Data Science Academy นี้ได้ไหม
ได้ บทเรียน Data Science Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ
บทเรียนทั้งหมดในหลักสูตรนี้
- สหสัมพันธ์ไม่ใช่เหตุเป็นผล
- Pearson กับ Spearman
- อ่านแผนที่ความร้อนของสหสัมพันธ์
- ความเบ้ ความโด่ง และการแจกแจงปกติ