Abstract:
การเป็นอิสระต่อกันและมาจากรูปแบบความน่าจะเป็นเดียวกัน เป็นคุณสมบัติซึ่งเป็นข้อสมมติเบื้องต้นของข้อมูลในการสร้างตัวสถิติทดสอบเพียร์สันไคกำลังสองและตัวสถิติทดสอบอัตราส่วนควรจะเป็นไคกำลังสองสำหรับทดสอบความเป็นอิสระ ซึ่งในกรณีที่ข้อมูลได้มาจากการสุ่มตัวอย่างอย่างง่ายแบบไม่ใส่คืนจะเป็นข้อมูลที่ขาดคุณสมบัติดังกล่าวนี้ ในการวิจัยครั้งนี้จึงมีวัตถุประสงค์เพื่อหาข้อสรุปที่เชื่อถือได้ของการนำตัวสถิติทั้ง 2 มาทำการทดสอบความเป็นอิสระสำหรับข้อมูลจากการสำรวจตัวอย่าง ทั้งจากการสุ่มตัวอย่างอย่างง่ายแบบใส่คืนและแบบไม่ใส่คืน ทำการศึกษาจากการจำลองข้อมูล โดยสถานการณ์ที่ศึกษา คือ ข้อมูลในตารางการณ์จรขนาด 2 x 2 กำหนดขนาดตัวอย่างเท่ากับ 50, 100 และ 150 ระดับนัยสำคัญที่กำหนดเท่ากับ 0.01 และ 0.05 มีการทำซ้ำจำนวน 1000 ครั้ง ในแต่ละสถานการณ์ ผลการวิจัยพบว่า กรณีที่ข้อมูลได้จากการสุ่มตัวอย่างอย่างง่ายแบบใส่คืน มีค่าความผิดพลาดประเภทที่ 1 ใกล้เคียงกับระดับนัยสำคัญที่กำหนดมากกว่ากรณีแบบไม่ใส่คืน และมีค่าความผิดพลาดประเภทที่ 1 น้อยกว่ากรณีแบบไม่ใส่คืนในทุกสถานการณ์ โดยที่ค่าความผิดพลาดประเภทที่ 1 ของทั้ง 2 กรณีจะมีค่าเพิ่มขึ้นเมื่อขนาดตัวอย่างเพิ่มมากขึ้น และตัวสถิติทั้ง 2 สามารถควบคุมความผิดพลาดประเภทที่ 1 ได้ในทุกสถานการณ์ สำหรับค่าอำนาจการทดสอบกรณีที่ข้อมูลได้จากการสุ่มตัวอย่าอย่างง่ายแบบใส่คืนมีค่าอำนาจการทดสอบมากกว่ากรณีแบบไม่ใส่คืน และเมื่อขนาดตัวอย่างและระดับความสัมพันธ์ของข้อมูลเพิ่มขึ้นค่าอำนาจการทดสอบจะมีค่าเพิ่มขึ้นในทุกสถานการณ์ ดังนั้นสรุปได้ว่าการขาดคุณสมบัติการเป็นอิสระต่อกันและมาจากรูปแบบความน่าจะเป็นเดียวกันของข้อมูลที่ได้จากการสุ่มตัวอย่างอย่างง่ายแบบไม่ใส่คืน ทำให้ผลการทดสอบความเป็นอิสระเกิดความผิดพลาดสูงและให้อำนาจการทดสอบต่ำ ซึ่งจะนำไปสู่ข้อสรุปและการตัดสินใจที่ไม่ถูกต้อง
Independent identically distributed random sample is a property which is the assumption of data in building Pearsons chi squared test statistic and likelihood ratio test statistic to test for independence. In the case that data from simple random sampling without replacement is the data witch lack of this property. The objective of this study was to find out the realistic conclusion about the both test statistic when to test for independence based on data from sample survey which generated from simple random sampling with replacement (SRSWR) and simple random sampling without replacement (SRSWOR) by simulation. The situation in this study to included : 2 x 2 contingency table, the sample size equal 50, 100 and 150, the significant levels were 0.01 and 0.05. The simulation repeating 1,000 times for each situation. It was found that the case that data from SRSWR had type I error closed to significant levels more than the case that data from SRSWOR. And the case that data from SRSWR had type I error less than the case that data from SRSWOR in all situation. Type I error in both case was to increased when the sample size was large. The both test statistic can controlled type I error in all situation. For power of the test found that the case that data from SRSWR had power of the test more than the case that data from WRSWOR. When the sample size was large and the relationship of the variable was strong, power of the test of both test statistic was to increased in all situation. It can be concluded that data which lack of independent identically distribute random sample affect to the result of testing for independence has a high error and a low power of the test which leading to the wrong conclusion and the incorrect decision.