Posts

Showing posts with the label statistic

Statistic for genomic data science

สถิติ ช่วยอะไรได้บ้าง 1. เอามาใช้ในการสุ่มเลือกกลุ่มประชากร เพื่อใช้ได้การศึกษา ซึ่งต้องดูว่าจะสุ่มเลือกตัวอย่างแบบไหน 2. การสุ่มเลือกที่ดี คือ ต้องสามารถเอามาเป็นตัวแทนของข้อมูลที่ถูกสุ่มมาได้เป็นอย่างดี 3. สถิติยังช่วยในเรื่องของการอธิบายลักษณะของกลุ่มประชากรที่ถูกสุ่มมา จากการเรียนรู้ผ่านทางกลุ่มตัวอย่าง

Chi-square

Image
The Chi-square test is used to compare the differences between categorical data. My Note from Datacamp subscription - เหมือนกับว่าเรามีค่า observatory data มาแล้ว และมันจะคำนวนหาค่า expected data มาให้ โดยค่าที่เป็น expected data จะเป็นค่าที่ ค่า variable  This statistic that we've just formulated is called the chi-squared statistic. It captures the distance between a contingency table and the table you would expect if the variables were independent of one another. We found that the statistic for the relationship between party and natspac was one-point-three-three. If we calculate the statistic for the relationship with natarms, we get a much greater distance: eighteen-point-nine-seven. With this statistic in hand, you can return to the hypothesis test to answer the question of if either of these observed statistics: one-point-three-three or eighteen-point-nine-seven is so great as to lead you to reject the null hypothesis that these spending priorities are independent of political...