تجاوز إلى المحتوى الرئيسي

From the Biostatistics & Health Informatics curriculum

In this topic (4)

Two jobs of statistics; Kinds of variable; Frequency tables; Choosing the graph

Two jobs of statistics

Statistics applied to medicine and the biological sciences: collecting, summarising, analysing and interpreting health data.

  1. Descriptive statistics summarises and presents the data in hand (tables, graphs, averages, spread).
  2. Inferential statistics uses a sample to draw conclusions about the population it was drawn from.
  3. Primary data are collected first-hand by the researcher (interviews, questionnaires, observation, experiments): targeted, but costly, slow and effortful.
  4. Secondary data were collected earlier by someone else (hospital records, vital and disease registers): faster, cheaper and less effort, but may be out of date, incomplete, biased or not fit the question.

Kinds of variable

TypeHow obtainedExamples
Quantitative continuousmeasured, no gaps between valuesheight, weight, age, BP, cholesterol
Quantitative discretecounted, whole numbersfamily size, number of admissions, heart beats
Qualitative nominalnamed categories, no ordersex, blood group, eye colour
Qualitative ordinalcategories that can be rankedresponse to treatment (poor, fair, good), disease severity

A value that is the same for everyone studied (number of fingers, eyes, kidneys) does not vary, so exams call it a constant.

The type of data decides the summary, the graph and, above all, the test of significance: means and t-tests for measured data, counts and chi-square for categories.

  • Quantitative continuous variable: A measured characteristic that can take any value within a range, such as height or blood pressure.
  • Quantitative discrete variable: A numerical characteristic with distinct possible values, such as a whole-number count of hospital admissions.
  • Qualitative nominal variable: A characteristic recorded in unordered categories, such as blood group or eye color.

Frequency tables

  1. Continuous data are grouped into class intervals of equal width that do not overlap and leave no gaps; every observation fits exactly one class.
  2. The lecture's rule of thumb is about 5-20 classes; Sturges' rule gives K = 1 + 3.322 log N, and width = range / K.
  3. The class mark is the midpoint: (lower + upper limit) / 2. Real limits extend a class by half a unit each side (60-70 becomes 59.5-70.5).
  4. Relative frequency = class frequency / total; multiply by 100 for a percentage. Cumulative frequency adds each class to all those before it.

Choosing the graph

  1. Pie chart: sectors sized by percentage; shows one variable at a time and is weak for comparisons.
  2. Bar chart: qualitative and quantitative discrete data; bars of equal width with spaces between them. Two series side by side (imports and exports by year) use a clustered bar chart.
  3. Histogram: continuous data in a grouped table; bars touch because the classes run into each other.
  4. Frequency polygon: points over each class midpoint, joined by straight lines; the normal curve is its smoothed form.
  5. Line graph: a value that changes over time, with time on the x-axis (temperature charts, monthly cases, yearly rates).

If the x-axis would be time, the answer is a line graph; if the data are categories or counts, a bar chart; if measured and grouped, a histogram.

Keep reading this subunit

Sign up free to read the rest of this subunit; we bring you back here.

  • Kinds of variable
  • Frequency tables
Start freeLog in

Last updated:

A preview of “Data, variables, tables and graphs” from the unit “Biostatistics” in Biostatistics & Health Informatics: 4 lesson sections, 20 definitions, 40 worked questions.

Source: Mutah, 86e1d4acf6e154af.pdf (pages 3-22)

More in this unit

Continue studying