Selection of Kinematic and Temporal Input Parameters to Deﬁne a Novel Upper Body Index Indicator for the Evaluation of Upper Limb Pathology

: Purpose: This work aimed to develop a novel indicator of upper limb manipulative movements. A principal component analysis (PCA) algorithm was applied to kinematic measurements of movements of the upper limbs performed during an everyday activity. Methods: Kinematics of the upper limb while drinking from a mug were investigated using the commercially available Xsens MVN BIOMECH inertial sensor-based motion capture system. The study group consisted of 20 male patients who had previously suffered an ischaemic stroke, whilst the reference group consisted of 16 males with no disorders of their motor organs. Based on kinematic data obtained, a set of 30 temporal and kinematic parameters were deﬁned. From this, 16 parameters were selected for the determination of a novel indicator, the Upper Body Index (UBI), which served the purpose of assessing manipulative movements of upper limbs. Selection of the 16 parameters considered the percentage distribution of the parameters beyond the standard, the differences in mean values between the reference group and the study group, and parameter variability. Results: Analysis of kinematics allowed for the identiﬁcation and selection of the parameters used in the development of the new index. This included 2 temporal parameters and 14 kinematic parameters, with the minimum and maximum angles of the upper limb joints, motion ranges in the joints, and parameters connected with movement of the spine recorded. These parameters were used to assess motion in the shoulder and elbow joints, in all possible planes, as well as spine movement. The values of the UBI indicator were as follows: in the case of the reference group: 13.67 ± 2.40 for the dominant limb, 13.71 ± 3.36 for the non-dominant limb; in the case of the stroke patient group: 130.86 ± 75.07 for the dominant limb, 155.58 ± 170.76 for the non-dominant limb. Conclusions: The developed UBI made it possible to discover deviations from the standard performance of upper limb movements. Therefore, the index may be applicable to the analysis of any sequence of movements carried out by the upper limb.


Introduction
Being able to properly perform daily activities is very important for the normal functioning of human beings. Indeed, correct functioning of the upper limbs has an impact on both physical and mental well-being. Evaluation of movements of the upper limbs is most frequently achieved by assessing motion kinematics.
This work aimed to develop a methodology for assessing upper limb manipulative function from kinematic data of activities of daily living using the PCA algorithm. The study presents methods for selecting parameters that build the index. Implementation of this objective required the following:

•
Collection of kinematic values differentiating between correct and pathological movements; • Selection of a set of input parameters for the new index. • Determination of the UBI for the reference group and patients with upper limb dysfunction caused by ischaemic stroke.

Participants
The reference group consisted of 16 male participants ranging from 19 to 29 years of age (age: 23 ± 2, body weight: 73.75 ± 8.57 kg, height 1.80 ± 0.07 m). All of the participants

Participants
The reference group consisted of 16 male participants ranging from 19 to 29 years of age (age: 23 ± 2, body weight: 73.75 ± 8.57 kg, height 1.80 ± 0.07 m). All of the participants in the reference group indicated that their right upper limb was dominant. The inclusion criteria for acceptance were that they were healthy individuals with the absence of chronic disease, had no history of surgical procedures to their upper limbs or spine, and no injuries to the upper limbs in the preceding 6 months.
The second group consisted of 20 male patients ranging in age from 57 to 74 years (age: 63 ± 5, body weight: 79.90 ± 13.72 kg, height 1.70 ± 0.05 m) who had previously suffered an ischaemic stroke. All individuals identified their right limb as dominant. All of the stroke patients suffered from hemiparesis, 18 on the left-hand side and 2 on the right-hand side. For inclusion in this group, patients had to have paresis of one of their upper limbs due to an ischaemic stroke that had occurred in the previous 3 to 6 months. The patients were assessed for inclusion by physicians at the Miners' Rehabilitation Centre "REPTY", from the second week of their stay in hospital. Whilst admitted to the hospital, all patients were subjected to standard rehabilitation procedures. The exclusion criteria for stroke patients was the inability to drink from a mug, as this activity was the subject of the analysis. Motor ability of the patients was evaluated by physicians using tests and medical scales. Brunnstrom scale was used for the assessment of hand ability, whilst Ashworth's scale was used for the evaluation of muscle tone and the degree of spasticity, and the Barthel scale was used to assess their performance in everyday activities. All of the participants obtained results within the range of 5-6 in the Brunnstorm scale, 0-2 in the Ashworth's scale and 13-20 in the Barthel scale.
All participants were informed of the purpose and course of the tests and expressed their conscious consent to participate in the study.
This study was approved by the ethical committee of the Jerzy Kukuczka Academy of Physical Education in Katowice, Poland (protocol number 11/2015).

