<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20120330//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<!--<?xml-stylesheet type="text/xsl" href="article.xsl"?>-->
<article article-type="research-article" dtd-version="1.1" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<front>
<journal-meta>
<journal-id journal-id-type="issn">1683-1470</journal-id>
<journal-title-group>
<journal-title>Data Science Journal</journal-title>
</journal-title-group>
<issn pub-type="epub">1683-1470</issn>
<publisher>
<publisher-name>Ubiquity Press</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5334/dsj-2020-038</article-id>
<article-categories>
<subj-group>
<subject>Research paper</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Data Warehouse Hybrid Modeling Methodology</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0001-8433-6115</contrib-id>
<name>
<surname>Tak&#225;cs</surname>
<given-names>Viktor L&#225;szl&#243;</given-names>
</name>
<email>takacs.viktor@econ.unideb.hu</email>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-5445-2374</contrib-id>
<name>
<surname>Bubn&#243;</surname>
<given-names>Katalin</given-names>
</name>
<role>Doctoral</role>
<xref ref-type="aff" rid="aff-2">2</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-1184-1660</contrib-id>
<name>
<surname>R&#225;thonyi</surname>
<given-names>Gergely G&#225;bor</given-names>
</name>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>B&#225;ba</surname>
<given-names>&#201;va B&#225;csn&#233;</given-names>
</name>
<xref ref-type="aff" rid="aff-3">3</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-1783-6483</contrib-id>
<name>
<surname>Szil&#225;gyi</surname>
<given-names>R&#243;bert</given-names>
</name>
<xref ref-type="aff" rid="aff-1">1</xref>
</contrib>
</contrib-group>
<aff id="aff-1"><label>1</label>Institute of Applied Informatics and Logistics, Faculty of Economics and Business, University of Debrecen, Debrecen, HU</aff>
<aff id="aff-2"><label>2</label>School of Mathematical and Computational Sciences, University of Debrecen, Debrecen, HU</aff>
<aff id="aff-3"><label>3</label>Institute of Rural Development, Tourism and Sports Management, Faculty of Economics and Business, University of Debrecen, Debrecen, HU</aff>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2020-10-13">
<day>13</day>
<month>10</month>
<year>2020</year>
</pub-date>
<pub-date pub-type="collection">
<year>2020</year>
</pub-date>
<volume>19</volume>
<elocation-id>38</elocation-id>
<history>
<date date-type="received" iso-8601-date="2018-10-08">
<day>08</day>
<month>10</month>
<year>2018</year>
</date>
<date date-type="accepted" iso-8601-date="2020-04-27">
<day>27</day>
<month>04</month>
<year>2020</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright: &#x00A9; 2020 The Author(s)</copyright-statement>
<copyright-year>2020</copyright-year>
<license license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/4.0/">
<license-p>This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License (CC-BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. See <uri xlink:href="http://creativecommons.org/licenses/by/4.0/">http://creativecommons.org/licenses/by/4.0/</uri>.</license-p>
</license>
</permissions>
<self-uri xlink:href="http://datascience.codata.org/articles/10.5334/dsj-2020-038/"/>
<abstract>
<p>The classic conceptual modeling around business processes followed by the &#8216;bus matrix&#8217; methodology of designing the data cubes of data warehouses (<xref ref-type="bibr" rid="B8">Kimball &amp; Ross 2013</xref>). For a serious system, such a quantity of management questions and dimensions, the bus matrix results a difficult-to-understand conceptual data model. The subject of automation and conceptual design &#8211; to which many individual methods already have been developed &#8211; are relevant topics in today&#8217;s literature also.</p>
<p>In the 2010s data warehouse projects were realized in Hungarian higher education to inform the decision makers of the universities about their own institutions. As we participated in this project in 2009&#8211;2010, we faced that our bus matrix at the end contained about 80&#8211;120 indicators with nearly 200 dimensions (dimensional attributes), therefore we worked on the early stenography to formalize the management question.</p>
<p>We provide a kind of &#8216;business intelligence problem solving thinking&#8217; and a kind of descriptive language that can serve it and present a method which has two novelties compared to formers:
<list list-type="order">
<list-item><p>It is based on the management questions and its visualization.</p></list-item>
<list-item><p>As a kind of stenography, it is always based on the terminology corresponding to the current problem, so it forms an intermediate language for the data model.</p></list-item>
</list></p>
<p>We introduce our method through an example in a popular research area which is activity tracking.</p>
</abstract>
<kwd-group>
<kwd>Formal methods</kwd>
<kwd>Data science</kwd>
<kwd>Information Management</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec>
<title>1 Introduction</title>
<p>From the 2000&#8217;s we had to study a new concept in management sciences. It was &#8216;Business Intelligence&#8217; (BI). Krauth (<xref ref-type="bibr" rid="B9">2008</xref>) summarized the actual information about Business Intelligence and also forecasted the expected development and changes of BI for the next ten years. One of the priorities changes he emphasized was that &#8216;Technologies providing business intelligence will leave the corporate framework and move on a much wider scale to serve the growing demands of organizations and individuals for accurate, substantial and comprehensible information.&#8217;</p>
<p>After ten years we saw that the demand was actually raised in the leaders of small and medium enterprises also for the dissolution of business intelligence, furthermore there are several so-called self-service business intelligence solutions we should use to satisfy this demand. From the 2010s we could see that the basic technology of business informatics the online analytical processing (OLAP) was released in scientific research also, mainly in processing measured data.</p>
<p>In the 2000s business environment &#8211; mainly in small and medium enterprises &#8211; unfortunately we saw that neither the economists nor the IT staff of these small firms could work with this BI-solutions (softwares). The reason for the problem is not in technical difficulties but in acquiring the right way of thinking to model the function of their own firm, define correctly the information requirement of management (conceptual modeling) and translate it to a logical model.</p>
<p>We participated in a data warehouse projects where we realized that our &#8216;corporate bus matrix&#8217; contained about 80&#8211;120 indicators with nearly 200 dimensions (dimensional attributes), therefore we started to work on the early stenography to formalize the management question (<xref ref-type="bibr" rid="B16">Tak&#225;cs &amp; Bubn&#243; 2012</xref>).</p>
</sec>
<sec>
<title>2 Related Works</title>
<p>It is an often-mentioned problem today in the literature that there is no standardized or widely agreed method for implementing the conceptual model (<xref ref-type="bibr" rid="B1">B&#225;nn&#233; 2012</xref>; <xref ref-type="bibr" rid="B11">Macedo &amp; Oliviera 2015</xref>; <xref ref-type="bibr" rid="B13">Rizzi 2008</xref>). Furthermore, it is a good practice to try to follow the classical design steps of database systems (<xref ref-type="bibr" rid="B4">Halassy 1994</xref>) in the design of the data warehouse (conceptual model-&gt;logical model-&gt;physical model-&gt;implementation), but opinions differ in the literature which should be the right order of the steps, furthermore, there is a lot of overlap. Mainly conceptual and logical modeling are often mixed with each other or their borders are blurred, however Halassy clearly defined the levels of database planning, furthermore he proved that these levels must be separated from each other (<xref ref-type="bibr" rid="B4">Halassy 1994</xref>).</p>
<p>According to the method presented by us, the conceptual model is nothing more than a set of formalized leadership questions. A management question can already be seen as part of an OLAP data cube, and OLAP cubes can be built from subsets of management questions. The question is to optimize their number and distribution. That is, how many cubes do we have to build and how many questions can be answered. While the former is a matter of financial concern for customers, the latter is about the efficiency of the information system.</p>
<p>As regards data warehouses as information systems, the question of efficiency is most of all the above-mentioned two aspects (cost and amount of information that can be extracted). Di Tria, Lefons, &amp; Tangorra (<xref ref-type="bibr" rid="B2">2017</xref>) tested design methodologies and carried out for cost-effectiveness analysis. They have set up their framework and metrics to implement this analysis. The classic approaches of data warehouse design can be sorted into two sets: data driven methods and requirement driven methods. Both have advantages and limitations also (<xref ref-type="bibr" rid="B2">Di Tria, Lefons, &amp; Tangorra 2017</xref>). For example, the requirement driven approach leads such multidimensional schemas that usually results in one data cube that answer only one question of the management. The main problem with the multidimensional schemas of the other approach is the big number of the potential questions which cause data lakes that become data swamps. We consider a cuboid as a base of a potential management question. The problem is: what is the minimal (optimal cost) number of cuboids? These problems with both approaches lead to the birth of several so-called hybrid modeling methods to design data warehouses. Di Tria, Lefons, &amp; Tangorra (<xref ref-type="bibr" rid="B2">2017</xref>) identified the criteria based on the literature to evaluate these hybrid methods. They used the 4 common and main criteria that is necessary to evaluate a data warehouse designing methodology. These are: Correctness, Completeness, Minimality and Understandability (<xref ref-type="bibr" rid="B4">Halassy 1994</xref>). Furthermore, based on the literature they defined metrics to the evaluation of costs and benefits, specially the &#8216;Metrics for schema quality&#8217; and the &#8216;Metrics for design effort&#8217;. Then they compare six hybrid methods based on this framework:</p>
<list list-type="order">
<list-item><p>Graph-based Hybrid Multidimensional model (referred to as GrHyMM),</p></list-item>
<list-item><p>UML for Data Warehouse (referred to as UMLDW),</p></list-item>
<list-item><p>Multidimensional Design by Example (referred to as MDBE),</p></list-item>
<list-item><p>Phipps&amp;Davis Methodology (referred to as PDM),</p></list-item>
<list-item><p>Goal-oriented Requirement Analysis for Data Warehouse Design (referred to as GRAnD),</p></list-item>
<list-item><p>Goal/Question/Metric-based Methodology (referred to as GQM).</p></list-item>
</list>
<p>Based on Di Tria, Lefons, &amp; Tangorra (<xref ref-type="bibr" rid="B2">2017</xref>) in Table <xref ref-type="table" rid="T1">1</xref> we present the steps of the six methodologies above and the features or results of the certain steps, extended with our Visualized Management Question-based Design methodology (referred to as VMQD*).</p>
<table-wrap id="T1">
<label>Table 1</label>
<caption>
<p>Steps of the six methodologies.</p>
</caption>
<table>
<tr>
<th align="left" valign="top"></th>
<th align="left" valign="top">GrHyMM</th>
<th align="left" valign="top">UMLDW</th>
<th align="left" valign="top">MDBE</th>
<th align="left" valign="top">PDM</th>
<th align="left" valign="top">GRAnD</th>
<th align="left" valign="top">GQM</th>
<th align="left" valign="top">VMQD*</th>
</tr>
<tr>
<td colspan="8"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Requirement Analysis</bold></td>
<td align="left" valign="top">goals, tasks</td>
<td align="left" valign="top">goals, tasks</td>
<td align="left" valign="top">queries in SQL</td>
<td align="left" valign="top">queries in SQL</td>
<td align="left" valign="top">goals, decisions</td>
<td align="left" valign="top">goals, questions, metrics</td>
<td align="left" valign="top">visualized questions, metrics, dimensionality</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Minimal Granularity</bold></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top">minimally detailed metrics</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Ideal Schema</bold></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top">ideal facts, ideal dimensions</td>
<td align="left" valign="top">ideal facts, ideal dimensions</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Source Analysis</bold></td>
<td align="left" valign="top">independent, source system schema</td>
<td align="left" valign="top">independent, CWM</td>
<td align="left" valign="top">independent</td>
<td align="left" valign="top">independent</td>
<td align="left" valign="top">independent</td>
<td align="left" valign="top">independent, potential schema</td>
<td align="left" valign="top">potential transactions, attributes, partly dependent,</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Integration</bold></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top">potential schema vs.ideal schema</td>
<td align="left" valign="top">potential schema vs.ideal schema</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Reconciliation</bold></td>
<td align="left" valign="top">DB integrity</td>
<td align="left" valign="top">consistent UML multidimensional schema</td>
<td align="left" valign="top">DB integrity</td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Multidimensional Modeling</bold></td>
<td align="left" valign="top">facts, attribute tree for facts, remodeling</td>
<td align="left" valign="top">cubes, dimensions, hierarchies, measures</td>
<td align="left" valign="top">dimensions and facts from tables</td>
<td align="left" valign="top">Date dimension and Attribute dimensions for factsMeER</td>
<td align="left" valign="top">Derived from requirement analysis schemas</td>
<td align="left" valign="top"></td>
<td align="left" valign="top">MeER</td>
</tr>
<tr>
<td align="left" valign="top"><bold>Schema Selection</bold></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top">MeER related to questions</td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
</tr>
<tr>
<td align="left" valign="top"><bold>Manual Refinement</bold></td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
<td align="left" valign="top" colspan="3">modified automatically generated schema</td>
<td align="left" valign="top"></td>
<td align="left" valign="top"></td>
</tr>
</table>
</table-wrap>
<p>Our Visualized Management Question-based Design methodology is closest to GQM in the steps, but there are some differences.</p>
<list list-type="order">
<list-item><p>Requirement Analysis. We collect questions with metrics and dimensionality of the problem also in this phase with the required visualizations from the decision makers via interviews. Then we formalize these specifications with our special structured stenography that is based on the terminology corresponding to the current problem. The output of this step is a set of formalized questions.</p></list-item>
<list-item><p>Deriving minimal granularity. Based on the set of formalized questions we specify the required minimal granularity for every indicator. The output of this step is the set of indicators with minimally detailed dimensions.</p></list-item>
<list-item><p>Deriving ideal schemata. We map the dimensional attributes and values to keys, produce the initial conceptual schemata. The output of this step contains ideal dimensions (keys, attributes and hierarchies) and ideal facts (with dimension keys for join), independently from the sources.</p></list-item>
<list-item><p>Source Analysis. The main question of this step is: What kind of transactions can we get them from? We decompose ideal facts into potential elementary transactional attributes and identify them in the source systems. The output of this step is the derived potential schemata.</p></list-item>
<list-item><p>Integration. Ideal schemata from the requirement analysis are compared with potential star schemata. Match occurs, when the two schemata contain the same fact, and, both have the same dimensionality in the same granularity level. In this step we define required transformations and calculate fact tables and common dimensions with attributes.</p></list-item>
<list-item><p>Multidimensional modeling. We build the cube(s) with dimensions, dimension hierarchies and measures.</p></list-item>
</list>
<p>We used the Di Tria, Lefons, &amp; Tangorra (<xref ref-type="bibr" rid="B2">2017</xref>) notation to visualize the framework of our methodology for better comparison (Figure <xref ref-type="fig" rid="F1">1</xref>).</p>
<fig id="F1">
<label>Figure 1</label>
<caption>
<p>Framework of VMQD.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g1.png"/>
</fig>
<p>Every question of the management is a visualization of aggregated indicator(s) detailed with dimensional attribute(s). So, we must formalize these questions of the management.</p>
<p>The formalisation has to cover:</p>
<list list-type="bullet">
<list-item><p>aggregations (aggregate functions)</p>
<p>i.e. sum, min, max, average, count, median, modus, correlation, etc.;</p></list-item>
<list-item><p>indicators with unit</p>
<p>i.e. Price<sup>$</sup>, Quantity<sup>pcs</sup>, Weight<sup>kg</sup>, etc.;</p></list-item>
<list-item><p>visualization</p>
<p>i.e. table, line chart, map, network graphs, population pyramid, etc.;</p></list-item>
<list-item><p>attributes</p>
<p>i.e. Gender, Product name, City, Order date, etc.;</p></list-item>
<list-item><p>attribute aggregation</p>
<p>i.e. sum, min, max, average, rate, distribution, etc.;</p></list-item>
<list-item><p>dimensions</p>
<p>i.e. Person, Product, Geography, Date, etc.;</p></list-item>
<list-item><p>dimension hierarchies</p>
<p>i.e. Product-&gt;Product category, City-&gt;County-&gt;Country-&gt;Continent</p></list-item>
</list>
<p>The structure and syntax of the formalization is:</p>
<disp-formula>
<alternatives>
<mml:math id="Eq001-mml">
<mml:mrow><mml:mi>Indicato</mml:mi><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>aggregate</mml:mi><mml:mo>&#x00A0;&#x2009;</mml:mo><mml:mi>functions</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>units</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mtext>type</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mi>slicer</mml:mi><mml:mo>&#x00A0;&#x2009;</mml:mo><mml:mi>attribute</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>visualization</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtext>attribute&#x00A0;</mml:mtext><mml:mo>&#x2009;&#x2009;</mml:mo><mml:mtext>values</mml:mtext></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>detail</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M1">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
Indicator_{\left\{ {aggregate\, functions} \right\}}^{\{ units\} }{\left({\begin{array}{*{20}{c}}
{{\rm{type}}}\\
{\left[ {slicer\,attribute} \right]}
\end{array}} \right)^{visualization}}\left[ {{{\left({{\rm{attribute}}\,\,{\rm{values}}} \right)}^{detail}}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e1.gif"/>
</alternatives>
</disp-formula>
</sec>
<sec sec-type="methods">
<title>3 Methodology of formalization of conceptual design</title>
<p>In the following paragraph we would like to explain our methodology.</p>
<list list-type="order">
<list-item><p>In the phase of requirement analysis, we collect and formalize management questions. The question and description are defined in a textual and formal way. The &#8216;manager&#8217; is the person for whom the system provides information. As a result, she expects to see a data-visualization report appearing on different dashboards. The reports and dashboards need to be configured according to the requirements of access rights (what kind of level managers can access the statements).</p>
<p>In the requirement analysis, we &#8216;analyse&#8217; the management question based on the following considerations in Table <xref ref-type="table" rid="T2">2</xref>:</p>
<p>What is the indicator? In which aggregation? What is the unit? Which visualization we want to see? in Which detail(s)? Is there a slicer?</p>
<p>Formally: <inline-formula>
<alternatives>
<mml:math id="Eq002-mml">
<mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>af</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mtext>af</mml:mtext></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>vt</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M2">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}_{\left\{ {{\rm{af}}\left[ {,{\rm{af}}} \right]} \right\}}^{\left\{ {u\left[ {,u} \right]} \right\}}{\left({\begin{array}{*{20}{c}}
{vt}\\
{\left[ {\left\{ {\begin{array}{*{20}{c}}
s\\
s
\end{array}} \right\}} \right]}
\end{array}} \right)^v}\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\mathop \sum \nolimits^ \left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\mathop \sum \nolimits^ \left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e5.gif"/>
</alternatives>
</inline-formula></p>
<p>This formal definition is related to one diagram. Several different visualizations need to arise from the leader on a question related to the requirement specification, so many formal descriptions are made in this section.</p></list-item>
<list-item><p>Deriving the minimum granularity for each indicator. Determine the indicators in the management question and determine the required minimum granularity (dimension and key), where:</p>
<list list-type="bullet">
<list-item><p><bold><italic>I</italic></bold><sup>{<italic>u</italic>}</sup> the indicator <bold><italic>I</italic></bold> with <italic>u</italic> unit(s) in the upper right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub> dimension <bold><italic>D</italic></bold> with dimension key <italic>dk</italic> in the lower right index</p></list-item>
</list>
<p>Formally: <inline-formula>
<alternatives>
<mml:math id="Eq003-mml">
<mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M3">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{I}}^{\left\{ {u\left[ {,u} \right]} \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e6.gif"/>
</alternatives>
</inline-formula></p></list-item>
<list-item><p>When we derive an ideal schemata, we produce fact tables for the indicators specified in the minimum granularity and optimizing the number of fact sheets. The properties are grouped into dimensions and hierarchies. Each dimension must have a dimension key (see relational data model), where:</p>
<list list-type="bullet">
<list-item><p><bold><italic>I</italic></bold><sup>{<italic>u</italic>}</sup> the indicator <bold><italic>I</italic></bold> with <italic>u</italic> unit(s) in the upper right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub> dimension <bold><italic>D</italic></bold> with dimension key <italic>dk</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimension <bold><italic>D</italic></bold> with attribute <italic>a</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>i</italic>}</sub> dimension <bold><italic>D</italic></bold> with indicator <italic>i</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>dhk</italic>}</sub> dimension <bold><italic>D</italic></bold> with dimension hierarchy key <italic>dhk</italic> in the lower right index, when hierarchy levels are stored in separate tables</p></list-item>
</list>
<p>Fact tables formally: <inline-formula>
<alternatives>
<mml:math id="Eq004-mml">
<mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M4">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{I}}^{\left\{ u \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e7.gif"/>
</alternatives>
</inline-formula>, or <inline-formula>
<alternatives>
<mml:math id="Eq005-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M5">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}^{\left\{ u \right\}}}}\\
{\left[ {{{\boldsymbol{I}}^{\left\{ u \right\}}}} \right]}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e8.gif"/>
</alternatives>
</inline-formula> depending on whether the given fact table contains one or more indicators.</p>
<p>Dimension table formally: <inline-formula>
<alternatives>
<mml:math id="Eq006-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dhk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M6">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{D}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ i \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ {dhk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e9.gif"/>
</alternatives>
</inline-formula></p>
<p>During optimization we can notice one of the following cases in Table <xref ref-type="table" rid="T3">3</xref>:</p>
<list list-type="bullet">
<list-item><p>Different indicators with the same dimensionality and granularity can be grouped into one fact table.</p></list-item>
<list-item><p>Different indicators could be similar when they have the same dimensionality but diverging granularity, so we examine whether they can be produced from one another.</p></list-item>
<list-item><p>Dimensionality of one indicator is a proper subset of the dimensionality of the other indicator, so the other indicator dimensionality will be the minimum required.</p></list-item>
</list></list-item>
<list-item><p>We will evaluate the available data during the source analysis. Source system can be transaction-oriented or analysis-oriented.</p>
<list list-type="bullet">
<list-item><p>The Transaction-Oriented Source System (OLTP) is characterized by a relational data model</p>
<p><inline-formula>
<alternatives>
<mml:math id="Eq007-mml">
<mml:mrow><mml:mi>E</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>fk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M7">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{E}}\left({{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}\left[ {,{{\boldsymbol{E}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{E}}_{\left\{ {fk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e14.gif"/>
</alternatives>
</inline-formula> and <inline-formula>
<alternatives>
<mml:math id="Eq008-mml">
<mml:mrow><mml:mi>R</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M8">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{R}}\left({{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}\left[ {,{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}} \right],{{\boldsymbol{R}}_{\left\{ a \right\}}}\left[ {,{{\boldsymbol{R}}_{\left\{ a \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e15.gif"/>
</alternatives>
</inline-formula></p>
<p>where:</p>
<list list-type="bullet">
<list-item><p><bold><italic>E</italic></bold>(&#160;) <bold><italic>E</italic></bold> entity in the source system,</p></list-item>
<list-item><p><bold><italic>E</italic></bold><sub>{<italic>pk</italic>}</sub> <italic>pk</italic> primary key of <bold><italic>E</italic></bold> entity</p></list-item>
<list-item><p><bold><italic>E</italic></bold><sub>{<italic>a</italic>}</sub> <italic>a</italic> attribute of <bold><italic>E</italic></bold> entity</p></list-item>
<list-item><p><bold><italic>E</italic></bold><sub>{<italic>fk</italic>}</sub> <italic>fk</italic> foreign key of <bold><italic>E</italic></bold> entity</p></list-item>
<list-item><p><bold><italic>R</italic></bold>(&#160;) <bold><italic>R</italic></bold> relation, transaction between different entities, with the relational attributes</p></list-item>
<list-item><p><bold><italic>R</italic></bold><sub>{<italic>a</italic>}</sub> <italic>a</italic> attribute of <bold><italic>R</italic></bold> relation</p></list-item>
</list></list-item>
<list-item><p>In the case of an Analysis-Oriented Source System (OLAP), the multidimensional relational model is typical.</p>
<p>Fact tables formally: <inline-formula>
<alternatives>
<mml:math id="Eq009-mml">
<mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M9">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{I}}^{\left\{ u \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e16.gif"/>
</alternatives>
</inline-formula>, or <inline-formula>
<alternatives>
<mml:math id="Eq010-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M10">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}^{\left\{ u \right\}}}}\\
{\left[ {{{\boldsymbol{I}}^{\left\{ u \right\}}}} \right]}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e17.gif"/>
</alternatives>
</inline-formula> depending on whether the given fact table contains one or more indicators.</p>
<p>Dimension table formally: <inline-formula>
<alternatives>
<mml:math id="Eq011-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dhk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M11">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{D}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ i \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ {dhk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e18.gif"/>
</alternatives>
</inline-formula>, wehere:</p>
<list list-type="bullet">
<list-item><p><bold><italic>I</italic></bold><sup>{<italic>u</italic>}</sup> the indicator <bold><italic>I</italic></bold> with <italic>u</italic> unit(s) in the upper right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub> dimension <bold><italic>D</italic></bold> with dimension key <italic>dk</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimension <bold><italic>D</italic></bold> with attribute <italic>a</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>i</italic>}</sub> dimension <bold><italic>D</italic></bold> with indicator <italic>i</italic> in the lower right index</p></list-item>
<list-item><p><bold><italic>D</italic></bold><sub>{<italic>dhk</italic>}</sub> dimension <bold><italic>D</italic></bold> with dimension hierarchy key <italic>dhk</italic> in the lower right index, when hierarchy levels are stored in separate tables</p></list-item>
</list></list-item>
</list></list-item>
<list-item><p>During integration, we coordinate the ideal data model with the available source system data. Describe the requirements that include attributes, dimension keys, and additional indicators to use. We design the data loading (ETL/ELT) process in Table <xref ref-type="table" rid="T4">4</xref>.</p></list-item>
</list>
<table-wrap id="T2">
<label>Table 2</label>
<caption>
<p>Management question analysis.</p>
</caption>
<table>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">Indicator</td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq012-mml">
<mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>af</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mtext>af</mml:mtext></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M12">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}_{\left\{ {{\rm{af}}\left[ {,{\rm{af}}} \right]} \right\}}^{\left\{ {u\left[ {,u} \right]} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e2.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="3">the indicator <bold><italic>I</italic></bold> to be produced with <italic>u</italic> unit(s) in the upper right index and af aggregate function(s) in the bottom right index,</td>
</tr>
<tr>
<td align="left" valign="top">unit(s)</td>
</tr>
<tr>
<td align="left" valign="top">aggregate function(s)</td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">visualization</td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq013-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>vt</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M13">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{vt}\\
{\left[ {\left\{ {\begin{array}{*{20}{c}}
s\\
s
\end{array}} \right\}} \right]}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e3.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="2">the <italic>v</italic> visualization with the type <italic>vt</italic> (table, line diagram, bar graph, etc. &#8230;) and optional <italic>s</italic> slicers (values can be <bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimensional attribute, <bold><italic>D</italic></bold><sub>{v}</sub> subset of concrete values, or a <bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimensional attribute in the <italic>d</italic> detail of another <bold><italic>I</italic></bold> indicator on the same dashboard)</td>
</tr>
<tr>
<td align="left" valign="top">slicer(s)</td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">detail(s)</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq014-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M14">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\mathop \sum \nolimits^ \left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\mathop \sum \nolimits^ \left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e4.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><italic>d</italic> details with <bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimensional attribue(s), with optional <inline-formula>
<alternatives>
<mml:math id="Eq015-mml">
<mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x03A3;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M15">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\Sigma^{\{a\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e106.gif"/>
</alternatives>
</inline-formula> aggregation. <italic>d</italic> values e.g.: <italic>row, col</italic>umn, <italic>cat</italic>egory, <italic>y</italic> indicator</td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
</table>
</table-wrap>
<table-wrap id="T3">
<label>Table 3</label>
<caption>
<p>Optimizations&#8217; notations.</p>
</caption>
<table>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq016-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2261;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M16">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}_1}}\\
{{{\boldsymbol{I}}_2}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right) \equiv {{\boldsymbol{I}}_1}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right) \times {{\boldsymbol{I}}_2}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e10.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top">Combining indicators <bold><italic>I<sub>1</sub></italic></bold> and <bold><italic>I<sub>2</sub></italic></bold> with the same dimensionality. We create the Descartes multiplier of the two indicators.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g6.png"/></td>
<td align="left" valign="top">The value of the indicator <bold><italic>I</italic></bold> can be obtained by summing through dimension <bold><italic>D</italic></bold> (roll up) with the aggregate function in the lower left index of <bold><italic>I</italic></bold>. Calculating the aggregation from <bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub> at the bottom of the Summa symbol to the level at the top of the Summa sign (<italic>all</italic> or <bold><italic>D</italic></bold><sub>{<italic>dhk</italic>}</sub> hierarchy level, leaving the original key. This is referred to as <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g7.png"/>.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq019-mml">
<mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2282;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2261;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math>
<tex-math id="M19">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\begin{array}{l}
{{\boldsymbol{I}}_1}\left({{{\boldsymbol{A}}_{\left\{ {dk} \right\}}}} \right) \subset {{\boldsymbol{I}}_2}\left({{{\boldsymbol{A}}_{\left\{ {dk} \right\}}},{{\boldsymbol{B}}_{\left\{ {dk} \right\}}}} \right)\\
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}_1}\left({{{\boldsymbol{A}}_{\left\{ {dk} \right\}}}} \right)}\\
{{{\boldsymbol{I}}_2}\left({{{\boldsymbol{A}}_{\left\{ {dk} \right\}}},{{\boldsymbol{B}}_{\left\{ {dk} \right\}}}} \right)}
\end{array}} \right) \equiv \left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}_1}}\\
{{{\boldsymbol{I}}_2}}
\end{array}} \right)\left({{{\boldsymbol{A}}_{\left\{ {dk} \right\}}},{{\boldsymbol{B}}_{\left\{ {dk} \right\}}}} \right)
\end{array}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e12.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><bold><italic>A</italic></bold> and <bold><italic>B</italic></bold> are dimensions of indicators <bold><italic>I<sub>1</sub></italic></bold> and <bold><italic>I<sub>2</sub></italic></bold> and <bold><italic>I<sub>1</sub></italic></bold> is proper subset of <bold><italic>I<sub>2</sub></italic></bold>.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
</table>
</table-wrap>
<table-wrap id="T4">
<label>Table 4</label>
<caption>
<p>Data loadings&#8217; transformation notations.</p>
</caption>
<table>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g8.png"/></td>
<td align="left" valign="top">The value of the indicator <bold><italic>I</italic></bold> can be obtained by summing through <bold><italic>D</italic></bold> dimension (roll up) with the aggregate function in the lower left index of <bold><italic>I</italic></bold>. This is an aggregation is from <bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub> at the bottom of the Summa symbol to the level at the top of the Summa Sign (<italic>all</italic> or <bold><italic>D</italic></bold><sub>{<italic>dhk</italic>}</sub> hierarchy level, leaving the original key. This is referred to as <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g7.png"/>.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq022-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mmultiscripts><mml:mi>D</mml:mi><mml:mprescripts/><mml:mrow><mml:mtext>af</mml:mtext></mml:mrow><mml:mrow></mml:mrow></mml:mmultiscripts><mml:msub><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M22">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{D}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ i \right\}}}} \right]} \right) = {\boldsymbol{D}}\left({\sum\limits_{{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}}^{{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} {} \left[ {,{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]\left[ {,{}_{{\rm{af}}}^{}{{\boldsymbol{D}}_{\left\{ i \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e22.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top">Deduplicate the values of <bold><italic>D</italic></bold> dimensions&#8217; <bold><italic>D</italic></bold><sub>{<italic>dk</italic>}</sub>. key. Summarize the indicator with the af aggregate function in the lower left index, while leaving the first element of attribute values.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq023-mml">
<mml:mrow><mml:mi>I</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>I</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M23">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right) = {\boldsymbol{I}}\left({} \right) \times {{\boldsymbol{D}}_{\left\{ {dk} \right\}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e23.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top">Expand the dimensionality of indicator <bold><italic>I</italic></bold>. The Descartes multiplier of the original indicator with the dimension to be expanded.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g9.png"/></td>
<td align="left" valign="top">Pivoting <bold><italic>I</italic></bold> indicator values through <bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> dimensional attribute. We create several new indicators corresponding to the occurrence values of the attribute.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq025-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M25">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}_1}}\\
{{{\boldsymbol{I}}_2}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right) = {{\boldsymbol{I}}_1}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right) \times {{\boldsymbol{I}}_2}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e25.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top">Combining <bold><italic>I<sub>1</sub> I<sub>2</sub></italic></bold> indicators with the same dimensionality. We create the Descartes multiplier of the two indicators.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g10.png"/></td>
<td align="left" valign="top">Unpivoting <bold><italic>I<sub>1</sub> I<sub>2</sub></italic></bold> indicators with the same dimensionality into <bold><italic>V</italic></bold> indicator values and <bold><italic>A</italic></bold> attribute set with the indicators&#8217; name</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq027-mml">
<mml:mrow><mml:mi>I</mml:mi><mml:mo>=</mml:mo><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M27">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}} = \mathop \sum \limits_{{{\boldsymbol{D}}_{\left\{ a \right\}}}}^{all} {{\boldsymbol{I}}_{{{\boldsymbol{D}}_{\left\{ a \right\}}}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e27.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top">The sum of pivoted <inline-formula>
<alternatives>
<mml:math id="Eq028-mml">
<mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M28">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{I}}_{{{\boldsymbol{D}}_{\left\{ a \right\}}}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e107.gif"/>
</alternatives>
</inline-formula> indicator values along the occurrence values of <bold><italic>D</italic></bold><sub>{<italic>a</italic>}</sub> attribute.</td>
</tr>
<tr>
<td colspan="2"><hr/></td>
</tr>
</table>
</table-wrap>
<p>In the data loading process, extracting, transforming, and loading only those keys, attributes, and indicators from the source system to the data warehouse that we need.</p>
<p>During the transformation of data, two types of data loading processes can be discussed:</p>
<list list-type="bullet">
<list-item><p>During ETL (Extract, Transform, Load) process the various data manipulations carried out after extracting the data from the source system are typically in an intermediate system (Staging Area) and then transferred to the data warehouse. Intermediate use of complex multi-step data manipulations (transform) is needed, for simpler systems it is worth thinking about using it as it can serve more data warehouses with intermediate data than a commonly used general date dimension, geographical dimension, organizational dimension (enterprise data lake).</p></list-item>
</list>
<p>The transformations can be simple, then the indicators are loaded from one source system relation, and the dimensions are also derived from a single source system.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq029-mml">
<mml:mrow><mml:mi>R</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>u</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M29">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{R}}\left({{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}\left[ {,{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}} \right],{R_{\left\{ a \right\}}}\left[ {,{{\boldsymbol{R}}_{\left\{ a \right\}}}} \right]} \right)\mathop \Rightarrow \limits^{etl} {\rm{}}\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{I}}^{\left\{ u \right\}}}}\\
{\left[ {{{\boldsymbol{I}}^{\left\{ u \right\}}}} \right]}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e19.gif"/>
</alternatives>
</disp-formula>
<disp-formula>
<alternatives>
<mml:math id="Eq030-mml">
<mml:mrow><mml:mi>E</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>fk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mover><mml:mrow><mml:mo>&#x2009;</mml:mo><mml:mo>&#x21D2;</mml:mo></mml:mrow><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mi>D</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>i</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dhk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M30">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{E}}\left({{{\boldsymbol{E}}_{\left\{ {pk} \right\}}}\left[ {,{{\boldsymbol{E}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{E}}_{\left\{ {fk} \right\}}}} \right]} \right)\mathop {\, \Rightarrow }\limits^{etl} {\rm{}}{\boldsymbol{D}}\left({{{\boldsymbol{D}}_{\left\{ {dk} \right\}}}\left[ {,{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ i \right\}}}} \right]\left[ {,{{\boldsymbol{D}}_{\left\{ {dhk} \right\}}}} \right]} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e20.gif"/>
</alternatives>
</disp-formula>
<p>The transformations may be more complicated when the values of the indicators are loaded from several relations&#8217; attributes or from several different source systems. This also occurs with the indicators of dimension.</p>
<list list-type="bullet">
<list-item><p>During ELT (Extract, Load, Transform) process the various data manipulations take place after the data is extracted from the source system and loaded into the data warehouse.</p>
<p>When we formalize a business question, the method is pure requirement-driven. We do not bother with data-driven approach at this stage. We bother with it after we have collected and formalized and modelled all the questions, and the required data model is generated, then we examine the questions through the data-driven approach also. At this point we examine how the formalized elements of the questions are stored in the source systems. If we can produce them in the required granularity (or more detailed) then we optimize them (for example with the use of some kind of aggregation function) to the ETL/ELT (Extract-Transform-Load/Extract-Load-Transform) processes.</p></list-item>
</list>
</sec>
<sec>
<title>4 Research data processing example (Collecting and processing fitness tracker data)</title>
<p>The relationship between physical inactivity and some chronic health conditions is a widely researched area but further efforts are needed to assist people to adopt healthier lifestyles (<xref ref-type="bibr" rid="B10">Lee et al. 2012</xref>). Using wearable activity trackers can be a promising opportunity for individuals to improve lifestyle behaviour (<xref ref-type="bibr" rid="B12">Maher et al. 2017</xref>). There are several studies in this area, mainly from the lifestyle behaviour and health approach (<xref ref-type="bibr" rid="B5">Henriksen et al. 2018</xref>; <xref ref-type="bibr" rid="B6">Kaewkannate &amp; Kim 2016</xref>; <xref ref-type="bibr" rid="B7">Karapanos et al. 2016</xref>). Our research does not examine activity trackers from the aspect of health, we want to present the way that we can process data with OLAP technology we collected with a very simple device. If an end user who wants to know his own activity by using such an activity tracker, usually he downloads a software that processes his data every day and informs him. But if we plan a wide research where we want to collect several persons&#8217; data, and we want to recognize trends and patterns in the behaviour of the society, it could be a useful approach if we plan a data cube with OLAP approach. With our hybrid design methodology, we get metadata from the dimensions and attributes, so if we extract our data into a dataset, we get the formal description of the structure of our dataset also, in order to share and compare it to other similar researches.</p>
<p>Our research investigated the physical activity of university students using fitness tracker. Participants in the pilot test had to meet several criteria. Participants had to wear the device with normal living conditions for 90 consecutive days, which simulated the normal living conditions of most students. An important element of the long-term pilot test is that it can represent the full range of normal people&#8217;s activities in a real environment. Each participant was informed on the most important information about the device and the potential for managing possible sources of error. The battery of the bracelet was recharged by the users every 20 days, depending on the use, whereby the data was collected at the same time. The data was sent by the users for one week on a daily basis and then at the charges mentioned above. This level of data supply has served to reduce the potential loss of data. We informed the students about the study and all the participants provided informed consent in compliance with the principles of the Declaration of Helsinki (<xref ref-type="bibr" rid="B19">WMA 2013</xref>) and the new GDPR (<xref ref-type="bibr" rid="B3">EP 2016</xref>). The study was approved by the Regional Ethics Board (DE RKEB/IKEB: 4843-2017) at the Clinical Canter of the University of Debrecen.</p>
<p>Collected bracelets&#8217; data are processed using OLAP technology. We use the following hybrid design methodology and formal descriptive techniques to design, implement, and document the operations related to the information system (Research Data Warehouse) that we produce.</p>
<sec>
<title>4.1 Requirement analysis</title>
<p><bold>Question1 formally in</bold> Table <xref ref-type="table" rid="T5">5</xref>: The students&#8217; daily activity by daily steps intensity categories in March:</p>
<table-wrap id="T5">
<label>Table 5</label>
<caption>
<p>Question1 analysis.</p>
</caption>
<table>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">Indicator</td>
<td align="left" valign="top">how many days completed (activity)</td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq031-mml">
<mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>af</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mtext>af</mml:mtext></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M31">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}_{\left\{ {{\rm{af}}\left[ {,{\rm{af}}} \right]} \right\}}^{\left\{ {u\left[ {,u} \right]} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e28.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="3"><bold><italic>Activity</italic></bold><sup><italic>{day}</italic></sup></td>
</tr>
<tr>
<td align="left" valign="top">unit(s)</td>
<td align="left" valign="top">day</td>
</tr>
<tr>
<td align="left" valign="top">aggregate function(s)</td>
<td align="left" valign="top">how many (sum)</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">visualization</td>
<td align="left" valign="top">table</td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq032-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>vt</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M32">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{vt}\\
{\left[ {\left\{ {\begin{array}{*{20}{c}}
s\\
s
\end{array}} \right\}} \right]}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e29.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq033-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M33">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e33.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td align="left" valign="top">slicer(s)</td>
<td align="left" valign="top">March</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="3">detail(s)</td>
<td align="left" valign="middle">student</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq034-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M34">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e30.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq035-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>stud</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M35">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{{\boldsymbol{P}}_{\left\{ {stud} \right\}}}} \right)^{row}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e34.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle">daily step category</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq036-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M36">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e31.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq037-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M37">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{I_{\left\{ {dsc} \right\}}}} \right)^{col}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e35.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq038-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>nid</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M38">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{P}}_{\left\{ {nid} \right\}}}} \right)^{row}}{\left({{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)^{col}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e36.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>It shows how many days were completed by the students in March by daily step categories.</p>
<p>The &#8216;daily step categories&#8217; naturally require a detailed discussion during the requirement analysis and at the same time predicts a clustering task in the integration phase.</p>
<p><bold>Question 2 formally in</bold> Table <xref ref-type="table" rid="T6">6</xref>: Students&#8217; average daily activity in March by category and gender:</p>
<table-wrap id="T6">
<label>Table 6</label>
<caption>
<p>Question2 analysis.</p>
</caption>
<table>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">Indicator</td>
<td align="left" valign="top">averagely completed days</td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq039-mml">
<mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>af</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mtext>af</mml:mtext></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M39">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}_{\left\{ {{\rm{af}}\left[ {,{\rm{af}}} \right]} \right\}}^{\left\{ {u\left[ {,u} \right]} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e37.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq040-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:math>
<tex-math id="M40">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[{\boldsymbol{Activity}}_{{\rm average}}^{\{day\}}\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e41.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td align="left" valign="top">unit(s)</td>
<td align="left" valign="top">day</td>
</tr>
<tr>
<td align="left" valign="top">aggregate function(s)</td>
<td align="left" valign="top">average</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">visualization</td>
<td align="left" valign="top">table</td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq041-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>vt</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M41">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{vt}\\
{\left[ {\left\{ {\begin{array}{*{20}{c}}
s\\
s
\end{array}} \right\}} \right]}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e38.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq042-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M42">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e42.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td align="left" valign="top">slicer(s)</td>
<td align="left" valign="top">March</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="3">detail(s)</td>
<td align="left" valign="middle">gender</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq043-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>f</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M43">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ f\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e39.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq044-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M44">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}} \right)^{row}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e43.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle">daily step category</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq045-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>f</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M45">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ f\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e40.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq046-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M46">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)^{col}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e44.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq047-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M47">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{{\rm{average}}}^{\left\{ {day} \right\}}{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}} \right)^{row}}{\left({{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)^{col}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e45.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>It shows the students&#8217; averagely completed days in March by daily step categories and gender.</p>
<p>The term &#8216;students&#8217; and &#8216;daily&#8217; refers to the maximal details of the data average that we can deal with in the minimal granularity, optimal data model or in the integration phase.</p>
<p><bold>Question 3 formally in</bold> Table <xref ref-type="table" rid="T7">7</xref>: Average daily steps of men, women and all by the day of the week in March:</p>
<table-wrap id="T7">
<label>Table 7</label>
<caption>
<p>Question3 analysis.</p>
</caption>
<table>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">Indicator</td>
<td align="left" valign="top">Daily steps</td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq048-mml">
<mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>af</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mtext>af</mml:mtext></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>u</mml:mi><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>,</mml:mo><mml:mi>u</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M48">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{I}}_{\left\{ {{\rm{af}}\left[ {,{\rm{af}}} \right]} \right\}}^{\left\{ {u\left[ {,u} \right]} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e46.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="3"><inline-formula>
<alternatives>
<mml:math id="Eq049-mml">
<mml:mrow><mml:mi>DailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M49">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DailySteps}}_{{\rm{average}}}^{\left\{ {steps} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e50.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td align="left" valign="top">unit(s)</td>
<td align="left" valign="top">steps</td>
</tr>
<tr>
<td align="left" valign="top">aggregate function(s)</td>
<td align="left" valign="top">average</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">visualization</td>
<td align="left" valign="top">radar chart</td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq050-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>vt</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>s</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M50">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
{vt}\\
{\left[ {\left\{ {\begin{array}{*{20}{c}}
s\\
s
\end{array}} \right\}} \right]}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e47.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top" rowspan="2"><inline-formula>
<alternatives>
<mml:math id="Eq051-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>radar</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mi>chart</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M51">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({\begin{array}{*{20}{c}}
radar\quad chart\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e51.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td align="left" valign="top">slicer(s)</td>
<td align="left" valign="top">March</td>
</tr>
<tr>
<td colspan="4"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="3">detail(s)</td>
<td align="left" valign="middle">day of the week</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq052-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M52">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e48.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq053-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DoW</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>cat</mml:mi></mml:mrow></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M53">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{{\boldsymbol{D}}_{\left\{ {DoW} \right\}}}} \right)^{cat}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e52.gif"/>
</alternatives>
</inline-formula></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top">men, women, all</td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq054-mml">
<mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mi>a</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x007B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x007D;</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M54">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left[ {{{\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{D}}_{\left\{ a \right\}}}}\\
{\left[ {{{\boldsymbol{D}}_{\left\{ a \right\}}}} \right]}
\end{array}} \right)}^{\{ d\} }}} \right]
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e49.gif"/>
</alternatives>
</inline-formula></td>
<td align="left" valign="top"><inline-formula>
<alternatives>
<mml:math id="Eq055-mml">
<mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>y</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M55">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\left({{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}} \right)^y}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e53.gif"/>
</alternatives>
</inline-formula></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq056-mml">
<mml:mrow><mml:mi>DailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>radar</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mi>chart</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>weekday</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>cat</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>y</mml:mi></mml:msup></mml:mrow>
</mml:math>
<tex-math id="M56">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DailySteps}}_{{\rm{average}}}^{\left\{ {steps} \right\}}{\left({\begin{array}{*{20}{c}}
{radar\quad chart}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{D}}_{\left\{ {weekday} \right\}}}} \right)^{cat}}{\left({{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}} \right)^y}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e54.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>It shows a comparison of mens&#8217;, womens&#8217; and combined average daily number of steps in March, in the days of the week.</p>
</sec>
<sec>
<title>4.2 Minimum granularity for each indicator</title>
<p>We define attributes for values and keys for dimensional attributes in the questions.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq057-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>stud</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow></mml:mover><mml:mi>Activit</mml:mi><mml:msup><mml:mi>y</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M57">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}^{\left\{ {day} \right\}}{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{P}}_{\left\{ {stud} \right\}}}} \right)^{row}}{\left({{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)^{col}}\mathop \Rightarrow \limits^{min} {\boldsymbol{Activit}}{y^{\left\{ {day} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e55.gif"/>
</alternatives>
</disp-formula>
<p>March is month value of Date dimension (<bold><italic>D</italic></bold><sub>{March}</sub>) so the related dimension key should be MonthKey (<bold><italic>D</italic></bold><sub>{<italic>MK</italic>}</sub>)</p>
<p>Neptun ID is an attribute of Person dimension (<bold><italic>P</italic></bold><sub>{<italic>stud</italic>}</sub>) so the related dimension key should be PersonKey (<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>).</p>
<p>Daily step category is an attribute of activity Intensity dimension (<bold><italic>I</italic></bold><sub>{<italic>dsc</italic>}</sub>), so the dimension key should be IntensityKey (<bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub>).</p>
<disp-formula>
<alternatives>
<mml:math id="Eq058-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>table</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>row</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>col</mml:mi></mml:mrow></mml:msup><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow></mml:mover><mml:mi>Activit</mml:mi><mml:msup><mml:mi>y</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M58">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{{\rm{average}}}^{\left\{ {day} \right\}}{\left({\begin{array}{*{20}{c}}
{table}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}} \right)^{row}}{\left({{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)^{col}}\mathop \Rightarrow \limits^{min} {{\boldsymbol{Activity}}^{\left\{ {day} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {GK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e56.gif"/>
</alternatives>
</disp-formula>
<p>March is month value of Date dimension (<bold><italic>D</italic></bold><sub>{March}</sub>) so the related dimension key should be MonthKey (<bold><italic>D</italic></bold><sub>{<italic>MK</italic>}</sub>)</p>
<p>Gender is an attribute of Person dimension (<bold><italic>P</italic></bold><sub>{<italic>gender</italic>}</sub>) so the possible dimension key should be PersonKey (<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>) or GenderKey (<bold><italic>P</italic></bold><sub>{<italic>GK</italic>}</sub>), the minimum granularity is GenderKey (<bold><italic>P</italic></bold><sub>{<italic>GK</italic>}</sub>).</p>
<p>Daily step category is an attribute of activity Intensity dimension (<bold><italic>I</italic></bold><sub>{<italic>dsc</italic>}</sub>), so the dimension key should be IntensityKey (<bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub>).</p>
<disp-formula>
<alternatives>
<mml:math id="Eq059-mml">
<mml:mrow><mml:mi>DailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>radar</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mi>chart</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>March</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>v</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>weekday</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>cat</mml:mi></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mi>y</mml:mi></mml:msup><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow></mml:mover><mml:mi>DailyStep</mml:mi><mml:msup><mml:mi>s</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M59">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DailySteps}}_{{\rm{average}}}^{\left\{ {steps} \right\}}{\left({\begin{array}{*{20}{c}}
{radar\quad chart}\\
{{{\boldsymbol{D}}_{\left\{ {{\rm{March}}} \right\}}}}
\end{array}} \right)^v}{\left({{{\boldsymbol{D}}_{\left\{ {weekday} \right\}}}} \right)^{cat}}{\left({{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}} \right)^y}\mathop \Rightarrow \limits^{min} {\boldsymbol{DailyStep}}{s^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {GK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e57.gif"/>
</alternatives>
</disp-formula>
<p>March is month value of Date dimension (<bold><italic>D</italic></bold><sub>{March}</sub>) and weekday is an attribute of Date dimension (<bold><italic>D</italic></bold><sub>{<italic>weekday</italic>}</sub>) so the related dimension key should be MonthKey (<bold><italic>D</italic></bold><sub>{<italic>MK</italic>}</sub>) and DayofWeek (<bold><italic>D</italic></bold><sub>{<italic>DoW</italic>}</sub>), so the common dimension key for both is DateKey (<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>).</p>
<p>Gender is an attribute of Person dimension (<bold><italic>P</italic></bold><sub>{<italic>gender</italic>}</sub>) so the possible dimension key should be PersonKey (<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>) or GenderKey (<bold><italic>P</italic></bold><sub>{<italic>GK</italic>}</sub>), the minimum granularity is GenderKey (<bold><italic>P</italic></bold><sub>{<italic>GK</italic>}</sub>).</p>
<p>The following indicators with the minimal required granularity should be the base to answers each question we have:</p>
<p><inline-formula>
<alternatives>
<mml:math id="Eq060-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M60">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e58.gif"/>
</alternatives>
</inline-formula></p>
<p><inline-formula>
<alternatives>
<mml:math id="Eq061-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M61">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {GK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e59.gif"/>
</alternatives>
</inline-formula></p>
<p><inline-formula>
<alternatives>
<mml:math id="Eq062-mml">
<mml:mrow><mml:mi>DailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M62">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DailySteps}}_{}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {GK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e60.gif"/>
</alternatives>
</inline-formula></p>
</sec>
<sec>
<title>4.3 Ideal schemata for OLAP system</title>
<p>In this step we determine which indicators can be stored in a common fact table.</p>
<p>During optimization, we can see which indicators are similar and can be produced from one another. In this case activity indicator detailed by GenderKey (GK) can be generated from the activity indicator detailed by PersonKey (PK). This means that we have already managed to optimize the number of indicators we are building.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq063-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2261;</mml:mo><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M63">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {GK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right) \equiv {\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({\sum\limits_{{{\boldsymbol{P}}_{\left\{ {PK} \right\}}}}^{{{\boldsymbol{P}}_{\left\{ {GK} \right\}}}} {}, {{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e61.gif"/>
</alternatives>
</disp-formula>
<disp-formula>
<alternatives>
<mml:math id="Eq064-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mover><mml:mo>&#x21D0;</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow></mml:mover><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M64">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({\sum\limits_{{{\boldsymbol{P}}_{\left\{ {PK} \right\}}}}^{{{\boldsymbol{P}}_{\left\{ {GK} \right\}}}} {}, {{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)\mathop \Leftarrow \limits^{min} {\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e62.gif"/>
</alternatives>
</disp-formula>
<p>The average DailySteps indicator must break down into gender variants and the aggregated.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq065-mml">
<mml:mrow><mml:mi>DailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>average</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2261;</mml:mo><mml:mi>AverageDailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M65">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DailySteps}}_{{\rm{average}}}^{\left\{ {steps} \right\}}\left({\sum\limits_{{{\boldsymbol{P}}_{\left\{ {GK} \right\}}}}^{all} {}, {{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \equiv {\boldsymbol{AverageDailySteps}}_{}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e63.gif"/>
</alternatives>
</disp-formula>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g11.png"/></fig>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g12.png"/></fig>
<p>Next step is to place indicators into fact tables. Indicators with the same dimensionality and granularity are placed into a common fact table. In this case these are the daily activity and the daily steps fact tables.</p>
<p>ftDailyActivity: Daily activity fact table</p>
<disp-formula>
<alternatives>
<mml:math id="Eq068-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msubsup><mml:mi>y</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M68">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{Activity}}_{}^{\left\{ {day} \right\}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {IK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e66.gif"/>
</alternatives>
</disp-formula>
<p>ftDailySteps: Daily steps fact table</p>
<disp-formula>
<alternatives>
<mml:math id="Eq069-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>AverageDailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>AverageDailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>Male</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>AverageDailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:mtext>Female</mml:mtext></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2261;</mml:mo><mml:mi>AverageDailyStep</mml:mi><mml:msubsup><mml:mi>s</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M69">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{\boldsymbol{AverageDailySteps}}_{}^{\left\{ {steps} \right\}}}\\
{{\boldsymbol{AverageDailySteps}}_{{\rm{Male}}}^{\left\{ {steps} \right\}}}\\
{{\boldsymbol{AverageDailySteps}}_{{\rm{Female}}}^{\left\{ {steps} \right\}}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \equiv {\boldsymbol{AverageDailySteps}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e67.gif"/>
</alternatives>
</disp-formula>
<p>Dimensional attributes and values in questions and dimensional keys in the minimal and ideal data model must be organized into dimensions. In this step we specify the Dimension-&gt;Key-Attribute-Indicator-&gt;Value structures, also the required dimension hierarchies with hierarchy-keys. We have three dimensions (Person, Date, Intensity) in our ideal data model in the following structure:</p>
<list list-type="simple">
<list-item><p><bold><italic>P</italic></bold>: Person (dimPerson)</p>
<list list-type="bullet">
<list-item><p>PersonKey (<italic><bold>P</bold><sub>{PK}</sub></italic>): HASH of students&#8217; identifier</p></list-item>
<list-item><p>Student (<italic><bold>P</bold><sub>{stud}</sub></italic>): students&#8217; identifier (eliminated, because of GDPR)</p></list-item>
<list-item><p>GenderKey (<italic><bold>P</bold><sub>{GK}</sub></italic>): unique identifier, values {1, 2} (eliminated, when we unfold the dimension hierarchy)</p></list-item>
<list-item><p>Gender (<italic><bold>P</bold><sub>{gender}</sub></italic>): gender of students, values {Male, Female}</p></list-item>
</list></list-item>
<list-item><p><bold><italic>D</italic></bold>: Date (dimDate)</p>
<list list-type="bullet">
<list-item><p>DateKey (<italic><bold>D</bold><sub>{DK}</sub></italic>): <bold>y</bold>ear, <bold>m</bold>onth, <bold>d</bold>ay serial number with leading zero, composition {yyyy}{mm}{dd}</p></list-item>
<list-item><p>Day of Week (<italic><bold>D</bold><sub>{DoW}</sub></italic>): unique identifier, serial number of weekdays {1..7} (eliminated, when we partly unfold the dimension hierarchy)</p></list-item>
<list-item><p>Weekday (<italic><bold>D</bold><sub>{weekday}</sub></italic>): {1 &#8211; Monday, 2 &#8211; Tuesday, &#8230;, 7 &#8211; Sunday}</p></list-item>
<list-item><p>MonthKey (<italic><bold>D</bold><sub>{MK}</sub></italic>): <bold>y</bold>ear, <bold>m</bold>onth serial number with leading zero, composition {yyyy}{mm}</p></list-item>
<list-item><p><bold><italic>DM</italic></bold>: DateMonth (dimDateMonth)</p>
<list list-type="bullet">
<list-item><p>MonthKey (<italic><bold>DM</bold><sub>{MK}</sub></italic>): <bold>y</bold>ear, <bold>m</bold>onth serial number with leading zero, composition {yyyy}{mm}</p></list-item>
<list-item><p>Month (<italic><bold>DM</bold><sub>{month}</sub></italic>): month name, values {January, February, &#8230;, December}</p></list-item>
</list>
</list-item>
</list>
</list-item>
<list-item><p><bold><italic>I</italic></bold>: Intensity (dimIntensity): Categories of daily activity of students.</p>
<list list-type="bullet">
<list-item><p>IntensityKey (<italic><bold>I</bold><sub>{IK}</sub></italic>): {0..5}</p></list-item>
<list-item><p>Daily Step Category (<italic><bold>I</bold><sub>{dsc}</sub></italic>):</p>
<list list-type="bullet">
<list-item><p>0 &#8211; Basal activity</p></list-item>
<list-item><p>1 &#8211; Limited activity</p></list-item>
<list-item><p>2 &#8211; Low activity</p></list-item>
<list-item><p>3 &#8211; Somewhat active</p></list-item>
<list-item><p>4 &#8211; Active</p></list-item>
<list-item><p>5 &#8211; Highly active</p></list-item>
</list></list-item>
</list></list-item>
</list>
</sec>
<sec>
<title>4.4 Source analysis</title>
<p>In this phase we discover the data of the source systems driven by the facts and dimensions specified in the ideal data model.</p>
<sec>
<title>4.4.1 Activity tracker data</title>
<p><italic><bold>S</bold><sub>iOS</sub></italic> (<bold><italic>S</italic></bold><sub>{<italic>steps</italic>}</sub>, <bold><italic>S</italic></bold><sub>{<italic>timestamp</italic>}</sub>, <bold><italic>S</italic></bold><sub>{<italic>date</italic>}</sub>, <bold><italic>S</italic></bold><sub>{10<italic>min</italic>}</sub>,) Emails sent via email from iPhone, the name of the file contains the student&#8217;s Neptun identifier and the date of submission in the <italic><bold>S</bold><sub>{NID}</sub></italic>&#8211;<italic><bold>S</bold><sub>{sd}</sub></italic> structure.</p>
<p><italic><bold>S</bold><sub>A</sub></italic> (<bold><italic>S</italic></bold><sub>{<italic>cumulative steps</italic>}</sub>, <bold><italic>S</italic></bold><sub>{<italic>timestamp</italic>}</sub>, <bold><italic>S</italic></bold><sub>{<italic>date</italic>}</sub>, <bold><italic>S</italic></bold><sub>{<italic>min</italic>}</sub>,) Emails sent via email from Android phone, the name of the file contains the student&#8217;s Neptun identifier and the date of submission in the <italic><bold>S</bold><sub>{NID}</sub></italic>&#8211;<italic><bold>S</bold><sub>{sd}</sub></italic> structure.</p>
<list list-type="simple">
<list-item><p><bold><italic>S</italic></bold>: Steps (noted as rSteps) with the following attributes and values:</p>
<list list-type="bullet">
<list-item><p>Date (<italic><bold>S</bold><sub>{date}</sub></italic>): {year}.{month}.{day}</p></list-item>
<list-item><p>DateKey (<italic><bold>S</bold><sub>{DK}</sub></italic>): {year}{month}{day}</p></list-item>
<list-item><p>10mins (<italic><bold>S</bold><sub>{10mins}</sub></italic>): {hh}:{m0}:{00}</p></list-item>
<list-item><p>minute (<italic><bold>S</bold><sub>{min}</sub></italic>): {hh}:{mm}:{00}</p></list-item>
<list-item><p>TimeKey (<italic><bold>S</bold><sub>{TK}</sub></italic>): <italic><bold>S</bold><sub>{10min}</sub></italic> mapping to [0..143] integers closed interval</p></list-item>
<list-item><p>timestamp (<italic><bold>S</bold><sub>{timestamp}</sub></italic>): in seconds, the number of seconds passed since 1900.01.00 0:00:00</p></list-item>
<list-item><p>StepSum<sub>iOS</sub> (<italic><bold>S</bold><sub>{steps}</sub></italic>): number of steps taken in 10 minutes</p></list-item>
<list-item><p>StepSum<sub>A</sub> (<italic><bold>S</bold><sub>{cumulative steps}</sub></italic>): the number of daily steps taken to a given time</p></list-item>
<list-item><p>StepType (<italic><bold>S</bold><sub>{st}</sub></italic>): {raw, normalized}</p></list-item>
<list-item><p>10minNS (<italic><bold>S</bold><sub>{10mNS}</sub></italic>): 10-minute normalized step data</p></list-item>
<list-item><p>Neptun identifier (<italic><bold>S</bold><sub>{NID}</sub></italic>): the NEPTUN identifier of the student submitting the data</p></list-item>
<list-item><p>Person key (<italic><bold>S</bold><sub>{PK}</sub></italic>): the hashed NEPTUN identifier of the student submitting the data</p></list-item>
<list-item><p>Submission date (<italic><bold>S</bold><sub>{sd}</sub></italic>): date of data submission in {year}{month}{day} structure</p></list-item>
<list-item><p>ETL date (<italic><bold>S</bold><sub>{etld}</sub></italic>): the date key of the ETL process in {year}{month}{day} structure</p></list-item>
<list-item><p>From &#8216;source systems&#8217; the data is loaded into an intermediate storage.</p></list-item>
<list-item><p>We supplement each standalone file with the data in its name and the step type dependent on the mobile operating system.</p></list-item>
</list></list-item>
</list>
<disp-formula>
<alternatives>
<mml:math id="Eq070-mml">
<mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>iOS</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>10</mml:mn><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>normalized</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M70">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{S}}_{iOS}}\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}},{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {10min} \right\}}}} \right) \times ({{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}}) \times {{\boldsymbol{S}}_{\left\{ {{\rm{normalized}}} \right\}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e68.gif"/>
</alternatives>
</disp-formula>
<p>&#160;</p>
<disp-formula>
<alternatives>
<mml:math id="Eq071-mml">
<mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>cumulative</mml:mi><mml:mo>&#x00A0;&#x2009;</mml:mo><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>raw</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M71">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{S}}_A}\left({{{\boldsymbol{S}}_{\left\{ {cumulative\,steps} \right\}}},{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {min} \right\}}}} \right) \times ({{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}}) \times {{\boldsymbol{S}}_{\left\{ {{\rm{raw}}} \right\}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e69.gif"/>
</alternatives>
</disp-formula>
<p>The data from the Android phone (<italic><bold>S</bold><sub>{cumulative steps}</sub></italic>) is a cumulative step number for a given time, so we must first calculate its dynamics (increment for the previous measurement).</p>
<disp-formula>
<alternatives>
<mml:math id="Eq072-mml">
<mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mo>&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>raw</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00A0;</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;</mml:mo><mml:mo>=</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>cumulative</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>if</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mo>&#x00AC;</mml:mo><mml:mo>&#x2203;</mml:mo><mml:msubsup><mml:mi>L</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x2228;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2260;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2228;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2260;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>cumulative</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mi>if</mml:mi><mml:mo>&#x00A0;</mml:mo><mml:mo>&#x2203;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x2227;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x2227;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;&#x2009;</mml:mo><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>raw</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable>
</mml:math>
<tex-math id="M72">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\begin{array}{l}
\quad\qquad\qquad\qquad\qquad{{\boldsymbol{S}}_A}\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}},{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {min} \right\}}},{{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{raw}}} \right\}}}} \right){\rm{}}\\
\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\, = \\
\mathop \cup \limits_{i = 1}^n \left({{\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {cumulative\quad steps} \right\}}}} \right) - \left\{ {\begin{array}{*{20}{c}}
{0,\ if{\rm{}}\neg \exists {\boldsymbol{L}}_A^{i - 1} \vee \left({{\boldsymbol{S}}_A^{i - 1}\left({{{\boldsymbol{L}}_{\left\{ {date} \right\}}}} \right) \ne {\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {date} \right\}}}} \right)} \right) \vee \left({{\boldsymbol{S}}_A^{i - 1}\left({{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}} \right) \ne {\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}} \right)} \right)}\\
{{\boldsymbol{S}}_A^{i - 1}\left({{{\boldsymbol{S}}_{\left\{ {cumulative\quad steps} \right\}}}} \right),\quad if\quad \exists {\boldsymbol{S}}_A^{i - 1} \wedge \left({{\boldsymbol{S}}_A^{i - 1}\left({{{\boldsymbol{S}}_{\left\{ {date} \right\}}}} \right) = {\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {date} \right\}}}} \right)} \right) \wedge \left({{\boldsymbol{S}}_A^{i - 1}\left({{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}} \right) = {\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}} \right)} \right)}
\end{array}} \right.} \right)\\
\quad\qquad\qquad\qquad\qquad\, \times \left({{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {min} \right\}}},{{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{raw}}} \right\}}}} \right)
\end{array}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e70.gif"/>
</alternatives>
</disp-formula>
<p>Finally, we generate a common large data source from many individual files:</p>
<disp-formula>
<alternatives>
<mml:math id="Eq073-mml">
<mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>NID</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>raw</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>iOS</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>10</mml:mn><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>normalized</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>&#x00A0;</mml:mo></mml:mrow>
</mml:math>
<tex-math id="M73">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\begin{array}{*{20}{c}}
{{{\boldsymbol{S}}_A}\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}},{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {min} \right\}}},\mathop \cup \limits_{{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}}^{all} {{\boldsymbol{S}}_{NID}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{raw}}} \right\}}}} \right)}\\
\qquad\qquad\qquad{\mathop \cup \nolimits}\\
{{{\boldsymbol{S}}_{iOS}}\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}},{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {10min} \right\}}},\mathop \cup \limits_{{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}}^{all} {{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{normalized}}} \right\}}}} \right)}
\end{array}{\rm{}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e71.gif"/>
</alternatives>
</disp-formula>
<p>We generate 10-minute time intervals data from the activity tracker data. Data from the android phone Time property with minute accuracy is 10 minutes raw data, must be normalized as 10-minute accuracy data. The timekey value <inline-formula>
<alternatives>
<mml:math id="Eq074-mml">
<mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>tkv</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mi>Nr</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>*</mml:mo><mml:mn>144</mml:mn></mml:mrow>
</mml:math>
<tex-math id="M74">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{S}}_{\left\{ {tkv} \right\}}^i = Nr({{\boldsymbol{S}}_{\left\{ {min} \right\}}})*144
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e108.gif"/>
</alternatives>
</inline-formula> will be a real number on the closed interval [0..144], the corresponding time key <inline-formula>
<alternatives>
<mml:math id="Eq075-mml">
<mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mi>int</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>Nr</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>min</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>*</mml:mo><mml:mn>144</mml:mn><mml:mo stretchy='false'>)</mml:mo></mml:mrow>
</mml:math>
<tex-math id="M75">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{S}}_{\left\{ {TK} \right\}}^i = int(Nr({{\boldsymbol{S}}_{\left\{ {min} \right\}}})*144)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e109.gif"/>
</alternatives>
</inline-formula> is the whole part of the real number.</p>
<p>Each <bold><italic>S</italic></bold><sub>{<italic>steps</italic>}</sub> value must be broken down into the current 10-minute increments and the previous 10-minute increments. This brings out normalized Android bracelet data.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq076-mml">
<mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:mo>&#x2009;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mtext>*</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>tkv</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>normalized</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x222A;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mrow><mml:mo>&#x222A;</mml:mo><mml:mo>&#x2009;</mml:mo></mml:mrow></mml:mstyle><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:msubsup><mml:mi>S</mml:mi><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mtext>*</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>tkv</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mi>i</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>timestamp</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>normalized</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow>
</mml:math>
<tex-math id="M76">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\begin{array}{*{20}{c}}
{\mathop \cup \limits_{i = 1}^n \,{\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}}{\rm{*}}\left({{\boldsymbol{S}}_{\left\{ {tkv} \right\}}^i - {\boldsymbol{S}}_{\left\{ {TK} \right\}}^i} \right)} \right) \times \left({{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {TK} \right\}}},{{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{normalized}}} \right\}}}} \right)}\\
\qquad\qquad\qquad{\mathop \cup \nolimits}\\
{\mathop { \cup \,}\limits_{i = 1}^n {\boldsymbol{S}}_A^i\left({{{\boldsymbol{S}}_{\left\{ {steps} \right\}}}{\rm{*}}\left({1 - \left({{\boldsymbol{S}}_{\left\{ {tkv} \right\}}^i - {\boldsymbol{S}}_{\left\{ {TK} \right\}}^i} \right)} \right)} \right) \times \left({{{\boldsymbol{S}}_{\left\{ {timestamp} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {TK} \right\}}} - 1,{{\boldsymbol{S}}_{\left\{ {NID} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}},{{\boldsymbol{S}}_{\left\{ {{\rm{normalized}}} \right\}}}} \right)}
\end{array}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e72.gif"/>
</alternatives>
</disp-formula>
<p>Data from the iPhone is 10-minute accuracy normalized data (<bold><italic>S</italic></bold><sub>{10<italic>minNS</italic>}</sub>). The time key can be derived with the <bold><italic>S</italic></bold><sub>{<italic>tkv</italic>}</sub> = <italic>Nr</italic>(<bold><italic>S</italic></bold><sub>{10<italic><sub>mins</sub></italic>}</sub>)*144 calculation.</p>
<p>We used a hash function (CRC32) on the Neptun identifier (hash(<bold><italic>S</italic></bold><sub>{<italic>NID</italic>}</sub>) = <bold><italic>S</italic></bold><sub>{<italic>PK</italic>}</sub>) before the step data is placed on the intermediate storage server created for our research as an excel table (10minsSteps.xlsx)</p>
<p>The result is the 10-minute normalized step data. <inline-formula>
<alternatives>
<mml:math id="Eq077-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>10</mml:mn><mml:mi>mNS</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sd</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>etld</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M77">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{S}}\left({{{\boldsymbol{S}}_{\left\{ {10mNS} \right\}}},{{\boldsymbol{S}}_{\left\{ {DK} \right\}}},{{\boldsymbol{S}}_{\left\{ {TK} \right\}}},{{\boldsymbol{S}}_{\left\{ {PK} \right\}}},{{\boldsymbol{S}}_{\left\{ {sd} \right\}}},{{\boldsymbol{S}}_{\left\{ {etld} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e73.gif"/>
</alternatives>
</inline-formula></p>
</sec>
<sec>
<title>4.4.2 Necessary/Existing Dimensionality Survey</title>
<p><bold><italic>D</italic></bold>: dimDate (intermediate storage) unfolded hierarchical date dimension</p>
<list list-type="bullet">
<list-item><p>id (<bold><italic>D</italic></bold><sub>{<italic>id</italic>}</sub>): unique identifier, continuous serial number {1..&#8734;}</p></list-item>
<list-item><p>DateKey (<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>): unique identifier; serial numbers of year, month, day with leading zeros, in {yyyy}{mm}{dd} composition</p></list-item>
<list-item><p>Date (<bold><italic>D</italic></bold><sub>{<italic>date</italic>}</sub>): (the number of days passed since 1900.01.00) in Microsoft date format</p></list-item>
<list-item><p>Local Date String (<bold><italic>D</italic></bold><sub>{<italic>lds</italic>}</sub>): year, month, day with leading zeros, in Hungarian date format, in {yyyy}.{mm}.{dd} composition</p></list-item>
<list-item><p>Year <bold><italic>D</italic></bold><sub>{<italic>year</italic>}</sub>: year identifier {yyyy}</p></list-item>
<list-item><p>MonthNr <bold><italic>D</italic></bold><sub>{<italic>monthNr</italic>}</sub>: month serial number {m}</p></list-item>
<list-item><p>DayNr <bold><italic>D</italic></bold><sub>{<italic>dayNr</italic>}</sub>: day serial number within month {d}</p></list-item>
<list-item><p>MonthStrEn <bold><italic>D</italic></bold><sub>{<italic>monthStrEn</italic>}</sub>: month name in English</p></list-item>
<list-item><p>MonthStrHu <bold><italic>D</italic></bold><sub>{<italic>monthStrHu</italic>}</sub>: month name in Hungarian</p></list-item>
<list-item><p>MonthStrEnS <bold><italic>D</italic></bold><sub>{<italic>monthStrEnS</italic>}</sub>: month abbreviation in English</p></list-item>
<list-item><p>MonthStrHuS <bold><italic>D</italic></bold><sub>{<italic>monthStrHuS</italic>}</sub>: month abbreviation in Hungarian</p></list-item>
<list-item><p>Day of Week <bold><italic>D</italic></bold><sub>{<italic>DoW</italic>}</sub>: serial number of weekdays{Monday, Tuesday, &#8230;, Sunday}-&gt;{1..7}</p></list-item>
<list-item><p>WeekdayEn <bold><italic>D</italic></bold><sub>{<italic>weekdayEn</italic>}</sub>: days in English</p></list-item>
<list-item><p>WeekdayHu <bold><italic>D</italic></bold><sub>{<italic>weekdayHu</italic>}</sub>: days in Hungarian</p></list-item>
<list-item><p>DayTypeEn <bold><italic>D</italic></bold><sub>{<italic>daytypeEn</italic>}</sub>: {weekday, weekend}</p></list-item>
<list-item><p>DayTypeHu <bold><italic>D</italic></bold><sub>{<italic>daytypeHu</italic>}</sub>: {h&#233;tk&#246;znap, h&#233;tv&#233;ge}</p></list-item>
<list-item><p>Day of Year <bold><italic>D</italic></bold><sub>{<italic>DoY</italic>}</sub>: serial number of day of year {1..366}</p></list-item>
<list-item><p>QuarterNr <bold><italic>D</italic></bold><sub>{<italic>quarterNr</italic>}</sub>: serial number of quarters</p></list-item>
<list-item><p>QuarterStrEn <bold><italic>D</italic></bold><sub>{<italic>quarterStrEn</italic>}</sub>: quarter in English in Q{<italic>quarterNr</italic>} composition</p></list-item>
<list-item><p>QuarterStrHu <bold><italic>D</italic></bold><sub>{<italic>quarterStrHu</italic>}</sub>: quarter in Hungarian in {<italic>quarterNr</italic>}. negyed&#233;v composition</p></list-item>
<list-item><p>WeekNr <bold><italic>D</italic></bold><sub>{<italic>weekNr</italic>}</sub>: serial number of weeks {1..52}</p></list-item>
<list-item><p>WeekStrEn <bold><italic>D</italic></bold><sub>{<italic>weekStrEn</italic>}</sub>: week in English in W{<italic>weekNr</italic>} composition</p></list-item>
<list-item><p>WeekStrHu <bold><italic>D</italic></bold><sub>{<italic>weekStrHu</italic>}</sub>: week in Hungarian in {<italic>weekNr</italic>}. h&#233;t composition</p></list-item>
</list>
<p><bold><italic>T</italic></bold>: dimTime (intermediate storage) unfolded hierarchical time dimension</p>
<list list-type="bullet">
<list-item><p>TimeKey (<bold><italic>T</italic></bold><sub>{<italic>TK</italic>}</sub>): {0..143}, the i<sup>th</sup> 10-minute intervals of the day</p></list-item>
<list-item><p>10mins (<bold><italic>T</italic></bold><sub>{<italic>10mins</italic>}</sub>): 10-minute duration in {h}:{mm}-{h}:{mm} composition</p></list-item>
<list-item><p>30mins (<bold><italic>T</italic></bold><sub>{<italic>30mins</italic>}</sub>): 30-minute duration in {h}:{mm}-{h}:{mm} composition</p></list-item>
<list-item><p>hours (<bold><italic>T</italic></bold><sub>{<italic>hours</italic>}</sub>): hourly duration in {h}:{mm}-{h}:{mm} composition</p></list-item>
</list>
<p><bold><italic>P</italic></bold>: dimPerson (intermediate storage) Person dimension</p>
<list list-type="bullet">
<list-item><p>PersonKey (<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>): students&#8217; hashed Neptun identifier</p></list-item>
<list-item><p>GenderEn (<bold><italic>P</italic></bold><sub>{<italic>GenderEn</italic>}</sub>): students&#8217; gender in English {Male, Female}</p></list-item>
<list-item><p>GenderHu (<bold><italic>P</italic></bold><sub>{<italic>GenderHu</italic>}</sub>): students&#8217; gender in Hungarian {F&#233;rfi, N&#337;}</p></list-item>
</list>
<p><bold><italic>I</italic></bold>: dimIntensity (intermediate storage) motion intensity dimension</p>
<list list-type="bullet">
<list-item><p>StepSumCategoryEn (<bold><italic>P</italic></bold><sub>{<italic>sscEn</italic>}</sub>): motion intensity in English</p>
<list list-type="bullet">
<list-item><p>{Basal activity, Limited activity, Low activity, Somewhat active, Active, Highly active}</p></list-item>
</list></list-item>
<list-item><p>StepSumCategoryHu (<bold><italic>P</italic></bold><sub>{<italic>sscHu</italic>}</sub>): motion intensity in Hungarian</p>
<list list-type="bullet">
<list-item><p>{Alapvet&#337; aktivit&#225;s, M&#233;rs&#233;kelt aktivit&#225;s, Alacsony aktivit&#225;s, K&#246;zepes aktivit&#225;s, Magas aktivit&#225;s, Nagyon magas aktivit&#225;s}</p></list-item>
</list></list-item>
<list-item><p>DailyStepSumRange (<bold><italic>P</italic></bold><sub>{<italic>dssr</italic>}</sub>): the ranges of the daily step category</p>
<list list-type="bullet">
<list-item><p>0 &lt;= DailyStepSum &lt; 2500</p></list-item>
<list-item><p>2500 &lt;= DailyStepSum &lt; 5000</p></list-item>
<list-item><p>5000 &lt;= DailyStepSum &lt; 7500</p></list-item>
<list-item><p>7500 &lt;= DailyStepSum &lt; 10000</p></list-item>
<list-item><p>10000 &lt;= DailyStepSum &lt; 12500</p></list-item>
<list-item><p>12500 &lt;= DailyStepSum</p></list-item>
</list></list-item>
<list-item><p>10minStepSumRange (<bold><italic>P</italic></bold><sub>{<italic>10mssr</italic>}</sub>): the ranges of the 10-minute step category</p>
<list list-type="bullet">
<list-item><p>0 &lt;=10minStepSum &lt; 250</p></list-item>
<list-item><p>250 &lt;= 10minStepSum &lt; 500</p></list-item>
<list-item><p>500 &lt;= 10minStepSum &lt; 750</p></list-item>
<list-item><p>750 &lt;= 10minStepSum &lt; 1000</p></list-item>
<list-item><p>1000 &lt;= 10minStepSum &lt; 1250</p></list-item>
<list-item><p>1250 &lt;= 10minStepSum</p></list-item>
</list></list-item>
</list>
</sec>
<sec>
<title>4.5 Integration</title>
<p>During integration phase, we describe the production of fact tables and dimensions specified in the ideal data model to be used to answer the questions.</p>
<p>We determine indicators and dimensions needed for integration (not necessarily in this order), but as a result of integration, these should be a kind of documentation.</p>
<p>Finally, we determine the steps of the data loading process (ETL/ELT), looking at their sequence. Our strategies to achieve our integration goal are top-down (ideal model -&gt; source) and bottom-up (source -&gt; ideal model) strategies, both are widely used in information processing and knowledge ordering, in practice, they can be seen as a style of thinking, teaching, or leadership.</p>
</sec>
<sec>
<title>4.5.1 Indicators to be calculated to produce the fact tables:</title>
<p>10minNormalizedStepSum: <inline-formula>
<alternatives>
<mml:math id="Eq078-mml">
<mml:mrow><mml:mn>10</mml:mn><mml:mi>minN</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>10</mml:mn><mml:mi>mIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M78">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\bf 10}{\boldsymbol{minNS}}^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{T}}_{\left\{ {TK} \right\}}},{{\boldsymbol{I}}_{\left\{ {10mIK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e74.gif"/>
</alternatives>
</inline-formula></p>
<p>DailySteps: <inline-formula>
<alternatives>
<mml:math id="Eq079-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M79">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({{ {\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e75.gif"/>
</alternatives>
</inline-formula></p>
<p>Number of students: <inline-formula>
<alternatives>
<mml:math id="Eq080-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>persons</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M80">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{St}}^{\left\{ {persons} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e76.gif"/>
</alternatives>
</inline-formula></p>
<p>Number of active days: <inline-formula>
<alternatives>
<mml:math id="Eq081-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msup><mml:mi>y</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>days</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M81">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{Activity}}^{\left\{ {days} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e77.gif"/>
</alternatives>
</inline-formula></p>
<p>Average daily steps by gender and total: <inline-formula>
<alternatives>
<mml:math id="Eq082-mml">
<mml:mrow><mml:mi>AD</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M82">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{ADS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e78.gif"/>
</alternatives>
</inline-formula></p>
</sec>
<sec>
<title>4.5.2 Additional dimension keys to produce</title>
<p>Daily intensity key: (I<sub>{DIK}</sub>)</p>
<p>The basis for the categorization is the total number of daily steps of the person under investigation <bold><italic>DS</italic></bold><sup>{<italic>step</italic>}</sup>(<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>,<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>) &#8805; {0, 2500, 5000, 7500, 10000, 12500} &#8658; {0, 1, 2, 3, 4, 5}, the necessary and sufficient dimensionality of the indicator is (<bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub>,<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>) (<xref ref-type="bibr" rid="B17">Tudor-Locke &amp; Bassett 2004</xref>; <xref ref-type="bibr" rid="B18">Tudor-Locke et al. 2011</xref>). The result of the logical test is to categorize the number of daily steps of the examined person.</p>
</sec>
<sec>
<title>4.5.3 Necessary integration dimensions</title>
<p><bold><italic>T</italic></bold>: Time (dimTime)</p>
<list list-type="bullet">
<list-item><p>TimeKey (<bold><italic>T</italic></bold><sub>{<italic>TK</italic>}</sub>): {0..143}, the i<sup>th</sup> 10-minute intervals of the day</p></list-item>
</list>
</sec>
<sec>
<title>4.5.4 The data load ETL process</title>
<p>During this process, we load the <bold><italic>S</italic></bold> (Steps) relation properties of the source system and match the dimension keys of the fact table that contains the 10-minute normalized steps in the OLAP system in Table <xref ref-type="table" rid="T8">8</xref>.</p>
<table-wrap id="T8">
<label>Table 8</label>
<caption>
<p>10-minute normalized steps&#8217; property mapping.</p>
</caption>
<table>
<tr>
<th align="left" valign="top">OLTP system (extract)</th>
<th align="left" valign="top">transform</th>
<th align="left" valign="top">OLAP system (load)</th>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>S</italic></bold><sub>{10<italic>mNS</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold>10<italic>minNS</italic></bold><sup>{<italic>step</italic>}</sup></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>S</italic></bold><sub>{<italic>DK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>S</italic></bold><sub>{<italic>TK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>T</italic></bold><sub>{<italic>TK</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>S</italic></bold><sub>{<italic>PK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>P</italic></bold><sub>{<italic>TK</italic>}</sub></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq083-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mn>10</mml:mn><mml:mi>mNS</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>date</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>NID</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mn>10</mml:mn><mml:mi>mN</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M83">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{S}}\left({{{\boldsymbol{S}}_{\left\{ {10mNS} \right\}}},{{\boldsymbol{S}}_{\left\{ {date} \right\}}},{{\boldsymbol{S}}_{\left\{ {TK} \right\}}},{{\boldsymbol{S}}_{\left\{ {NID} \right\}}}} \right){\rm{}}\mathop \Rightarrow \limits^{etl} {\rm{}}{10{\boldsymbol{mNS}}^{\left\{ {step} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{T}}_{\left\{ {TK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e79.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>After the base ETL we load the dimensions (Tables <xref ref-type="table" rid="T9">9</xref>, <xref ref-type="table" rid="T10">10</xref>, <xref ref-type="table" rid="T11">11</xref>) defined in the ideal data model and make the necessary conversions.</p>
<table-wrap id="T9">
<label>Table 9</label>
<caption>
<p>Person dimension&#8217;s property mapping.</p>
</caption>
<table>
<tr>
<th align="left" valign="top">OLTP system (extract)</th>
<th align="left" valign="top">transform</th>
<th align="left" valign="top">OLAP system (load)</th>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>P</italic></bold><sub>{<italic>PK</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>P</italic></bold><sub>{<italic>GenderEn</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>P</italic></bold><sub>{<italic>gender</italic>}</sub></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq084-mml">
<mml:mrow><mml:mi>dimPerson</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>GenderEn</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mi>dimPerson</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M84">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{dimPerson}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{P}}_{\left\{ {GenderEn} \right\}}}} \right)\mathop \Rightarrow \limits^{etl} {\rm{}}{\boldsymbol{dimPerson}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e80.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T10">
<label>Table 10</label>
<caption>
<p>Date dimension&#8217;s property mapping.</p>
</caption>
<table>
<tr>
<th align="left" valign="top">OLTP system (extract)</th>
<th align="left" valign="top">transform</th>
<th align="left" valign="top">OLAP system (load)</th>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2"><bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top">left(<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>, 6)</td>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>MK</italic>}</sub></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>DOW</italic>}</sub></td>
<td align="left" valign="middle" rowspan="2"><bold><italic>D</italic></bold><sub>{<italic>DoW</italic>}</sub>&amp;&#8220;&#8211;&#8221;&amp;<bold><italic>D</italic></bold><sub>{<italic>weekdayEn</italic>}</sub></td>
<td align="left" valign="middle" rowspan="2"><bold><italic>D</italic></bold><sub>{<italic>weekday</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>weekdayEn</italic>}</sub></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq085-mml">
<mml:mrow><mml:mi>dimDate</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DoW</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>weekdayEn</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00A0;</mml:mo><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mi>dimDate</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>weekday</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M85">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{dimDate}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DoW} \right\}}},{{\boldsymbol{D}}_{\left\{ {weekdayEn} \right\}}}} \right){\rm{}}\mathop \Rightarrow \limits^{etl} {\rm{}}{\boldsymbol{dimDate}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{D}}_{\left\{ {weekday} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e81.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T11">
<label>Table 11</label>
<caption>
<p>Month dimension-hierarchy&#8217;s property mapping.</p>
</caption>
<table>
<tr>
<th align="left" valign="top">OLTP system (extract)</th>
<th align="left" valign="top">transform</th>
<th align="left" valign="top">OLAP system (load)</th>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub></td>
<td align="left" valign="top">left(<bold><italic>D</italic></bold><sub>{<italic>DK</italic>}</sub>, 6)</td>
<td align="left" valign="top"><bold><italic>DM</italic></bold><sub>{<italic>MK</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>monthStrEn</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>DM</italic></bold><sub>{<italic>month</italic>}</sub></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq086-mml">
<mml:mrow><mml:mi>dimDate</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>monthStrEn</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mi>dimDateMonth</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>month</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M86">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{dimDate}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{D}}_{\left\{ {monthStrEn} \right\}}}} \right)\mathop \Rightarrow \limits^{etl} {\boldsymbol{dimDateMonth}}\left({{{\boldsymbol{DM}}_{\left\{ {MK} \right\}}},{{\boldsymbol{DM}}_{\left\{ {month} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e82.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>After we have made the basic etl of the DateMonth dimension, the number of rows is related to DateKey granularity with monthly duplicated values, so we must deduplicate the rows noted as below in Table <xref ref-type="table" rid="T12">12</xref>.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq087-mml">
<mml:mrow><mml:mi>dimDateMonth</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>month</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>dimDateMonth</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>month</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>month</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:munderover></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M87">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{dimDateMonth}}\left({{{\boldsymbol{DM}}_{\left\{ {MK} \right\}}},{{\boldsymbol{DM}}_{\left\{ {month} \right\}}}} \right) = {\boldsymbol{dimDateMonth}}\left({\mathop \sum \limits_{\left\{ {{{\boldsymbol{DM}}_{\left\{ {MK} \right\}}},{{\boldsymbol{DM}}_{\left\{ {month} \right\}}}} \right\}}^{\left\{ {{{\boldsymbol{DM}}_{\left\{ {MK} \right\}}},{{\boldsymbol{DM}}_{\left\{ {month} \right\}}}} \right\}} } \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e83.gif"/>
</alternatives>
</disp-formula>
<table-wrap id="T12">
<label>Table 12</label>
<caption>
<p>Walk intensity dimension&#8217;s property mapping.</p>
</caption>
<table>
<tr>
<th align="left" valign="top">OLTP system (extract)</th>
<th align="left" valign="top">transform</th>
<th align="left" valign="top">OLAP system (load)</th>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub></td>
<td align="left" valign="top">=&gt;</td>
<td align="left" valign="top"><bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub></td>
<td align="left" valign="middle" rowspan="2"><bold><italic>I</italic></bold><sub>{<italic>IK</italic>}</sub>&amp;&#8220;&#8211;&#8221;&amp; <bold><italic>D</italic></bold><sub>{<italic>sscEn</italic>}</sub></td>
<td align="left" valign="middle" rowspan="2"><bold><italic>I</italic></bold><sub>{<italic>dsc</italic>}</sub></td>
</tr>
<tr>
<td align="left" valign="top"><bold><italic>D</italic></bold><sub>{<italic>sscEn</italic>}</sub></td>
</tr>
<tr>
<td colspan="3"><hr/></td>
</tr>
</table>
<table-wrap-foot>
<fn><p><inline-formula>
<alternatives>
<mml:math id="Eq088-mml">
<mml:mrow><mml:mi>dimIntensity</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>sscEn</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mover><mml:mo>&#x21D2;</mml:mo><mml:mrow><mml:mi>etl</mml:mi></mml:mrow></mml:mover><mml:mo>&#x00A0;</mml:mo><mml:mi>dimIntensity</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>IK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dsc</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M88">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{dimIntensity}}\left({{{\boldsymbol{I}}_{\left\{ {IK} \right\}}},{{\boldsymbol{I}}_{\left\{ {sscEn} \right\}}}} \right)\mathop \Rightarrow \limits^{etl} {\boldsymbol{dimIntensity}}\left({{{\boldsymbol{I}}_{\left\{ {IK} \right\}}},{{\boldsymbol{I}}_{\left\{ {dsc} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e84.gif"/>
</alternatives>
</inline-formula></p></fn>
</table-wrap-foot>
</table-wrap>
<p>We create fact tables defined in the ideal data model with data manipulation in our data warehouse.</p>
</sec>
<sec>
<title>4.5.5 ftDailyActivity: Daily activity fact table Activity<sup>{day}</sup>(P<sub>{PK}</sub>, (D<sub>{MK}</sub>, (I<sub>{DIK}</sub>)</title>
<p><bold><italic>Daily steps:</italic></bold> (<bold><italic>DS</italic></bold><sup>{<italic>steps</italic>}</sup>): 10-minute normalized steps must be summarized up through Time dimension to get daily steps and extend the indicator with the daily intensity key.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq089-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>10</mml:mn><mml:mi>mN</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow>
</mml:math>
<tex-math id="M89">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},{{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}} \right) = {{\bf 10}{\boldsymbol{mNS}}^{\left\{ {step} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},} \right)\sum\limits_{{{\boldsymbol{T}}_{\left\{ {TK} \right\}}}}^{all} {} \times {{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e85.gif"/>
</alternatives>
</disp-formula>
<p><bold><italic>Number of active days: Activity</italic></bold><sup>{<italic>day</italic>}</sup>: We must count the daily step related days in the month.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq090-mml">
<mml:mrow><mml:mi>Activit</mml:mi><mml:msup><mml:mi>y</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>day</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mmultiscripts><mml:mi>D</mml:mi><mml:mprescripts/><mml:mrow><mml:mtext>count</mml:mtext></mml:mrow><mml:mrow></mml:mrow></mml:mmultiscripts><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>MK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>DIK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M90">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{Activity}}^{\left\{ {day} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {MK} \right\}}},{{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}} \right) = {}_{{\rm{count}}}^{}{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},\sum\limits_{{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}}^{{{\boldsymbol{D}}_{\left\{ {MK} \right\}}}} {}, {{\boldsymbol{I}}_{\left\{ {DIK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e86.gif"/>
</alternatives>
</disp-formula>
</sec>
<sec>
<title>4.5.6 ftDailySteps: Daily steps fact table <inline-formula>
<alternatives>
<mml:math id="Eq091-mml">
<mml:mrow><mml:mi>AD</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mrow>
</mml:math>
<tex-math id="M91">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{ADS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}({{\boldsymbol{D}}_{\left\{ {DK} \right\}}})
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e87.gif"/>
</alternatives>
</inline-formula></title>
<p>Average daily steps by gender and total: <inline-formula>
<alternatives>
<mml:math id="Eq092-mml">
<mml:mrow><mml:mi>AD</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow>
</mml:math>
<tex-math id="M92">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{ADS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e88.gif"/>
</alternatives>
</inline-formula></p>
<p>First, we summarize up the 10-minute normalized through Time dimension to get daily steps:</p>
<disp-formula>
<alternatives>
<mml:math id="Eq093-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>10</mml:mn><mml:mi>mN</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>TK</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M93">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {10{\boldsymbol{mNS}}^{\left\{ {step} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {PK} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}},\sum\limits_{{{\boldsymbol{T}}_{\left\{ {TK} \right\}}}}^{all} {} } \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e89.gif"/>
</alternatives>
</disp-formula>
</sec>
<sec sec-type="methods">
<title>4.5.7 Method A (work with one indicator at a time)</title>
<p>Daily steps must be summarized up through Person dimension from PersonKey to gender level.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq094-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mrow></mml:mrow></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M94">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({\sum\limits_{{{\boldsymbol{P}}_{\left\{ {PK} \right\}}}}^{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}} {}, {{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e90.gif"/>
</alternatives>
</disp-formula>
<p>Pivoting the daily step indicator with gender attribute.</p>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g13.png"/></fig>
<p>Calculate the gender independent daily step indicator summary.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq096-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M96">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{DS}}^{\left\{ {step} \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {\rm{}}\mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{all} {\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {step} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e92.gif"/>
</alternatives>
</disp-formula>
<p>Combine the three daily step indicators through the common DateKey into one fact table.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq097-mml">
<mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M97">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \times {{\boldsymbol{DS}}^{\left\{ {step} \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e93.gif"/>
</alternatives>
</disp-formula>
<p>Students must be counted up through Person dimension from PersonKey to gender level.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq098-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>&#x00A0;</mml:mo><mml:mmultiscripts><mml:mi>D</mml:mi><mml:mprescripts/><mml:mrow><mml:mtext>count</mml:mtext></mml:mrow><mml:mrow></mml:mrow></mml:mmultiscripts><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M98">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{St}}^{\left\{ {pers} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {\rm{}}{}_{{\rm{count}}}^{}{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({\mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {PK} \right\}}}}^{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}, {{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e94.gif"/>
</alternatives>
</disp-formula>
<p>Pivoting the student number indicator with gender attribute.</p>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g14.png"/></fig>
<p>Calculate the gender independent student number indicator summary.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq100-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>person</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>person</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M100">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{St}}^{\left\{ {person} \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = \mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{all} {\boldsymbol{St}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {person} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e96.gif"/>
</alternatives>
</disp-formula>
<p>Combine the three student number indicators through the common DateKey into one fact table.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq101-mml">
<mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mi>S</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>person</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M101">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {\boldsymbol{St}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \times {{\boldsymbol{St}}^{\left\{ {person} \right\}}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e97.gif"/>
</alternatives>
</disp-formula>
<p>Combine the three daily step indicator fact tables and the three student number indicator fact tables through the common DateKey into one fact table.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq102-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M102">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}\\
{{\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \times {\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e98.gif"/>
</alternatives>
</disp-formula>
<p>The last step is to divide the three daily step indicators with the related three student number indicators to get the three average daily step indicators.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq103-mml">
<mml:mrow><mml:mi>AD</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M103">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{ADS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = \left({\frac{{{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}}{{{\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e99.gif"/>
</alternatives>
</disp-formula>
</sec>
<sec sec-type="methods">
<title>4.5.8 Method B (work with many indicators at a time)</title>
<p>First, we aggregate the daily step indicator with sum and count aggregate functions through the Person dimension from PersonKey to gender to get the daily step and student number indicators.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq104-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>D</mml:mi><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>S</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mmultiscripts><mml:mi>D</mml:mi><mml:mprescripts/><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>sum</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>count</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow><mml:mrow></mml:mrow></mml:mmultiscripts><mml:msup><mml:mi>S</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M104">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
\left({\begin{array}{*{20}{c}}
{{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}}\\
{{{\boldsymbol{St}}^{\left\{ {pers} \right\}}}}
\end{array}} \right)\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {}_{\left\{ {\begin{array}{*{20}{c}}
{sum}\\
{{\rm{count}}}
\end{array}} \right\}}^{}{{\boldsymbol{DS}}^{\left\{ {steps} \right\}}}\left({\mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {PK} \right\}}}}^{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}, {{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e100.gif"/>
</alternatives>
</disp-formula>
<p>Next, we unpivot the daily step and student number indicators into value (<bold><italic>V</italic></bold>) and a special attribute (<bold><italic>A</italic></bold>) with values of the name of the unpivoted indicators.</p>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g15.png"/></fig>
<p>Next, we combine the gender <bold><italic>P</italic></bold><sub>{<italic>gender</italic>}</sub> and our special attribute <bold><italic>A</italic></bold><sub>{DS,St}</sub> values into a new <bold><italic>PxA</italic></bold><sub>{<italic>gender</italic>}&#215;{DS,St}</sub> attribute.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq106-mml">
<mml:mrow><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi><mml:mo>,</mml:mo><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>Px</mml:mi><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>DS</mml:mtext><mml:mo>,</mml:mo><mml:mtext>St</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi><mml:mo>,</mml:mo><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mtext>DS</mml:mtext><mml:mo>,</mml:mo><mml:mtext>St</mml:mtext></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M106">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{{\boldsymbol{V}}^{\left\{ {steps,pers} \right\}}}\left({{{\boldsymbol{PxA}}_{\left\{ {gender} \right\} \times \left\{ {{\rm{DS}},{\rm{St}}} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = {{\boldsymbol{V}}^{\left\{ {steps,pers} \right\}}}\left({{{\boldsymbol{P}}_{\left\{ {gender} \right\}}} \times {{\boldsymbol{A}}_{\left\{ {{\rm{DS}},{\rm{St}}} \right\}}},{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e102.gif"/>
</alternatives>
</disp-formula>
<p>Pivoting or new <bold><italic>PxA</italic></bold><sub>{<italic>gender</italic>}&#215;{DS,St}</sub> attribute values into our special (V) indicator to get four gender dependent daily step and student number indicators.</p>
<fig><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g16.png"/></fig>
<p>Calculate gender independent daily step and student number indicators by the summary of the gender dependent daily step and student number indicators and combine these two gender independent indicators, with the four gender dependent indicators.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq108-mml">
<mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mtable><mml:mtr><mml:mtd><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:munderover><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>all</mml:mi></mml:mrow></mml:munderover><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M108">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[\left({\begin{array}{*{20}{c}}
{{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}\\
{{\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = \left({\begin{array}{*{20}{c}}
{{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}\\
{St_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) \times \left({\begin{array}{*{20}{c}}
{\mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{all} {\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}\\
{\mathop \sum \limits_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{all} St_{{{\boldsymbol{P}}_{\left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}
\end{array}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e104.gif"/>
</alternatives>
</disp-formula>
<p>The last step is to divide the three daily step indicators with the related three student number indicators to get the three average daily step indicators.</p>
<disp-formula>
<alternatives>
<mml:math id="Eq109-mml">
<mml:mrow><mml:mi>AD</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>step</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>D</mml:mi><mml:msubsup><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>steps</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:msubsup><mml:mi>t</mml:mi><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x2211;</mml:mo></mml:mstyle><mml:mo>&#x200B;</mml:mo></mml:msup><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>gender</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>pers</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mi>dk</mml:mi></mml:mrow><mml:mo>}</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow>
</mml:math>
<tex-math id="M109">
\documentclass[10pt]{article}
\usepackage{wasysym}
\usepackage[substack]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage[mathscr]{eucal}
\usepackage{mathrsfs}
\usepackage{pmc}
\usepackage[Euler]{upgreek}
\pagestyle{empty}
\oddsidemargin -1.0in
\begin{document}
\[
{\boldsymbol{ADS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {step} \right\}}\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right) = \left({\frac{{{\boldsymbol{DS}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {steps} \right\}}}}{{{\boldsymbol{St}}_{{{\boldsymbol{P}}_{\mathop \sum \nolimits^ \left\{ {gender} \right\}}}}^{\left\{ {pers} \right\}}}}} \right)\left({{{\boldsymbol{D}}_{\left\{ {DK} \right\}}}} \right)
\]
\end{document}
</tex-math>
<graphic xlink:href="dsj-19-898-e105.gif"/>
</alternatives>
</disp-formula>
</sec>
</sec>
<sec>
<title>4.6 The Multidimensional modeling phase</title>
<p>We build the cube(s) with dimensions, dimension hierarchies and measures. In our example we implemented our galaxy schema (Figure <xref ref-type="fig" rid="F2">2</xref>) in Microsoft PowerBI, as the result of our hybrid methodology. We can see it in Figure <xref ref-type="fig" rid="F1">1</xref>. This data cube is the optimal cube to answer the researchers&#8217; questions.</p>
<fig id="F2">
<label>Figure 2</label>
<caption>
<p>Galaxy schema of the optimal cube.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g2.png"/>
</fig>
<p>Researchers&#8217; questions were:</p>
<list list-type="bullet">
<list-item><p>The students&#8217; daily activity by daily steps intensity categories in March (and the preferred visualizing was table).</p></list-item>
<list-item><p>Students&#8217; average daily activity in March by category and gender (and the preferred visualizing was table).</p></list-item>
<list-item><p>Mens&#8217;, womens&#8217; and all average daily steps by the day of the week in March (and the preferred visualizing was radar chart).</p></list-item>
</list>
<p>On Figure <xref ref-type="fig" rid="F3">3</xref>, <xref ref-type="fig" rid="F4">4</xref>, <xref ref-type="fig" rid="F5">5</xref> we can see the print-screens of the dashboards according to the questions. The data cube with dashboards (<xref ref-type="bibr" rid="B14">Tak&#225;cs, 2018</xref>) were implemented in Microsoft PowerBI also.</p>
<fig id="F3">
<label>Figure 3</label>
<caption>
<p>Table visualization of question1.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g3.png"/>
</fig>
<fig id="F4">
<label>Figure 4</label>
<caption>
<p>Table visualization of question2.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g4.png"/>
</fig>
<fig id="F5">
<label>Figure 5</label>
<caption>
<p>Radar chart visualization of question3.</p>
</caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dsj-19-898-g5.png"/>
</fig>
</sec>
</sec>
<sec>
<title>5 Summary</title>
<p>In our study we presented a method and concrete designing tool that can decrease a serious deficiency in data warehouse conceptual design phase, when the customer and the vendor should think together to draw up the conceptual plan of a management information system. We provide a kind of &#8216;business intelligence problem solving thinking&#8217; and a kind of descriptive language that can serve it. We proved with an example, that this approach could work very efficiently in a research area very popular nowadays, that is activity tracking. The problem we presented was simple and there were minimal quantity of management questions, but this hybrid conceptual modeling works in the same way during the conceptual design of a more complex management information system, the visual version of the design process of our example (<xref ref-type="bibr" rid="B15">Tak&#225;cs, 2019</xref>) results a very complex graph. The thinking method and the formalisation helps to describe the managerial questions exactly in the conceptual design phase, so it could be an effective intermediate language between designers and creators of the management information system in order to implement successfully, and in the long run help to supply the management or researchers with usual and correct information about their company or research.</p>
<p>Our method has a limitation related to the ETL process, because we focused on the transformation made after the extract-load processes first in the intermediate storage, and last in our Research Data Warehouse. In this example we are not defined notations for complex transformation of ETL process.</p>
</sec>
</body>
<back>
<sec>
<title>Funding Information</title>
<p>The publication is supported by the GINOP-2.3.2-15-2016-00005 project. The project is co-financed by the European Union under the European Regional Development Fund.</p>
</sec>
<sec>
<title>Competing Interests</title>
<p>The authors have no competing interests to declare.</p>
</sec>
<sec>
<title>Author Contributions</title>
<p>This is a collaborative research in which all authors contributed equally to almost all parts of the manuscript. Viktor L&#225;szl&#243; Tak&#225;cs participated in the 2010s data warehouse projects were realized in Hungarian higher education, related to this early management question stenography were developed by Viktor L&#225;szl&#243; Tak&#225;cs and Katalin Bubn&#243; in 2012. Gergely G&#225;bor R&#225;thonyi, &#201;va B&#225;csn&#233; B&#225;ba and R&#243;bert Szil&#225;gyi started a research of physical activity of university students in 2018 and specified the research environment. Viktor L&#225;szl&#243; Tak&#225;cs, Katalin Bubn&#243;, Gergely G&#225;bor R&#225;thonyi and R&#243;bert Szil&#225;gyi improved the early stenography to a hybrid modeling method in 2018 work closely to the activity researchers.</p>
</sec>
<ref-list>
<ref id="B1"><label>1</label><mixed-citation publication-type="book"><string-name><surname>B&#225;nn&#233; Varga</surname>, <given-names>G</given-names></string-name>. <year>2012</year>. <source>Az adatt&#225;rh&#225;z-k&#233;sz&#237;t&#233;s technol&#243;gi&#225;ja</source>. <publisher-loc>Budapest</publisher-loc>: <publisher-name>Typotex</publisher-name>. (In Hungarian).</mixed-citation></ref>
<ref id="B2"><label>2</label><mixed-citation publication-type="journal"><string-name><surname>Di Tria</surname>, <given-names>F</given-names></string-name>, <string-name><surname>Lefons</surname>, <given-names>E</given-names></string-name> and <string-name><surname>Tangorra</surname>, <given-names>F</given-names></string-name>. <year>2017</year>. <article-title>Cost-benefit analysis of data warehouse design methodologies</article-title>. <source>Information Systems</source>, <volume>63</volume>: <fpage>47</fpage>&#8211;<lpage>62</lpage>. DOI: <pub-id pub-id-type="doi">10.1016/j.is.2016.06.006</pub-id></mixed-citation></ref>
<ref id="B3"><label>3</label><mixed-citation publication-type="book"><collab>European Parliament and the Council of the European Union</collab>. <year>2016</year>. <chapter-title>Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data and repealing</chapter-title>. <source>Directive 95/46/EC</source> (General Data Protection Regulation). <publisher-loc>Bruxelles, Belgium</publisher-loc>: <publisher-name>European Parliament: Council of the European Union</publisher-name>.</mixed-citation></ref>
<ref id="B4"><label>4</label><mixed-citation publication-type="book"><string-name><surname>Halassy</surname>, <given-names>B</given-names></string-name>. <year>1994</year>. <source>Az adatb&#225;zistervez&#233;s alapjai &#233;s titkai</source>. <publisher-loc>Budapest</publisher-loc>: <publisher-name>IDG Hungary</publisher-name>, (In Hungarian).</mixed-citation></ref>
<ref id="B5"><label>5</label><mixed-citation publication-type="journal"><string-name><surname>Henriksen</surname>, <given-names>A</given-names></string-name>, <string-name><surname>Haugen Mikalsen</surname>, <given-names>M</given-names></string-name>, <string-name><surname>Woldaregay</surname>, <given-names>AZ</given-names></string-name>, <string-name><surname>Muzny</surname>, <given-names>M</given-names></string-name>, <string-name><surname>Hartvigsen</surname>, <given-names>G</given-names></string-name>, <string-name><surname>Hopstock</surname>, <given-names>LA</given-names></string-name> and <string-name><surname>Grimsgaard</surname>, <given-names>S</given-names></string-name>. <year>2018</year>. <article-title>Using Fitness Trackers and Smartwatches to Measure Physical Activity in Research: Analysis of Consumer Wrist-Worn Wearables</article-title>. <source>Journal of Medical Internet Research</source>, <volume>20</volume>(<issue>3</issue>): <elocation-id>e110</elocation-id>. DOI: <pub-id pub-id-type="doi">10.2196/jmir.9157</pub-id></mixed-citation></ref>
<ref id="B6"><label>6</label><mixed-citation publication-type="journal"><string-name><surname>Kaewkannate</surname>, <given-names>K</given-names></string-name> and <string-name><surname>Kim</surname>, <given-names>S</given-names></string-name>. <year>2016</year>. <article-title>A comparison of wearable fitness devices</article-title>. <source>BMC Public Health</source>, <volume>16</volume>(<issue>1</issue>): <fpage>433</fpage>. DOI: <pub-id pub-id-type="doi">10.1186/s12889-016-3059-0</pub-id></mixed-citation></ref>
<ref id="B7"><label>7</label><mixed-citation publication-type="journal"><string-name><surname>Karapanos</surname>, <given-names>E</given-names></string-name>, <string-name><surname>Gouveia</surname>, <given-names>R</given-names></string-name>, <string-name><surname>Hassenzahl</surname>, <given-names>M</given-names></string-name> and <string-name><surname>Forlizzi</surname>, <given-names>J</given-names></string-name>. <year>2016</year>. <article-title>Wellbeing in the making: peoples&#8217; experiences with wearable activity trackers</article-title>. <source>Psychology of Well-Being</source>, <volume>6</volume>(<issue>1</issue>): <fpage>4</fpage>. DOI: <pub-id pub-id-type="doi">10.1186/s13612-016-0042-6</pub-id></mixed-citation></ref>
<ref id="B8"><label>8</label><mixed-citation publication-type="book"><string-name><surname>Kimball</surname>, <given-names>R</given-names></string-name> and <string-name><surname>Ross</surname>, <given-names>M</given-names></string-name>. <year>2013</year>. <chapter-title>The Data Warehouse Toolkit: The Definitive Guide To Dimensional Modeling</chapter-title>. <publisher-loc>Hoboken, New Jersey</publisher-loc>: <publisher-name>Wiley</publisher-name>.</mixed-citation></ref>
<ref id="B9"><label>9</label><mixed-citation publication-type="book"><string-name><surname>Krauth</surname>, <given-names>P</given-names></string-name>. <year>2008</year>. <chapter-title>&#220;zleti informatika</chapter-title>. In: <string-name><surname>D&#246;m&#246;lki</surname>, <given-names>B</given-names></string-name> <source>&#201;gen-F&#246;ld&#246;n Informatika</source>. <publisher-loc>Budapest</publisher-loc>: <publisher-name>Typotex</publisher-name>, pp. <fpage>549</fpage>&#8211;<lpage>587</lpage>. (In Hungarian).</mixed-citation></ref>
<ref id="B10"><label>10</label><mixed-citation publication-type="journal"><string-name><surname>Lee</surname>, <given-names>I-M</given-names></string-name>, <string-name><surname>Shiroma</surname>, <given-names>EJ</given-names></string-name>, <string-name><surname>Lobelo</surname>, <given-names>F</given-names></string-name>, <string-name><surname>Puska</surname>, <given-names>P</given-names></string-name>, <string-name><surname>Blair</surname>, <given-names>SN</given-names></string-name>, <string-name><surname>Katzmarzyk</surname>, <given-names>PT</given-names></string-name> and <collab>Lancet Physical Activity Series Working Group</collab>. <year>2012</year>. <article-title>Effect of physical inactivity on major non-communicable diseases worldwide: an analysis of burden of disease and life expectancy</article-title>. <source>Lancet</source>, <volume>380</volume>(<issue>9838</issue>): <fpage>219</fpage>&#8211;<lpage>229</lpage>. DOI: <pub-id pub-id-type="doi">10.1016/S0140-6736(12)61031-9</pub-id></mixed-citation></ref>
<ref id="B11"><label>11</label><mixed-citation publication-type="journal"><string-name><surname>Macedo</surname>, <given-names>H</given-names></string-name> and <string-name><surname>Oliveira</surname>, <given-names>J</given-names></string-name>. <year>2015</year>. <article-title>A linear algebra approach to OLAP</article-title>. <source>Formal Aspects of Computing</source>, <volume>27</volume>(<issue>2</issue>): <fpage>283</fpage>&#8211;<lpage>307</lpage>. DOI: <pub-id pub-id-type="doi">10.1007/s00165-014-0316-9</pub-id></mixed-citation></ref>
<ref id="B12"><label>12</label><mixed-citation publication-type="journal"><string-name><surname>Maher</surname>, <given-names>C</given-names></string-name>, <string-name><surname>Ryan</surname>, <given-names>J</given-names></string-name>, <string-name><surname>Ambrosi</surname>, <given-names>C</given-names></string-name> and <string-name><surname>Edney</surname>, <given-names>S</given-names></string-name>. <year>2017</year>. <article-title>Users&#8217; experiences of wearable activity trackers: a cross-sectional study</article-title>. <source>BMC Public Health</source>, <volume>17</volume>(<issue>1</issue>): <fpage>880</fpage>. DOI: <pub-id pub-id-type="doi">10.1186/s12889-017-4888-1</pub-id></mixed-citation></ref>
<ref id="B13"><label>13</label><mixed-citation publication-type="book"><string-name><surname>Rizzi</surname>, <given-names>S</given-names></string-name>. <year>2008</year>. <chapter-title>Conceptual Modeling Solutions for the Data Warehouse</chapter-title>. In: <string-name><surname>Wang</surname>, <given-names>J</given-names></string-name> (ed.), <source>Data Warehousing And Mining: Concepts, Methodologies, Tools, And Applications</source>. <publisher-loc>Hershey, PA</publisher-loc>: <publisher-name>IGI Global</publisher-name>. DOI: <pub-id pub-id-type="doi">10.4018/978-1-59904-951-9.ch016</pub-id></mixed-citation></ref>
<ref id="B14"><label>14</label><mixed-citation publication-type="webpage"><string-name><surname>Tak&#225;cs</surname>, <given-names>V</given-names></string-name>. <year>2018</year>. <article-title>Activity tracking example dashboard</article-title>. Available at URL [September 2018]. <uri>https://app.powerbi.com/view?r=eyJrIjoiZTkxZTEwMWItNDdiNi00MmYwLThkNTEtYTQwZDFiMTAxOTEwIiwidCI6IjhmMDcxYjhlLWFjZTMtNGZhNS05MDc3LTAwODRjOTJhMDE5NSIsImMiOjh9</uri>.</mixed-citation></ref>
<ref id="B15"><label>15</label><mixed-citation publication-type="webpage"><string-name><surname>Tak&#225;cs</surname>, <given-names>V</given-names></string-name>. <year>2019</year>. <article-title>Activity tracking example design process visualization (presliced) at URL [March 2019]</article-title>. <uri>https://app.powerbi.com/view?r=eyJrIjoiMjUyYTBjNjUtMGEyMC00NjgxLWEyYjItNzk0NTE5ZDVkNWE1IiwidCI6IjhmMDcxYjhlLWFjZTMtNGZhNS05MDc3LTAwODRjOTJhMDE5NSIsImMiOjh9</uri>.</mixed-citation></ref>
<ref id="B16"><label>16</label><mixed-citation publication-type="book"><string-name><surname>Tak&#225;cs</surname>, <given-names>V</given-names></string-name> and <string-name><surname>Bubn&#243;</surname>, <given-names>K</given-names></string-name>. <year>2012</year>. <chapter-title>Fels&#337;oktat&#225;si adatt&#225;rh&#225;z-tervez&#233;s koncepcion&#225;lis modellje</chapter-title>. In: <source>Technical Reports</source>, <volume>11</volume>. <publisher-loc>Debrecen</publisher-loc>: <publisher-name>University of Debrecen, Institute of Mathematics and Faculty of Informatics</publisher-name>.</mixed-citation></ref>
<ref id="B17"><label>17</label><mixed-citation publication-type="journal"><string-name><surname>Tudor-Locke</surname>, <given-names>C</given-names></string-name> and <string-name><surname>Bassett</surname>, <given-names>DR</given-names></string-name>. <year>2004</year>. <article-title>How many steps/day are enough? Preliminary pedometer indices for public health</article-title>. <source>Sports Medicine</source>, <volume>34</volume>(<issue>1</issue>): <fpage>1</fpage>&#8211;<lpage>8</lpage>. DOI: <pub-id pub-id-type="doi">10.2165/00007256-200434010-00001</pub-id></mixed-citation></ref>
<ref id="B18"><label>18</label><mixed-citation publication-type="journal"><string-name><surname>Tudor-Locke</surname>, <given-names>C</given-names></string-name>, <string-name><surname>Craig</surname>, <given-names>CL</given-names></string-name>, <string-name><surname>Brown</surname>, <given-names>WJ</given-names></string-name>, <string-name><surname>Clemes</surname>, <given-names>SA</given-names></string-name>, <string-name><surname>De Cocker</surname>, <given-names>K</given-names></string-name>, <string-name><surname>Giles-Corti</surname>, <given-names>B</given-names></string-name>, <string-name><surname>Hatano</surname>, <given-names>Y</given-names></string-name>, <string-name><surname>Inoue</surname>, <given-names>S</given-names></string-name>, <string-name><surname>Matsudo</surname>, <given-names>SM</given-names></string-name>, <string-name><surname>Mutrie</surname>, <given-names>N</given-names></string-name>, <string-name><surname>Oppert</surname>, <given-names>J-M</given-names></string-name>, <string-name><surname>Rowe</surname>, <given-names>DA</given-names></string-name>, <string-name><surname>Schmidt</surname>, <given-names>MD</given-names></string-name>, <string-name><surname>Schofield</surname>, <given-names>GM</given-names></string-name>, <string-name><surname>Spence</surname>, <given-names>JC</given-names></string-name>, <string-name><surname>Teixeira</surname>, <given-names>PJ</given-names></string-name>, <string-name><surname>Tully</surname>, <given-names>MA</given-names></string-name> and <string-name><surname>Blair</surname>, <given-names>SN</given-names></string-name>. <year>2011</year>. <article-title>How many steps/day are enough? For adults</article-title>. <source>International Journal of Behavioral Nutrition and Physical Activity</source>, <volume>8</volume>(<issue>1</issue>): <fpage>79</fpage>&#8211;<lpage>95</lpage>. DOI: <pub-id pub-id-type="doi">10.1186/1479-5868-8-79</pub-id></mixed-citation></ref>
<ref id="B19"><label>19</label><mixed-citation publication-type="journal"><collab>World Medical Association</collab>. <year>2013</year>. <article-title>Declaration of Helsinki: Ethical Principles for Medical Research Involving Human Subjects</article-title>. <source>JAMA: Journal of the American Medical Association</source>, <volume>310</volume>(<issue>20</issue>): <fpage>2191</fpage>&#8211;<lpage>2194</lpage>. DOI: <pub-id pub-id-type="doi">10.1001/jama.2013.281053</pub-id></mixed-citation></ref>
</ref-list>
</back>
</article>