01.03.2013 Views

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

Applied Statistics Using SPSS, STATISTICA, MATLAB and R

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 1.4<br />

1.3 R<strong>and</strong>om Variables 9<br />

Dataset Variable Value Domain Type<br />

Firms in town X, year 2000 XF {1, 2, 3} a<br />

Discrete, Nominal<br />

Classification of exams XE {1, 2, 3, 4, 5} Discrete, Ordinal<br />

Electrical resistances (100 Ω) XR [90, 110] Continuous<br />

a 1 ≡ Commerce, 2 ≡ Industry, 3 ≡ Services.<br />

One could also have, for instance:<br />

XF: {commerce, industry, services} → {−1, 0, 1}.<br />

XE: {bad, mediocre, fair, good, excellent} → {0, 1, 2, 3, 4}.<br />

XR: [90 Ω, 110 Ω] → [−10, 10].<br />

The value domains (or domains for short) of the variables XF <strong>and</strong> XE are<br />

discrete. These variables are discrete r<strong>and</strong>om variables. On the other h<strong>and</strong>,<br />

variable XR is a continuous r<strong>and</strong>om variable.<br />

The values of a nominal (or categorial) discrete variable are mere symbols (even<br />

if we use numbers) whose only purpose is to distinguish different categories (or<br />

classes). Their value domain is unique up to a biunivocal (one-to-one)<br />

transformation. For instance, the domain of XF could also be codified as {A, B, C}<br />

or {I, II, III}.<br />

Examples of nominal data are:<br />

– Class of animal: bird, mammal, reptile, etc.;<br />

– Automobile registration plates;<br />

– Taxpayer registration numbers.<br />

The only statistics that make sense to compute for nominal data are the ones that<br />

are invariable under a biunivocal transformation, namely: category counts;<br />

frequencies (of occurrence); mode (of the frequencies).<br />

The domain of ordinal discrete variables, as suggested by the name, supports a<br />

total order relation (“larger than” or “smaller than”). It is unique up to a strict<br />

monotonic transformation (i.e., preserving the total order relation). That is why the<br />

domain of XE could be {0, 1, 2, 3, 4} or {0, 25, 50, 75, 100} as well.<br />

Examples of ordinal data are abundant, since the assignment of ranking scores<br />

to items is such a widespread practice. A few examples are:<br />

– Consumer preference ranks: “like”, “accept”, “dislike”, “reject”, etc.;<br />

– Military ranks: private, corporal, sergeant, lieutenant, captain, etc.;<br />

– Certainty degrees: “unsure”, “possible”, “probable”, “sure”, etc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!