Experimental Testing
Movement kinematics were measured using the MVN BIOMECH inertial sensor-based motion capture system (Xsens Technologies B.V., Enskode, The Netherlands), which is equipped with 11 inertial sensors, set at a sampling frequency of 120 Hz. Sensors were placed on the head, sternum, sacral bone, and symmetrically on both upper limbs, to include the shoulder blades, arms, forearms and palms. Initial experiments involved the collection of anthropometric measurements and calibration of the system. Following this, kinematic measurements were recorded as participants drank from a mug. Each participant was assessed whilst sitting on a standard chair, with a seat height of 45 cm, at a table, which was 80 cm high. The starting position of the mug was clearly marked on the table surface and participants' were tasked to drink from the mug naturally, without prior instruction. The only requirement was that the mug had to be returned to its marked starting position. The whole movement was divided into 3 phases, the lifting phase, the drinking phase, and the lowering phase, when the mug was returned to its starting position. Each participant performed the task of drinking from the mug three times. The subjects performed the activity with both hands. First with the dominant hand, then with the non-dominant hand.
This experiment allowed for the determination of the course of the kinematics of motion in the upper limb joints and the arrangement of particular segments of the spine. The kinematic motion waveforms of each repetition performed with the dominant and non-dominant hand were the basis for determining 30 input parameters (30 temporal and kinematic motion parameters identified in consultation with clinicians-see Section 2.4 for details). The 30 defined parameters (as single numerical values) were determined separately for each repetition of each subject, for both the dominant and non-dominant upper limb. The parameter results obtained for 3 repetitions (for each limb of the test subject) were not averaged. All values obtained for the tested subjects were included in the results database. The results database collected therefore included the values of the  30 parameters obtained for all repetitions performed with the dominant and non-dominant limb, for all healthy subjects (reference group) and patients. The results database therefore included 216 results for each defined parameter from P1 to P30. In total, the results database included 6480 values (36 subjects × 2 upper limbs × 3 repetitions × 30 parameters). This database was then used in calculations to select the parameters of the 3 defined criteria (M1, M2, M3). The UBI value was then determined for all 3 repetitions performed with the subject's dominant and non-dominant limb. The evaluated value of the UBI index for the tested person is the average value of these 3 values obtained for subsequent repetitions.

Mathematical Algorithm of the Indicator
The UBI indicator was based on a PCA mathematical algorithm, which made it possible to obtain 16 independent variables from 16 selected motion variables [25]. The obtained sets of parameters were shown in the form of vectors in multidimensional space.
Development of the mathematical algorithm of the indicator consisted of two stages. The first stage involved the collection and standardisation of data from the reference group. A covariance matrix, eigenvectors and eigenvalues of the matrix were then calculated for these data. The second stage involved the collection and standardisation of data from stroke patients. Following that, the vector of coordinates of standardised points was determined, which represented the patients in a new system of coordinates. The final stage was the measurement of the Euclidean distance, showing to what degree the movement of stroke patients diverged from the mean calculated from the reference group.
The mathematical algorithm of the indicator was then implemented in the MatLab environment (Mathworks, Natick, MA, USA).

Selection of Input Parameters
The first phase focused on the selection of 30 kinematic parameters, which provided the basis for choosing the 16 parameters of the UBI indicator. Taking into consideration the mathematical algorithm, it was assumed that the parameters had to be presented in the form of a single numerical value. Thirty parameters were selected following consultations with physiotherapists and physicians at the Miners' Rehabilitation Centre GCR "REPTY", as well as on the basis of the authors' experience. The shortlisted parameters were selected from kinematic data collected during the analysed activity of drinking from a mug.
The following kinematic and temporal parameters were selected for the analysed activity: The next phase involved surveying of physicians and physiotherapists in order to understand their experience of examining motor functions in the upper limbs of patients after stroke. In the survey, these healthcare professionals indicated their specialisation and provided answers related to their experience in the treatment/rehabilitation of patients after ischaemic stroke, gave an estimation of the number of treated/rehabilitated patients after ischaemic stroke, and the level of their knowledge in the application of biomechanical systems to the rehabilitation of patients after ischaemic stroke. In order to aid in the selection of parameters for the development of the new indicator, they were asked: "In your opinion, which parameters have the highest diagnostic value in the assessment of motor functions of the upper limbs in patients after cerebral stroke?" They were then asked to select the 16 most significant parameters from a set of 30 identified by the authors.
The survey was sent by e-mail to 50 physicians and physiotherapists and a total of 25 replies were received.
Next, the 16 parameters necessary for the development of the UBI indicator were selected using the following criteria:

