Possible-code Cleaning
For any given variable, there is a specified set of legitimate attributes, translated into a set of possible codes. In the variable gender, there will be perhaps three possible codes: I for male, 2 for female, and 0 for no answer. If a case in the attribute assigned to gender has been coded 7, say, it’s clear that an error has been made.
Possible-code cleaning is the process of checking to see that only the codes assigned to particular attributes-possible codes-appear in the data files. This can be accomplished in two First, many of the computer programs available for data entry check for errors as the data are being entered. If you tried to enter a 7 for gender in such programs, for example, the computer might “beep” and refuse the erroneous code. Other computer programs are designed to test for illegitimate codes in data files that weren’t checked during data entry.
If you don’t have access to these kinds of computer programs, you can locate some errors by examining the distribution of responses to each item in your data set. Thus if you find your data set contains 350 people coded I on gender (for male), 400 people coded 2 (for female), and one person coded 7, you’ll probably suspect the 7 is an error. Whenever you discover errors, the next step is to locate the appropriate source document (for example, the questionnaire), determine what code should have been entered, and make the necessary correction.
Contingency Cleaning
เป็นไปได้รหัสซักแห้ง
ใดๆให้ตัวแปร มีคุณลักษณะที่กำหนดให้ถูกต้อง แปลเป็นชุดของรหัสที่เป็นไปได้ ในตัวแปรเพศ จะมีบางทีสามที่สุดรหัส : ผมสำหรับชายและหญิง 2 , 0 ไม่ตอบ ถ้าเป็นกรณีในลักษณะที่ได้รับมอบหมาย - มีโค๊ต 7 กล่าวว่า เป็นที่ชัดเจนว่า มีข้อผิดพลาดได้ .
ทำความสะอาดรหัสที่เป็นไปได้คือ กระบวนการของการตรวจสอบเพื่อดูว่ารหัสมอบหมายคุณสมบัติเฉพาะรหัสได้ปรากฏในข้อมูลไฟล์ นี้สามารถทำได้ใน 2 ครั้งแรก หลายของโปรแกรมสามารถบันทึกข้อมูลตรวจสอบข้อผิดพลาดเป็นข้อมูลที่ถูกป้อน ถ้าคุณพยายามที่จะป้อน 7 สำหรับเพศในโปรแกรมดังกล่าว ตัวอย่างเช่นคอมพิวเตอร์อาจ " บี๊บ " และปฏิเสธรหัสผิดพลาด โปรแกรมคอมพิวเตอร์อื่น ๆถูกออกแบบมาเพื่อทดสอบนอกกฎหมายรหัสข้อมูลที่ไม่ได้ตรวจสอบในระหว่างการบันทึกข้อมูลไฟล์ .
ถ้าคุณไม่ได้มีการเข้าถึงเหล่านี้ชนิดของโปรแกรมที่คุณสามารถค้นหาบางข้อผิดพลาดโดยการตรวจสอบการกระจายของการตอบสนองต่อข้อมูลแต่ละรายการในชุดของคุณ .ดังนั้นถ้าคุณพบว่าข้อมูลของคุณชุด มี 350 คนรหัสผม เพศ ( ชาย ) , 400 คน รหัส 2 ( สำหรับหญิง ) , และหนึ่งคนรหัส 7 , คุณอาจจะสงสัยว่า 7 คือข้อผิดพลาด เมื่อใดก็ตามที่คุณพบข้อผิดพลาด , ขั้นตอนต่อไปคือการหาแหล่งที่เหมาะสม เอกสาร ( ตัวอย่างเช่น แบบสอบถาม ) , ตรวจสอบรหัสอะไรที่เคยใส่ และทำให้การแก้ไขที่จำเป็น
รับทำความสะอาด
การแปล กรุณารอสักครู่..
