<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>livelli misura &#8211; paologironi blog</title>
	<atom:link href="https://www.gironi.it/blog/en/tag/livelli-misura/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.gironi.it/blog</link>
	<description>Scattered notes on (retro) computing, data analysis, statistics, SEO, and things that change</description>
	<lastBuildDate>Fri, 15 Nov 2024 09:41:44 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>The Data: The 4 Scales of Measurement</title>
		<link>https://www.gironi.it/blog/en/the-data-the-4-scales-of-measurement/</link>
					<comments>https://www.gironi.it/blog/en/the-data-the-4-scales-of-measurement/#respond</comments>
		
		<dc:creator><![CDATA[paolo]]></dc:creator>
		<pubDate>Tue, 22 Dec 2020 09:37:00 +0000</pubDate>
				<category><![CDATA[statistics]]></category>
		<category><![CDATA[intervallo]]></category>
		<category><![CDATA[livelli misura]]></category>
		<category><![CDATA[nominale]]></category>
		<category><![CDATA[ordinale]]></category>
		<category><![CDATA[rapporto]]></category>
		<category><![CDATA[Stevens]]></category>
		<guid isPermaLink="false">https://www.gironi.it/blog/?p=3319</guid>

					<description><![CDATA[The 4 scales of measurement. I understand the instinctive reaction: to skip an article that tastes like an unexciting introduction to a topic considered trivial.However, I ask readers for an effort that I think is worth making. The concepts presented in this article are basic and precisely for this reason they have fundamental value and &#8230; <a href="https://www.gironi.it/blog/en/the-data-the-4-scales-of-measurement/" class="more-link">Continue reading<span class="screen-reader-text"> "The Data: The 4 Scales of Measurement"</span></a>]]></description>
										<content:encoded><![CDATA[
<p>The 4 scales of measurement. I understand the instinctive reaction: to skip an article that tastes like an unexciting introduction to a topic considered trivial.<br>However, I ask readers for an effort that I think is worth making. The concepts presented in this article are basic and precisely for this reason they have fundamental value and importance.<br>Assimilating these concepts means building a solid foundation for the topics that will follow.</p>



<p>Put concisely, but resolutely: <strong>we take nothing for granted, because nothing is taken for granted.</strong></p>



<span id="more-3319"></span>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-5ec2e74d      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							Article Contents						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#quantitative-and-qualitative-data" class="uagb-toc-link__trigger">Quantitative and Qualitative Data</a><li class="uagb-toc__list"><a href="#the-4-levels-of-measurement" class="uagb-toc-link__trigger">The 4 Levels of Measurement</a><li class="uagb-toc__list"><a href="#nominal-scale" class="uagb-toc-link__trigger">Nominal Scale</a><li class="uagb-toc__list"><a href="#ordinal-measurement" class="uagb-toc-link__trigger">Ordinal Measurement</a><li class="uagb-toc__list"><a href="#interval-scale" class="uagb-toc-link__trigger">Interval Scale</a><li class="uagb-toc__list"><a href="#ratio-scale" class="uagb-toc-link__trigger">Ratio Scale</a><li class="uagb-toc__list"><a href="#complexity-of-measurement-types" class="uagb-toc-link__trigger">Complexity of Measurement Types</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#to-remember" class="uagb-toc-link__trigger">To Remember</a></li></ul></li><li class="uagb-toc__list"><a href="#working-with-data-using-the-correct-tools" class="uagb-toc-link__trigger">Working with Data Using the Correct Tools</a></ul></ol>					</div>
									</div>
				</div>
			


<h2 class="wp-block-heading">Quantitative and Qualitative Data</h2>



<p>Let&#8217;s start with some fundamental concepts that will always be with us.</p>



<p>Data can be classified into 2 main types:</p>



<ul class="wp-block-list">
<li><strong>Quantitative</strong></li>



<li><strong>Qualitative</strong> (or <strong>Categorical</strong>)</li>
</ul>



<p class="has-text-align-center has-light-gray-background-color has-background"><strong><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-bright-red-color">Important</mark></strong><br>In statistics, the entire group we are studying is called the <strong>population</strong>.<br>The individuals (which can be living beings or things) in the population are called <strong>units</strong>.<br>The characteristics of the units we are studying are called <strong>variables</strong>.</p>



<p>These variables can be quantitative or qualitative (also called categorical).</p>



<h2 class="wp-block-heading">The 4 Levels of Measurement</h2>



<p>Data can be measured at different levels, depending on the type of variable and the level of detail recorded.<br>American psychologist Stanley Smith Stevens proposed a classification of 4 levels of measurement (or scales of measurement) in 1946, which is still widely used today.</p>


<div class="wp-block-image is-style-rounded">
<figure class="alignleft size-large is-resized"><a href="https://it.wikipedia.org/wiki/Stanley_Smith_Stevens" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" width="550" height="520" src="https://www.gironi.it/blog/wp-content/uploads/2020/12/stanley-smith-stevens.jpg" alt="Stanley Smith Stevens - classification of measurement scales" class="wp-image-2058" style="width:413px;height:390px" srcset="https://www.gironi.it/blog/wp-content/uploads/2020/12/stanley-smith-stevens.jpg 550w, https://www.gironi.it/blog/wp-content/uploads/2020/12/stanley-smith-stevens-300x284.jpg 300w" sizes="(max-width: 550px) 85vw, 550px" /></a><figcaption class="wp-element-caption">Stanley Smith Stevens<br>The creator of the 4 scales of measurement system</figcaption></figure>
</div>


<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<p>So we are talking about:</p>



<ul class="wp-block-list">
<li><strong>Nominal Measurement</strong></li>



<li><strong>Ordinal Measurement</strong></li>



<li><strong>Interval Measurement</strong></li>



<li><strong>Ratio Measurement</strong></li>
</ul>



<p>The difference between these 4 types of measurement scales is based on some salient characteristics:</p>



<ul class="wp-block-list">
<li><strong>The order</strong></li>



<li><strong>The distance between observations</strong></li>



<li><strong>The presence and inclusion of a zero with a real meaning</strong></li>
</ul>



<h2 class="wp-block-heading">Nominal Scale</h2>



<p>A nominal measurement is one in which the values of the variables are names. In this case we have:</p>



<ul class="wp-block-list">
<li><strong>The order of observations does not matter</strong></li>



<li><strong>The distance is not maintained</strong></li>



<li><strong>There is no true zero</strong></li>
</ul>



<p>Let&#8217;s use examples from the world of web traffic data analysis, as it&#8217;s &#8220;daily bread&#8221; for those involved in SEO.</p>



<p>Think of the country of origin of visits to a website. Simplifying greatly, I consider visits coming from 4 countries:</p>



<p>Italy<br>France<br>UK<br>USA</p>



<p>We can count the visits from each of these countries:</p>



<pre class="wp-block-preformatted"><strong>Country</strong>        <strong>Visits</strong>
Italy        3305
France       1850
UK            1938
USA           2214</pre>



<p>We are clearly dealing with a nominal measurement.<br>This is because:</p>



<ul class="wp-block-list">
<li><strong>The order doesn&#8217;t matter</strong> (the table is readable even if I change the position of the various countries).</li>



<li><strong>The distance between categories is not relevant</strong>. (It would be if we were treating the data in terms of ratios).</li>



<li><strong>Zero is not needed</strong> (indicating the complete absence of views, and therefore that country would not appear in the report&#8230;).</li>
</ul>



<p>For this type of measurement, the suitable chart type is the <strong>bar chart</strong>, or the <strong>histogram</strong>.</p>



<h2 class="wp-block-heading">Ordinal Measurement</h2>



<p>An ordinal measurement involves collecting information in which the order is important.</p>



<p>In terms of salient characteristics:</p>



<ul class="wp-block-list">
<li><strong>The order of observations matters</strong>.</li>



<li><strong>Ordinal measurement does not preserve distance</strong>. The distance between two consecutive values has no meaning. (For example, the distance between the first and second observation can be in the order of thousands of units, while that between the fifth and sixth may be only a few units&#8230;).</li>



<li><strong>There is no meaningful zero</strong>.</li>
</ul>



<p>Returning to our example of website visits by country:</p>



<pre class="wp-block-preformatted"><strong>Country        Position</strong>
Italy        1
USA           2
UK            3
France       4</pre>



<p>We have established an order. The distance between the values of the various countries is unknown. Zero does not exist.</p>



<p>The <strong>appropriate chart type for ordinal measurements is the histogram or the bar chart</strong>.</p>



<h2 class="wp-block-heading">Interval Scale</h2>



<p>In interval scales, the distance between two values has specific meaning.<br>A typical example is a questionnaire where the answers are coded on a scale ranging, for example, from:<br><br>1 = <em>I like it very little</em><br>to<br>10 = <em>I like it very much</em></p>



<p>The characteristics of interval measurements are:</p>



<ul class="wp-block-list">
<li><strong>The order of responses/observations is relevant</strong>.</li>



<li><strong>The distance is relevant</strong>.</li>



<li><strong>There is no zero with a real meaning</strong>. (Although the data could be scaled so that 0 could be counted).</li>
</ul>



<p>This type of measurement is very common in surveys.</p>



<p><strong>Appropriate chart types for representation are bar charts, line charts, and scatterplots.</strong></p>



<p><strong>The most appropriate statistics for interval measurements are the mean, median, variance, standard deviation, skewness, and kurtosis.</strong></p>



<h2 class="wp-block-heading">Ratio Scale</h2>



<p>Now we come to the most common type of measurement in web data analysis: <strong>the ratio</strong>.</p>



<p>A ratio measurement expresses the relationship between the magnitude of a continuous quantity and a unit magnitude of the same kind.</p>



<p>A variable measured in this way includes not only the concept of order and interval, but also the idea of &#8220;nothing,&#8221; or absolute zero. Therefore:</p>



<ul class="wp-block-list">
<li><strong>The order of responses/observations matters</strong>.</li>



<li><strong>The ratio expresses an interpretable distance</strong>.</li>



<li><strong>There is a true zero</strong>.</li>
</ul>



<p>Staying within the field of web metrics, a typical example is the ratio between the number of visits and goals (conversions).</p>



<p><strong>Appropriate charts are: histograms, bar or line charts, and scatterplots.</strong></p>



<p><strong>Appropriate statistics are: median, mean, variance, standard deviation, skewness, and kurtosis.</strong></p>



<h2 class="wp-block-heading">Complexity of Measurement Types</h2>



<p>Stevens&#8217; categorization of measurement scales shows us an increase in the complexity of measurement types. Schematically:</p>



<div class="wp-block-uagb-icon-list uagb-block-122cd211 uagb-icon-list__outer-wrap uagb-icon-list__layout-vertical"><div class="uagb-icon-list__wrap">
<div class="wp-block-uagb-icon-list-child uagb-block-2a8b3d57 uagb-icon-list-repeater uagb-icon-list__wrapper"><span class="uagb-icon-list__source-wrap"><svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg></span><span class="uagb-icon-list__label"><strong>Nominal</strong></span></div>



<div class="wp-block-uagb-icon-list-child uagb-block-3135ec5c uagb-icon-list-repeater uagb-icon-list__wrapper"><span class="uagb-icon-list__source-wrap"><svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg></span><span class="uagb-icon-list__label"><strong>Ordinal (+ order)</strong></span></div>



<div class="wp-block-uagb-icon-list-child uagb-block-3bb53a39 uagb-icon-list-repeater uagb-icon-list__wrapper"><span class="uagb-icon-list__source-wrap"><svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"></path></svg></span><span class="uagb-icon-list__label"><strong>Interval (+ meaningful distance)</strong></span></div>



<div class="wp-block-uagb-icon-list-child uagb-block-ac7785de uagb-icon-list-repeater uagb-icon-list__wrapper"><span class="uagb-icon-list__source-wrap"><svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0C114.6 0 0 114.6 0 256c0 141.4 114.6 256 256 256s256-114.6 256-256C512 114.6 397.4 0 256 0zM406.6 278.6l-103.1 103.1c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25L306.8 288H128C110.3 288 96 273.7 96 256s14.31-32 32-32h178.8l-49.38-49.38c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l103.1 103.1C414.6 241.3 416 251.1 416 256C416 260.9 414.6 270.7 406.6 278.6z"></path></svg></span><span class="uagb-icon-list__label"><strong>Ratio (+ true zero)</strong></span></div>
</div></div>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Or in a table:</p>



<figure class="wp-block-table is-style-stripes"><table><tbody><tr><td></td><td><strong>Nominal</strong></td><td><strong>Ordinal</strong></td><td><strong>Interval</strong></td><td><strong>Ratio</strong></td></tr><tr><td><strong>Order</strong></td><td>No</td><td>Yes</td><td>Yes</td><td>Yes</td></tr><tr><td><strong>Interpretable Distance</strong></td><td>No</td><td>No</td><td>Yes</td><td>Yes</td></tr><tr><td><strong>True Zero</strong></td><td>No</td><td>No</td><td>No</td><td>Yes</td></tr></tbody></table></figure>



<p>Some types of measurement levels can be transformed into others. The transformation can take place from the most complex to the least complex, never vice versa. And in the transformation, of course, we lose information.</p>



<div class="wp-block-uagb-info-box uagb-block-3840ef3b uagb-infobox__content-wrap  uagb-infobox-icon-left-title uagb-infobox-left uagb-infobox-image-valign-middle uagb-infobox__outer-wrap"><div class="uagb-ifb-content"><div class="uagb-ifb-left-title-image"><div class="uagb-ifb-icon-wrap"><svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M384 48V512l-192-112L0 512V48C0 21.5 21.5 0 48 0h288C362.5 0 384 21.5 384 48z"></path></svg></div><div class="uagb-ifb-title-wrap"><h3 class="uagb-ifb-title">To Remember</h3></div></div><p class="uagb-ifb-desc">You can transform a ratio into an interval (giving up zero), an interval into an ordinal (giving up the meaningful distance), an ordinal into a nominal (giving up the order).<br><strong>The reverse is impossible.</strong></p></div></div>



<h2 class="wp-block-heading">Working with Data Using the Correct Tools</h2>



<p>We have seen how <strong>nominal or ordinal data are qualitative data</strong>. Therefore, we cannot perform normal arithmetic operations on them or directly use statistical indices such as the mean, standard deviation, skewness, or kurtosis. However, we can use a series of non-parametric tools, such as <a href="https://www.gironi.it/blog/tabelle-di-contingenza-e-probabilita-condizionata/" class="rank-math-link">contingency tables</a> or the <a href="https://www.gironi.it/blog/il-test-del-chi-quadrato-bonta-di-adattamento-e-test-di-indipendenza/" class="rank-math-link">chi-squared test of independence</a>.</p>



<p>For <strong>quantitative data</strong>, we obviously have the possibility to operate with the tools of basic arithmetic (we can add, subtract, multiply, divide), as well as take advantage of the possibility of calculating the mean, variance, standard deviation, kurtosis, and skewness. We also have parametric analysis tools at our disposal, such as <a class="rank-math-link" href="https://www.gironi.it/blog/analisi-della-regressione-regressione-lineare-semplice/">correlation indices, regression calculations</a>, and ANOVA.</p>



<p>For the <strong>distinction between parametric and non-parametric analysis tools</strong>, <a href="https://www.gironi.it/blog/test-statistici-parametrici-e-non-parametrici/" data-type="post" data-id="2306">I refer you to this article</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.gironi.it/blog/en/the-data-the-4-scales-of-measurement/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