•
The percentage distribution of parameters beyond the standard (M1); • The differences in mean values between the reference group and the patient group (M2); • The variability of parameters (M3).

Selection of Parameters Taking into Account the Percentage Distribution of Parameters beyond the Standard (M1)
Selection of input parameters was based on the qualification of results obtained for the stroke patients with upper limbs paresis, with up to 4 ranges defined by the mean value and standard deviation obtained from the reference group (Table 1). The ranges are marked by green, yellow, orange or red, which indicate the difference between the result of a certain parameter obtained for a given patient and the result obtained for the reference group. Boundary values of the ranges were defined using the mean value and standard deviation obtained in the reference group, for both the dominant and non-dominant upper limb, respectively. Table 1. Classification ranges of parameter results.

Results in the norm
Green < mean ± std > Results at the limit of the norm Yellow < mean − 2×std; mean − std) ∪ (mean + std; mean + 2×std > Results beyond the norm Orange < mean − 3×std; mean − 2×std) ∪ (mean + 2×std; mean + 3×std > Results beyond the norm significantly and to what degree, differentiated from the results obtained for the stroke patients in comparison to the reference group.
All 30 kinematic parameters were sorted in a sequence, from the largest deviation of results from the standard, to the smallest deviation. In other words, a sequence starting from the smallest number of results being within the green range, in compliance with the reference.
Further analysis of the selection parameters for the new indicator considered the 16 most differentiated parameters, for both the dominant and non-dominant upper limb, respectively. From this, two sets of sorted parameters were obtained.

Selection of Parameters Taking into Account the Differences in Mean Values between the Reference Group and the Stroke Patient Group (M2)
This selection method was based on the determination of the difference in the mean values of the analysed parameters between the reference and the stroke patient group. The mean values were determined for all 30 parameters, for both the dominant and non-dominant limb. Following computation of the differences in the mean values, the parameters were sorted from the largest to the smallest difference obtained. Further analysis involved 16 selected parameters which had produced the biggest differences in mean values, for both the dominant and non-dominant upper limb. Accordingly, two sets of sorted parameters were obtained from this method.

Selection of Parameters Taking into Account the Variability of Parameters (M3)
Variability within the 30 parameters in both the reference group and stroke patient group, for both the dominant and non-dominant upper limb, were determined. Variability was defined by means of the variability coefficient expressed in the following way: where: std-standard test deviation, mean-arithmetic mean obtained in the test. Next, the ratio of the variability coefficient obtained for each input parameter in the stroke patient group to the variability coefficient obtained in the reference group was calculated: where: i-subsequent parameters (P1-P30); CV_PG i -variability coefficient of given parameter i in patients group PG; CV_RG i -variability coefficient of given parameter i in reference group RG. After computation of CV_M3 i , the parameters were sorted from the highest to the lowest value. Subsequently, the 16 parameters with the highest variability in the stroke patient group in relation to the reference group, for both the dominant and non-dominant upper limb, were selected. From this method, two sets of sorted parameters were obtained.

Final Selection of Parameters
The final step in the selection of parameters for the development of the new indicator was comparison of all 6 sets of parameters, including highlighting the selected 16 parameters. Frequency of appearance of individual parameters was checked in given sets and the parameters that repeatedly appeared in the biggest number of sets were shortlisted. Physiotherapists were consulted with regards these shortlisted parameters, and they were verified according to the results obtained in the survey.
The above-mentioned 16 parameters were then implemented into the mathematical algorithm of the UBI indicator. The values of the new indicator were computed for the reference and stroke patient group, for both the dominant and non-dominant upper limb.

Statistical Analysis
Quantitative variables of the analysed parameters were expressed as mean and standard deviation, as well as minimum and maximum value. Distribution of the analysed variables was assessed for normality using the Shapiro-Wilk test. Analysis of differences in the analysed parameters between groups was performed by Student's independent-samples t-test, when data was normally distributed or the Mann-Whitney U test for non-parametric data. For within-group analysis, Student's paired-samples t-test or Wilcoxon signed-rank test was used to check for differences between the dominant and non-dominant upper limb. All statistical analyses adopted significance level p = 0.05. Statistica 13.1 software was used for all statistical analyses.

Selected Input Parameters
Measurement of the kinematics of upper limb movements during the activity of drinking from a mug allowed for the determination of the values of 30 selected temporal and kinematic parameters. Mean values and standard deviations, as well as minimum and maximum values of all parameters in the reference and the stroke patient groups, for both the dominant and non-dominant upper limb, are presented in Table 2. The statistical tests showed differences between movements performed with the dominant and nondominant limb in the healthy group. Statistically significant differences were noted for 13 of the 30 parameters. No statistically significant differences were noted mostly for the parameters determining spinal movement. This means and confirms the assumption that the movement pattern for the activity of drinking from a cup (performed repeatedly during the day) is different for the dominant and non-dominant limb. This means that that the normative ranges for all parameters analysed should be determined separately for the dominant and non-dominant limb.   0 Results from the statistical analysis comparing differences between the parameter values obtained for the dominant and non-dominant upper limb are also shown in Table 3. Results of the Student's independent-samples t-tests and Mann-Whitney U-tests, are shown in Table 3. No statistically significant differences were found in the motion of the wrist joint (P13, P14), movements in the lumbar section of the spine (P25-P28) or the motion range in the shoulder joint (P30). However, statistically significant differences between the reference and the stroke patient group were recorded in at least one upper limb.

Selection of Input Parameters Taking into Account the Percentage Distribution of Parameters beyond the Standard
With reference to the methodology described in Section 2.4.1, input parameter selection was carried out with consideration of the percentage distribution of parameters beyond the standard. Figures 2 and 3 show the percentage distribution of the parameters obtained for the patients in 4 defined ranges (green, yellow, orange and red), for both the dominant and non-dominant upper limbs. On the basis of these results, the 16 parameters with the highest values of deviation from the values obtained in the reference group was applied to both the dominant and non-dominant upper limbs. The selected parameters are collated in Table 4.   Table 4 shows a set of 16 parameters that most differentiated the results obtained for a given patient and the result obtained for the reference group. These are the parameters for which the percentage distribution of selected parameters within the standard (green classifier) was lowest.

Selection of Input Parameters Taking into Account the Differences in Mean Values between the Reference Group and Stroke Patient Group
This selection method was based on the determination of the difference in the mean values of the analysed parameters between the reference and the stroke patient group (Section 2.4.2). The parameters were sorted from the largest to the smallest difference. Taking into account the differences in mean values between the reference group and the stroke patient group, 16 parameters with the highest values of difference were selected. These parameters were chosen separately for both the dominant and non-dominant upper limb, and are shown in Table 5.

Selection of Input Parameters Taking into Account the Variability of Parameters
To account for variability (Section 2.4.3), the 16 parameters with the highest ratio of the variability coefficient obtained for each input parameter in the stroke patient group to the variability coefficient obtained in the reference group (CV_M3 i ) were selected. The parameters were chosen for both the dominant and non-dominant upper limb (Table 6).

Final Selection of Input Parameters
Input parameter selection, for the development of the UBI indicator resulted in the creation of six sets for each of the 16 selected parameters. Frequency of appearance of the individual parameters was checked in given sets, and the results are presented in Table 7. From this comparison, twenty-one parameters were identified that were repeated in at least half of the sets (NRR).  Results from the surveys conducted among physicians and physiotherapists identified seventeen parameters that were repeated in at least half of the survey answers ( Table 7). The resulting set of 17 parameters selected by physiotherapists and physicians was compared with a set of 21 parameters selected according to the accepted calculation procedures (parameters repeated in at least half of the sets-NRR). This comparison allowed the selection of 13 parameters that appeared in both parameter determination approaches. As it was assumed that the new index would be based on 16 parameters (similar to the GGI index [25]), it was decided that the missing 3 parameters would be indicated by experienced clinicians and physiotherapists. Three additional parameters were then added to the UBI indicator, including temporal parameters P1 and P2 and P29, which represented the scope of abduction/adduction motion of the shoulder joint.
Final selection of the 16 parameters was carried out through consultations with physiotherapists who provide rehabilitation services to stroke patients on a daily basis. The physiotherapists pointed out the following issues:

•
For upper limb motion evaluation, it is necessary to select mainly parameters that define maximum joint angles and motion ranges of the joints; • Kinematic parameters measured for the spine should consider the possibility of detecting compensation movements, which may be a result of limb paresis; • Appropriate velocity of the performed movement proves physical efficiency and ability of the upper limb.
The set of 16 input parameters selected is presented in Table 8.

UBI Indicator Results
Selected input parameters constituted the input data for the mathematical algorithm of the UBI indicator. The values of the UBI were calculated separately for the reference group and stroke patient group, for both the dominant and non-dominant upper limb. The UBI index value was determined for each of the 3 repetitions performed with the dominant and non-dominant limbs. The evaluated value of the UBI index for the tested person is the average value of these 3 values obtained for subsequent repetitions. These values have been collated in Figures 4 and 5. The error bars indicate the standard deviation of the UBI values obtained for the 3 repetitions performed for each tested person.
The mean UBI values obtained for the reference group did not exceed 21 ( Figure 4). However, in the post-stroke group, UBI values are higher than 30 ( Figure 5). In 13 patients, the values of the index for at least one upper limb exceeded the value of 100. In four patients, the values are higher than 200 indicating a high deviation of movement from the set norms for the reference group.
The mean value and standard deviation, as well as the minimum and maximum values of the UBI indicator obtained for the reference group have been collated separately in Table 9, for both the dominant and non-dominant upper limb. The mean values of the UBI index for the reference group were less than 14 for both the dominant and nondominant hand. The min-max range of the UBI index for the reference group is similar for the dominant and non-dominant limb. The maximum of the UBI index did not exceed a value of 21.
tion of the UBI values obtained for the 3 repetitions performed for each tested person.
The mean UBI values obtained for the reference group did not exceed 21 ( Figure 4). However, in the post-stroke group, UBI values are higher than 30 ( Figure 5). In 13 patients, the values of the index for at least one upper limb exceeded the value of 100. In four patients, the values are higher than 200 indicating a high deviation of movement from the set norms for the reference group. The mean value and standard deviation, as well as the minimum and maximum values of the UBI indicator obtained for the reference group have been collated separately in Table 9, for both the dominant and non-dominant upper limb. The mean values of the UBI index for the reference group were less than 14 for both the dominant and non-dominant hand. The min-max range of the UBI index for the reference group is similar for the dominant and non-dominant limb. The maximum of the UBI index did not exceed a value of 21.     (Table 10). The rather high value of the standard deviation (especially for the non-dominant limb) indicates that the index results in the patient group have a strongly non-Gaussian distribution, i.e., the values for a few patients differ significantly from the other results. The results of the UBI index for the nondominant limb for four out of 20 patients exceed a value of 300, including two patients exceeding a value of 500. These results indicate a large deviation of the movement pattern from the pattern obtained for the healthy group ( Figure 5).    Table 10 summarises the results of the UBI index obtained for the group of post-stroke patients (mean value, standard deviation, minimum and maximum value). The mean values of the UBI index for the whole group of patients differed significantly from the results obtained for the reference group, being 130.86 ± 75.07 for the dominant limb and 155.58 ± 170.76 for the non-dominant limb ( Table 10). The rather high value of the standard deviation (especially for the non-dominant limb) indicates that the index results in the patient group have a strongly non-Gaussian distribution, i.e., the values for a few patients differ significantly from the other results. The results of the UBI index for the non-dominant limb for four out of 20 patients exceed a value of 300, including two patients exceeding a value of 500. These results indicate a large deviation of the movement pattern from the pattern obtained for the healthy group ( Figure 5).

Discussion
Despite dynamic development of measurement systems and techniques for the evaluation of the movement of human motor organs, assessment of upper limb motion dysfunctions is still dependent on medical scales and subjective tests. However, the use of indicators as a method of motion assessment has gained much interest in the research community over the last 20 years [14,15,[17][18][19][20][21][22][23][24][25][26][27]. Indeed, the development of such indicators has been concurrent with technological advances in the equipment used for capturing kinematics. Ultimately, researchers are aiming to develop a universal indicator that could be used in the assessment of motion pathology for a range of diseases and disorders. Many studies have been conducted into the application of indicators for the evaluation of gait pathology, and some of the most popular indexes, such as GGI, GDI and GPS, have been verified by many research centres [24][25][26][27]. Unfortunately, indicators for upper limb pathology have not gained the same level of attention, however there has been some attention on this issue from the research community. Indeed, the first upper limb indicator, the APS, was developed by Jaspers E. et al. [15] in 2011. Since then, three additional indicators have been defined, namely, PULMI [17,22,23] GULDI and UMDI [18]. All of these upper body indicators were designed based on the same mathematical algorithm used for gait assessment, the GDI [24]. However, it is proposed that the mathematical algorithm of the GGI gait evaluation indicator [25], would be more suitable for development of an indicator for upper limb pathology. Nonetheless, the main challenge of using this algorithm is the appropriate selection of input parameters. With this in mind, this work aimed to develop methodology for optimal parameter selection in order to create a new UBI indicator for evaluation of upper limb motion pathology.
Here, a complex approach to parameter selection was proposed, based on the concept that input parameters should include variables that best differentiate the results obtained in the stroke patient group from those obtained for the reference group. To achieve this, three selection methods were developed that took into account the percentage distribution of parameters beyond the standard (M1), the differences in mean values between the reference group and stroke patient group (M2), and the variability of parameters (M3). This approach revealed the diversity of particular parameters in the reference group and the group of patients with upper limb motor dysfunctions.
In previous studies of indicator development, the methods used for parameter selection were not clearly defined and they were often proposed by the researchers or physicians with reference to a particular group of patients. Indeed, parameter selection for the development of the GGI indicator was tailored to a group of children with cerebral palsy [25][26][27][28]. Though subsequent research has demonstrated that the GGI indicator could be used in the evaluation of gait in other patient groups [29]. Our approach consisted of a complex method of input parameter selection for the purposes of the development of a new indicator, through consultation with physicians and physiotherapists.
Development of the new UBI indicator was achieved through identification of 2 temporal parameters and 14 kinematic parameters, which included minimum and maximum angles of the upper limb joints, motion ranges of the joints and spine movement (Table 9). These parameters assessed motion in the shoulder and elbow joints, in all possible planes, as well as movement of the spine. Furthermore, the selected parameters also encompassed the maximum angle of spine anteversion and rotation of the whole spine and the thoracic region. Inclusion of parameters connected with motion of the spine made it possible to detect movements compensating for limb paresis. Indeed, none of the previously developed indicators of upper limb motion evaluation took spine movement, or movement duration, into consideration when selecting algorithm input parameters [14,15,17,18,22,23].
Development of the APS indicator was achieved solely on the evaluation of upper limbs during gait, whereas the UBI indicator developed made use of 4 parameters describing the movement of flexion-extension and adduction-abduction in the upper limb joints [15]. However, the indicators based on the algorithm of the GDI index, such as PULMI, GULDI, UMDI, did take into consideration alterations in the course of kinematic parameters of motion in the upper limb joints [17,18,22,23,30].
Following selection of input parameters for the new UBI indicator, the values for all participants from the reference and the stroke patient groups were computed. This demonstrated that the UBI indicator was able to detect deviations in the stroke patients, from the reference, in the performed movements. Indeed, UBI values obtained from analysis of the stroke patients were much higher than those obtained from the reference group (Figures 4 and 5).
There were a number of limitations to this work, which had a relatively small sample size and was limited to the inclusion of patients who had suffered an ischaemic stroke. The two groups (reference group and patients) were not age-matched. It is well-known that motor performance decrease with age, so the author cannot exclude that the observed differences in the UBI values between the two groups are consequences of the differences in age instead of stroke. Furthermore, the development of the UBI indicator was conducted under the conditions of a single task, drinking from a mug. Moreover, the results of the UBI index have been presented on the same groups of people used to select the 16 parameters. The 16 parameters were selected with a procedure aimed at fostering the separability between the two groups. So, future research should focus on evaluating UBI on a different and bigger population.

Conclusions
This article presented a method for selection of input parameters, which were then used in the development of a new upper limb motion pathology indicator, based on a PCA algorithm. Input data of the UBI indicator included temporal and kinematic parameters, involving minimum and maximum angles of the upper limb joints, motion ranges in the joints and parameters related to the movement of the spine. Furthermore, the new UBI indicator made it possible to detect deviations in movements of the analysed activity from the adopted standard. Therefore, the proposed UBI indicator may find its application in the analysis of any motion sequences performed by the upper limb.

Directions for Future Research
Future studies will look to expand the size of the patient cohort and to include participants with motor dysfunction arising from a wider range of disease and injury. The development of the UBI indicator was conducted under the conditions of a single task, drinking from a mug. Undoubtedly, similar investigations should be carried out for other manipulative activities of upper limbs.
Further research should also seek to conduct sensitivity analysis of changes to the proposed indicator values throughout the course of treatment and rehabilitation. Meanwhile, the indicator values should be correlated with other indexes of upper limb motion evaluation or medical scales and tests. Finally, future research should focus on selecting motion sequences that allow for the evaluation of patient's motor dysfunctions in clinical assessment and the evaluation attempt with the UBI indicator.