Skip to main content
Select Source:

coding

coding The transformation of observations into categories and classifications, assigning a number or symbol to each item of information or section of a statement, to enable quantitative analysis to be carried out subsequently. While coding is an important part of many types of research, it is most commonly thought of as an essential element within survey research. Coding is also an important aspect of measurement, for in the act of coding we are making a measurement.

To demonstrate these points we may consider the example of a questionnaire administered to an individual (or ‘informant’ or ‘respondent’) in a social survey. In most social surveys the majority of questions are closed, that is, the range of permissible answers is predetermined. For example, suppose there was a question in a survey on voting behaviour which asked, ‘If there were an election tomorrow, which political party would you vote for?’ Usually, the range of permissible answers would be printed on the questionnaire under the question, in the following manner:

Q. 15 If there was an election tomorrow, which political party would you vote for?

Republican

1

Democrat

2

Other

3

Would not vote

4

Don't know

5



If the respondent replied ‘Republican’ to the question, the interviewer would circle the number 1 next to ‘Republican’. In so doing, the question is coded: for this question, all those answering Republican are given the value of 1. Their responses have thus been measured and will eventually be entered into a data-set.

However, some questions are open; that is, the range of answers is not predefined, because they cannot so easily be predicted. For example, the question on voting behaviour might be followed by one which asked ‘Why would you vote for the (Republican) Party?’ A space is left below the question for the interviewer to write down the respondent's answer verbatim. The researcher must then analyse a sample of the answers given in order to establish a coding frame. This frame will serve as a means for distinguishing different types of answer. Imagine that the following frame is devised:

Category

Code

Likes particular policies of party

1

Likes ideals of party

2

Always votes for the party

3

Dislikes policies of other party

4

Likes party leaders

5

Wants a change of government

6

Other reasons

7



This frame is then given to an experienced coder, along with the frames for all other open questions. The coder reads each respondent's answer to the question and has to decide to which one of the code-frame categories each answer most closely approximates. For example, if the respondent had said ‘Because I believe in cutting taxes and controlling welfare spending’, the coder would circle 1, since the respondent is answering in terms of Republican party policy. Hence coding is the first step in processing data.

Much of the coding work in sample surveys is done by the interviewer, but some has to be done after the interview by trained coders, during so-called office coding. When a questionnaire has been completely coded the numeric codes are entered into a computer for eventual analysis. Every act of coding—whether by interviewer or office coder—is a measurement, that is, the assignment of a numeral for an answer, according to some rule. The rules are provided by the pre-coded question (to which only one answer is possible), or by the coding frame for open questions, where the coder selects the appropriate code for the answer. This can, of course, then lead to measurement error. The interviewer might circle the wrong answer or the coder might ascribe the wrong code. For this reason, editors are employed to check the work of interviewers and coders, and computer edit-checks are used to search for inconsistencies in the data (for example, out-of-range codes, double-coding, and so forth). These methods serve as a check on the reliability and validity of the data.

Coding is essential for the analysis of responses to surveys and most questionnaires provide space for the codes connected with each reply. However, coding can be applied to other types of information, such as depth interviews or observed interactions, and it is an important aspect of conversation analysis. When qualitative coding is applied to the substantive content of communications, such as newspapers or political speeches, it is called content analysis. See also ERROR (SAMPLING AND NON-SAMPLING).

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"coding." A Dictionary of Sociology. . Encyclopedia.com. 20 May. 2018 <http://www.encyclopedia.com>.

"coding." A Dictionary of Sociology. . Encyclopedia.com. (May 20, 2018). http://www.encyclopedia.com/social-sciences/dictionaries-thesauruses-pictures-and-press-releases/coding

"coding." A Dictionary of Sociology. . Retrieved May 20, 2018 from Encyclopedia.com: http://www.encyclopedia.com/social-sciences/dictionaries-thesauruses-pictures-and-press-releases/coding

Learn more about citation styles

Citation styles

Encyclopedia.com gives you the ability to cite reference entries and articles according to common styles from the Modern Language Association (MLA), The Chicago Manual of Style, and the American Psychological Association (APA).

Within the “Cite this article” tool, pick a style to see how all available information looks when formatted according to that style. Then, copy and paste the text into your bibliography or works cited list.

Because each style has its own formatting nuances that evolve over time and not all information is available for every reference entry or article, Encyclopedia.com cannot guarantee each citation it generates. Therefore, it’s best to use Encyclopedia.com citations as a starting point before checking the style against your school or publication’s requirements and the most-recent information available at these sites:

Modern Language Association

http://www.mla.org/style

The Chicago Manual of Style

http://www.chicagomanualofstyle.org/tools_citationguide.html

American Psychological Association

http://apastyle.apa.org/

Notes:
  • Most online reference entries and articles do not have page numbers. Therefore, that information is unavailable for most Encyclopedia.com content. However, the date of retrieval is often important. Refer to each style’s convention regarding the best way to format page numbers and retrieval dates.
  • In addition to the MLA, Chicago, and APA styles, your school, university, publication, or institution may have its own requirements for citations. Therefore, be sure to refer to those guidelines when editing your bibliography or works cited list.

coding

coding The transformation of a detailed design into a program. Use of the term coding generally implies a straightforward activity – simply expressing an existing design in some formal programming language – and that any decisions made during the activity (such as the choice among arbitrary locations for particular variables) would not be classed as design decisions since they are of a relatively trivial nature. See also software life cycle.

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"coding." A Dictionary of Computing. . Encyclopedia.com. 20 May. 2018 <http://www.encyclopedia.com>.

"coding." A Dictionary of Computing. . Encyclopedia.com. (May 20, 2018). http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/coding

"coding." A Dictionary of Computing. . Retrieved May 20, 2018 from Encyclopedia.com: http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/coding

Learn more about citation styles

Citation styles

Encyclopedia.com gives you the ability to cite reference entries and articles according to common styles from the Modern Language Association (MLA), The Chicago Manual of Style, and the American Psychological Association (APA).

Within the “Cite this article” tool, pick a style to see how all available information looks when formatted according to that style. Then, copy and paste the text into your bibliography or works cited list.

Because each style has its own formatting nuances that evolve over time and not all information is available for every reference entry or article, Encyclopedia.com cannot guarantee each citation it generates. Therefore, it’s best to use Encyclopedia.com citations as a starting point before checking the style against your school or publication’s requirements and the most-recent information available at these sites:

Modern Language Association

http://www.mla.org/style

The Chicago Manual of Style

http://www.chicagomanualofstyle.org/tools_citationguide.html

American Psychological Association

http://apastyle.apa.org/

Notes:
  • Most online reference entries and articles do not have page numbers. Therefore, that information is unavailable for most Encyclopedia.com content. However, the date of retrieval is often important. Refer to each style’s convention regarding the best way to format page numbers and retrieval dates.
  • In addition to the MLA, Chicago, and APA styles, your school, university, publication, or institution may have its own requirements for citations. Therefore, be sure to refer to those guidelines when editing your bibliography or works cited list.