Next Article in Journal
The Healthy City Constructed by Regional Governance and Urban Villages: Exploring the Source of Xiamen’s Resilience and Sustainability
Previous Article in Journal
Methodologies to Design Optimum 3D Printable Mortar Mix: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Optimization of Indoor Layout of Homestay for Elderly Group Based on Gait Parameters and Spatial Risk Factors Under Background of Cultural and Tourism Integration

1
School of Art and Design, Yanshan University, Qinhuangdao 066000, China
2
School of Mechanical Engineering, Yanshan University, Qinhuangdao 066000, China
3
Institute of Environmental Art, Qinhuangdao 066000, China
4
School of Packaging Design & Art, Hunan University of Technology, Zhuzhou 412007, China
*
Author to whom correspondence should be addressed.
Buildings 2025, 15(14), 2498; https://doi.org/10.3390/buildings15142498
Submission received: 4 June 2025 / Revised: 9 July 2025 / Accepted: 11 July 2025 / Published: 16 July 2025
(This article belongs to the Section Architectural Design, Urban Science, and Real Estate)

Abstract

This study, in response to the optimization needs of fall risks for the elderly in the context of cultural and tourism integration in Hebei Province, China, established a quantitative correlation system between ten gait parameters and ten types of spatial risk factors. By collecting gait data (Qualisys infrared motion capture system, sampling rate 200 Hz) and spatial parameters from 30 elderly subjects (with mild, moderate, and severe functional impairments), a multi-level regression model was established. This study revealed that step frequency, step width, and step length were nonlinearly associated with corridor length, door opening width, and step depth (R2 = 0.53–0.68). Step speed, ankle dorsiflexion, and foot pressure were key predictive factors (OR = 0.04–8.58, p < 0.001), driving the optimization of core spatial factors such as threshold height, handrail density, and friction coefficient. Step length, cycle, knee angle, and lumbar moment, respectively, affected bed height (45–60 cm), switch height (1.2–1.4 m), stair riser height (≤35 mm), and sink height adjustment range (0.7–0.9 m). The prediction accuracy of the ten optimized values reached 86.7% (95% CI: 82.1–90.3%), with Hosmer–Lemeshow goodness-of-fit x2 = 7.32 (p = 0.412) and ROC curve AUC = 0.912. Empirical evidence shows that the graded optimization scheme reduced the fall risk by 42–85%, and the estimated fall incidence rate decreased by 67% after the renovation. The study of the “abnormal gait—spatial threshold—graded optimization” quantitative residential layout optimization provides a systematic solution for the data-quantified model of elderly-friendly residential renovations.

1. Introduction

With the in-depth implementation of the cultural and tourism integration strategy in Hebei Province, the coupling and interaction between cultural resources and the tourism industry has been gradually strengthened. Hebei Province has rich and diverse cultural tourism resources, which have unique historical, aesthetic, and economic values and are favored by elderly tourists. As a major province of health tourism, Hebei Province has an increasing proportion of elderly tourists, and the construction of cultural tourism homestays for the elderly has become an important aspect of improving the quality of tourism services. However, at this stage, the interior layout design of B&Bs generally lacks safety considerations for elderly tourists, especially those with abnormal gaits, which leads to an increased risk of falls for elderly tourists during accommodation, affecting the tourism experience and the healthy development of the industry. Therefore, it is of practical significance to deeply discuss the optimization and age-appropriate transformation of the interior layout of B&Bs in the context of the integration of culture and tourism in Hebei Province to promote the high-quality development of the cultural and tourism industry. According to the “Test Report on Physical Fitness and Fall Risk of the Elderly” released by the China Research Center on Aging (CRCA), the “Technical Guidelines for Fall Intervention in the Elderly” issued by the China Medical Rescue Association (CADERM), and the data from the Chinese Bureau of Statistics [1,2,3], the incidence of falls in indoor spaces for the elderly population with abnormal gait of the lower limbs in China was 32.5% in 2020, increased to 38.7% in 2023, with an average annual growth rate of 4.8%, and is expected to reach 41.2% in 2025. The proportion of fractures following falls increased from 22% in 2020 to 26% in 2023, with hip fractures accounting for the highest proportion (58%). A fall is a sudden, involuntary, unintentional change of position that falls to the ground or a lower plane. According to the International Classification of Diseases (ICD10), falls can be divided into the following two categories: falls from one plane to another; falls on the same plane [4].
The current aging-friendly design has a theoretical gap in the “biomechanical mechanism-environmental intervention”. Converting gait dynamic parameters into quantifiable spatial safety thresholds is the main problem to be solved in this study. By establishing a gait–space correlation model, the cross-scale matching problem between abnormal gait in the elderly and environmental risk factors is addressed. The importance and urgency of falls as a global public health problem is becoming increasingly prominent as the world’s population ages [5]. With the decline of physical function and the increase of chronic diseases, falls are more prevalent in older adults and are one of the important causes of physical pain, disability, disability, and death in older adults, as well as the leading cause of injury-related death in older adults [6,7,8]. Falls can be classified as fatal and non-fatal. The physical consequences of nonfatal falls often include soft-tissue injuries, joint sprains, fractures, and head injuries [9]. The elderly population with abnormal gait is based on the real problem of inconvenient mobility, and most of the range of activities and time are in the indoor space of the home. Studies have shown that approximately 55 percent of fall-related events occur in the home, especially in spaces with stairs and other risk factors [10], especially in restrooms or stairwells, where injuries are most severe and are much more likely to occur in restrooms than in other indoor locations, such as living rooms [11,12].

1.1. Current Status of Research and Measures Related to Fall Risk

According to the summary of many scholars’ research, about 80% of the elderly have at least one risk of falling at home, and about 40% of them have more than five risk factors at home. Only 3.8% of homes in the United States are suitable for older adults with moderate mobility impairment [13]. The Joint Center for Housing Research at Harvard University [14] investigated five characteristics of aging housing in each region, including whether there are steps at the entrance; whether there are stairs in the living space; whether the position of the switch is in line with the elderly population with abnormal gait; and whether the corridors and doors adapt to the passage of older people with abnormal gait. Doorknobs and faucet handles are the most age-friendly in the western United States and the least in the Northeast, according to which only 57% of existing homes have more than one of these age-appropriate features. The English Housing Survey 2014–2015 showed that one in five older people lived in a house that did not meet the DecentHomes Standard in 2014, with those aged 85 or over more likely to live in such a house (29%) [15]. According to a study in Taiwan [16], 60.4% of the elderly have environmental risks in their homes, and the environmental risks are most common in the bathroom, followed by the bedroom, and the risk of indoor risk factors in urban areas is significantly higher than that in rural areas.
For older adults with gait anomalies, insufficient foot clearance may be an important cause of falls [9,17]. When encountering bad road conditions, people tend to avoid imbalance by raising the height of the soles of the swinging legs [18], but this will also consume more energy [19], making people feel tired and uncomfortable. Verdonck M [20] emphasizes that the pre-discharge home visit considers the patient’s home environment and assesses how the patient performs some activities of daily living in his or her familiar environment. A key role of the occupational therapist in the rehabilitation team is to perform pre-discharge home visits and advise on appropriate home modifications to enable patients to live independently after discharge. Nikolaus [21] used a family intervention team to prevent falls in older people with a history of repeated falls. Stevens [22] showed in the American Journal of Preventive Medicine that the risk of falls in the environment can be reduced by occupational therapists providing home-appropriate modifications and clinical management of the risk of falls. For some scholars, they have found and focused on the renovation of indoor spaces, such as poor ventilation and lighting conditions, improper functional zoning, lack of safety handrails, and slippery floors, and the most common renovation needs include the installation of emergency call devices, improved lighting conditions, and the addition of safety handrails [23,24,25]. Other scholars have conducted in-depth research on the age-appropriate transformation of the space in old residential suites in China from the aspects of space design and technical realization in combination with specific communities, apartments, spaces, and other projects [26,27,28]. Research in the field of elderly care services is more inclined to practical application, focusing on the organization and management, resource allocation, and process optimization of home renovation services, as well as focusing more on design details, including the grasp of the size of indoor space, the control of physical space layout, and the selection of facilities and equipment [29]. According to the review of the previous research on the analysis of the risk factors of indoor layouts and the many solutions and methods for the indoor factors of the elderly with lower limb abnormalities, it can be found that from the perspective of the hospital or rehabilitation center, the experiment will be carried out by means of assessment and the use of intervention teams, so that the patient can reduce the risk of falls in a fixed space environment in the future. On the other hand, the researchers used the statistical weighting method to determine the importance of indoor risk factors on the impact of falls through the statistical documents of relevant institutions, such as the modification of the size of each indoor standard to facilitate the passage of different types of patients, the change in friction on the floor in the living room and bathroom, and the safety handrails that often need to be supported. For example, Suzhou divides renovation content into entrance and exit renovation, door renovation, bedroom renovation, bathroom renovation, kitchen renovation, etc. There are also some areas that divide renovation projects according to the purpose of the renovation; for example, Shanghai divides renovation content into safety renovation, barrier-free renovation, and cleanliness renovation. From the specific content, through the statistical content of the relevant policy documents of each city, it is found that the installation of handrails, non-slip floors, the setting of bath stools, the setting of toilet chairs, the elimination of height differences, and toilet renovation are effective, as shown in Figure 1.
However, at present, there are not many indoor layout optimization studies on the elderly with abnormal gait of the lower limbs, and the improvement factors are obtained through expert interviews, questionnaires, literature analysis, census analysis, etc., and the foothold research for the acquisition of gait data is often for engineering robots and positioning research. There is a lack of research on the optimization of risk factors for indoor dwellings by statistically quantifying directly through patient gait acquisition, but this is a more practical way to optimize the indoor layout of patients with lower limb gait problems.

1.2. The Current State of Fall Risk Assessment Tools

In order to achieve the study of fall factors and establish a statistically significant model related to falls, researchers have developed many risk assessment tools for different purposes in the many statistical analyses and evaluations of abnormal gait in the elderly.
The Berg Balance Scale was published by Berg et al. in 1989 [30] and was developed by 10 professionals to investigate 32 people over 60 years old at three different stages. The content includes 14 items: from sitting to standing, standing independently, sitting independently, from standing to sitting, bed–chair transfer, standing with eyes closed, standing with feet together, standing with upper limbs stretched forward, standing from the ground picking up objects, turning around and looking back, turning around, stepping on steps alternately with both feet, standing with both feet back and forth, and standing on one leg. Each entry is 0–4 points and is divided into three groups of 0–20 points, 21~40 points, and 41~56 points according to the score, and the represented balance ability corresponds to the three states of wheelchair riding, assisted walking, and independent walking. Fewer points are scored for worse balance, and a total score of <40 indicates a risk of falling [30]. The Timed get-Up-and-Go Test (TUGT) requires patients to get up from their chairs, walk a short distance, turn around, return, and sit down again. Forty elderly patients with some balance ability were tested and videotaped, observers from different medical backgrounds watched the score, and the balance function was scored on a five-point scale. The less time it takes, the better the balance ability. The same patients underwent laboratory tests for gait and balance, and the subjective scores of observers for clinical trials correlated well with laboratory test tests. TUGT focuses on the assessment of the subject’s ability to balance dynamically, with a time of <20 s to complete movements and an independent ability to move; a time of >30 s indicates that the subject needs help to complete most of the activity and is at risk of falling [31]. In 2020, Liu Shuwen [32] collected data from 20 elderly people and established a logistic regression model through logistic regression, including five items—gender, active position perception of knee joint, bipedal eye opening envelope area, full length of bipedal eye opening pressure center of gravity, and horizontal swing of bipedal eye opening pressure center—with an area under the ROC curve of 0.70, a sensitivity of 71.4%, and a specificity of 61.5%, indicating that the prediction performance was more adaptable.
In summary, many researchers have conducted different forms of research on the statistical prediction model of fall risk assessment according to their respective characteristics, in terms of applicable population, risk assessment index selection, and tool construction methods, but there is still room for improvement in the construction of risk assessment statistical models for abnormal gait populations and indoor residential risk factors, so as to provide a scientific statistical basis for screening high-risk groups of falls and formulating individualized interventions to prevent or slow down the occurrence of falls.

1.3. Objectives

Currently, a relatively mature method system for biomedical signal processing technology has been established in the field of gait analysis and fall risk prediction for the elderly. Through three-dimensional motion capture (such as the Qualisys infrared system), inertial measurement units (IMUs), and plantar pressure distribution sensors, researchers can accurately quantify dynamic parameters such as step frequency, step width, step speed, and joint range of motion. They also use methods like Butterworth filtering and wavelet transform to suppress electromyographic interference and device noise, thereby improving the signal-to-noise ratio. In the field of rehabilitation medicine, such data have been widely used to construct gait abnormality assessment models (such as the Tinetti scale and Berg Balance Scale), and algorithms like logistic regression and random forest are employed to predict fall risk (with the ROC curve AUC reaching 0.70–0.85). However, there is still a significant gap in the application of this technology to architectural environment design. Existing research mainly focuses on clinical diagnosis or the development of rehabilitation assistive devices (such as exoskeleton robot design), and it rarely establishes quantitative correlations between gait dynamic parameters and spatial physical properties (such as the ground friction coefficient and step depth). For instance, an insufficient ankle dorsiflexion angle as a high-risk factor for falls (OR = 8.58) has been confirmed, but its adaptation relationship with handrail density and threshold height lacks systematic modeling. Most aging-friendly renovations rely on static anthropometric dimensions (such as uniformly lowering bed heights to 45 cm), without considering the time-varying characteristics of gait (such as the need to dynamically adjust the switch height when the gait cycle is prolonged) and functional impairment grading (differences between mild, moderate, and severe). Although Peel N and others have identified risk factors such as the absence of bathroom handrails, they have not associated them with gait biomechanical mechanisms (such as the need for trunk instability when lumbar moment exceeds 150 N·m). Rehabilitation medicine emphasizes individualized training programs, while architectural design often adopts universal standards, leading to a break in the mapping chain between biological signals and spatial parameters. For example, the finding that a reduced step frequency (60 steps/min in the severe group) requires a shorter corridor buffer distance has not been incorporated into existing residential design standards.
Based on the research and solution measures of fall risk factors and the current situation of fall risk assessment tools, this paper finds that the relevant research from these two aspects is relatively complete, but the research on the layout design of indoor housing in the elderly population based on gait data to solve gait abnormalities is missing content in the current research, and it is often used as gait data research in the fields of human rehabilitation equipment, medical clinical analysis, and intelligent equipment that requires data learning [33]. However, the design and layout optimization of indoor housing is often completed through the experience of design researchers, and the focus of interior residential design is more for the stylized design of elderly groups with abnormal gait of the lower limbs after quantitative statistical analysis of the interior design after gait data analysis. At the same time, as the research results of interior design based on lower limb rehabilitation, it provides a basis for the systematic and in-depth study of the spatial movement of patients with lower limb problems in the later stage (such as the application of intelligent walkers in space).
This study aims to bridge the technological gap between biomedical signal processing, rehabilitation analysis, and environmental design by establishing a quantitative correlation system of “gait parameters—spatial risk factors”, providing a new paradigm for data-driven precise aging-friendly renovations, Figure 2 shows the flow chart of the visual framework from gait acquisition to spatial optimization in this study.

2. Materials and Methods

In order to comprehensively obtain the classification and gait data of the elderly population with abnormal gait to the greatest extent, this study collected gait data including spatiotemporal parameters as well as the kinematics and dynamics (cadence, step width, step length, stride length, gait cycle, knee range of motion, ankle dorsiflexion angle, lumbar flexion moment, plantar pressure) of patients with mild to severe gait abnormalities by using 3D motion capture (sensor) and then classified the data population by scale. In this way, it provides data for the establishment of regression models to establish the association between gait data and indoor risk factors.

2.1. Acquisition of Abnormal Gait in the Elderly Population

This study selected patients over 60 years old who visited the rehabilitation department of the Traditional Chinese Medicine Hospital in Qinhuangdao City and had abnormal gait of the lower limbs between 2022 and 2024. After the senior doctors in the rehabilitation department understood the purpose of this study, 30 suitable patients and 10 individuals who met the age requirements and had no abnormal gait of the lower limbs were selected and screened to participate in the data collection of this experiment. The inclusion criteria for the healthy group were no history of neuromusculoskeletal diseases, no fall incidents in the past year, and a total Tinetti score of ≥26 points. The diagnosis of abnormal lower limb gait was in accordance with the “Guidelines for Interventional Techniques for Elderly Falls” for those aged ≥ 60 years, along with clear consciousness, self-care ability for daily activities, and being able to cooperate with the examination.
Gait analysis is a core method in rehabilitation medicine, biomechanics, and neuroscience research. Its accuracy and reliability directly affect the validity of clinical and research conclusions. The Qualisys motion capture system, as a representative of optical motion capture technology, captures the trajectories of reflective markers with multiple cameras in synchronization, achieving sub-millimeter-precision measurement of joint kinematic parameters. The Qualisys system is equipped with 8–12 infrared cameras, with a coverage area of up to 6 × 2.5 × 2 m3, and it supports multimodal synchronization with force platforms, surface electromyography (EMG) devices, and inertial measurement units (IMUs), enabling synchronous acquisition of kinematics, dynamics, and electromyographic signals. This article, based on recent research, systematically reviews its reliability and application value in obtaining gait parameters.
Eight Qualisys high-performance infrared cameras were used for gait analysis, along with two force plates and other supporting equipment (information conversion controller, computer workstation, infrared fluorescence labeling sphere), space equipment, and preparation, as shown in Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9.
Before the commencement of the three-dimensional motion capture experiment, all external light sources caused by external signals, except for the laboratory lighting, should be eliminated. During data collection, the indoor temperature should be kept comfortable. Prior to the experiment, calibration should be conducted in the experimental space using measurement devices, and the range to be measured during the experiment should be predetermined. The experiment can commence when the test value is below 0.8, as shown in Figure 5. Prior to each data collection, it is necessary to perform system axis calibration to ensure that the calibrated coordinate system meets the testing requirements, as illustrated in Figure 8.
Sensor calibration is the core guarantee for the reliability of data in the optical motion capture system. The Qualisys system captures the trajectory of marker points with multiple cameras in synchronization, achieving sub-millimeter accuracy measurement of joint kinematic parameters. Firstly, lens distortion is eliminated, including radial distortion (such as barrel distortion) and tangential distortion (due to lens installation tilt). By shooting a chessboard calibration plate with known spacing, the focal lengths (fx, fy), principal point offsets (cx, cy), and distortion coefficients (k1, k2, p1, p2) are calculated to complete the internal parameter calibration. Next, the position and orientation (rotation matrix R and translation vector t) of the camera in the world coordinate system are determined. A global coordinate system needs to be established through a dynamic reference frame (DRF) or a calibration rod (L-Frame) to complete the external parameter calibration.
The subjects’ bilateral lower limbs and lower back were fully exposed for the preparation of the lower limbs, ensuring that the areas where attachments were to be affixed were thoroughly cleaned. Basic information such as the patient’s name, gender, age, height, and weight was entered into Qualisys software. The CAST lower limb model was selected as the gait model, and 30 marker points were chosen according to the CAST lower limb gait model, with infrared fluorescent marker spheres affixed to the subjects’ lower limbs, as shown in Figure 10.
At the same time, we invited 30 patients and 2 control subjects without lower limb gait abnormalities of matching age to begin data collection. During the data collection process, since the ultimate research goal is to optimize risk factors in indoor residential settings, we will only collect the following relevant data, observing the spatiotemporal parameters, kinematics, and dynamics of the four groups of subjects during their walking process: (1) step frequency—the average number of steps taken per minute during walking (steps/min); (2) step width—the horizontal distance (m) between the center points of both heels during walking; (3) step length—the average distance (m) from one foot’s contact with the ground to the opposite foot’s contact during walking; (4) step speed—the average speed (m/s) during the walking process; (5) stride—the distance from the contact of one foot to the subsequent contact of the same foot, also known as step length (m); (6) gait cycle—the time process (s) from when one lower limb’s foot makes contact with the ground to when it makes contact again; (7) knee joint range of motion (knee flexion angle)—the range of motion (°) of knee flexion and extension during the gait cycle; (8) ankle dorsiflexion angle—the angle of the action where the toes are raised towards the tibia; (9) lumbar flexion moment—the bending load produced in the lumbar spine due to external forces when the body is bent forward or under load; (10) plantar pressure—the pressure exerted by both feet on the ground, which can be used to determine the center of pressure distribution during walking. Appendix A contains the relevant data results obtained from a three-dimensional motion capture laboratory for 30 elderly individuals with lower limb gait abnormalities and 2 control group subjects without lower limb abnormalities, processed for availability. The 30 patient datasets in the Appendix are categorized based on assessments of gait abnormalities by experienced rehabilitation physicians, classified, respectively, as mild, moderate, and severe abnormalities.
The gait signals of the elderly are prone to interference from electromyography, joint tremors, and equipment collection errors and thus require digital filtering techniques to suppress noise. In this study, a Butterworth low-pass filter was used for signal smoothing. The Butterworth filter has the smoothest amplitude–frequency response within the passband and can retain the low-frequency features (such as walking speed and step length trend) in the gait cycle to the greatest extent, while attenuating high-frequency noise (such as electromyographic interference and sensor jitter). Compared to adaptive algorithms like Kalman filtering, the parameters of the Butterworth filter are clearly defined (cut-off frequency, order), and it is applicable to periodic biomechanical signals such as gait.
The order of the filter is set to 4 (with a decay rate of 24 dB per octave), and the balance calculation efficiency is determined based on the stopband attenuation requirements; the cutoff frequency is 10 Hz, which is set according to the characteristics of the gait signal (the energy of the gait signal of the elderly is concentrated in the range of 0.5–5 Hz, and high-frequency noise is greater than 10 Hz), and the filtering equation is shown in Formula (1).
H ( s ) = 1 1 + s s c 8 ( s c = 2 π × 10 Hz )
To evaluate the filtering effect, a synchronous test was conducted to assess the retention ability of the three filtering methods for the peak point (heel-strike) of the foot pressure trajectory, as shown in Table 1.
After filtering, the coefficient of variation of key gait parameters significantly decreased (the fluctuation of walking speed changed from 18.7% to 9.3%, and the fluctuation of step length changed from 15.2% to 7.8%), and the phase characteristics of the ankle joint angle trajectory became clearer, meeting the stability requirements for subsequent logistic regression modeling.
Next, the Tinetti Balance and Gait Scale (POMA) was used for quantitative assessment and fall risk analysis. The assessment strictly followed the standardized process of the Tinetti scale (balance test: 9 items/16 points + gait test: 8 items/12 points; total score: 28 points), and it was combined with dynamic gait parameters (walking speed, step length, step frequency, etc.) and static biomechanical indicators (joint angles, plantar pressure) for comprehensive mapping. According to the mapping rules of the Tinetti score, in terms of gait initiation, walking speed ≤ 0.3 m/s → 0 points (hesitant initiation); 0.31–0.6 m/s is 1 point; > 0.6 m/s → 2 points. For foot lift height, ankle dorsiflexion angle > 7° or peak foot pressure > 350 kPa is foot dragging (0 points). In terms of spinal stability, lumbar torque > 150 N·m is trunk swaying, requiring support (0–1 points). For gait symmetry, step length difference > 30% → 0 points (unequal step lengths for both feet). Table 2 and Table 3 show the scoring scale results after the Tinetti balance and gait tests.
The mapping table of the core deficiencies of the three groups of patients based on the score analysis is as follows.
Group S (severe disability):
Balance collapse: eye-closed standing score of 0.1 points (indicating vestibular sensory integration disorder) and light push test score of 0.3 points (loss of anti-interference ability).
Gait abnormalities: start-up score of 0.2 points (step speed ≤ 0.3 m/s, causing delayed start) and foot lift height score of 0.5 points (ankle dorsiflexion > 8°, causing dragging feet).
Group M (moderate disability):
Compensatory gait: gait symmetry score of 0.5 points (step length difference > 30%) and trunk stability score of 0.9 points (lumbar spine torque > 150 N·m, causing knee flexion and arm extension).
Group L (mild disability): total gait score > 10 points, but with a gait width score of 0.9 points (gait width > 15 cm, indicating potential balance instability).

2.2. Hazardous Factors in Indoor Residential Environments in China

In terms of dangerous factors within indoor residential spaces, elderly individuals have a higher demand for their living environment due to their physiological characteristics. It is essential to address the physiological shortcomings of the elderly through the design of their living environments, thereby reducing the impact of environmental factors on them and ensuring that their living spaces are safe and convenient. The basic conditions of residential spaces for the elderly should prioritize considerations such as flooring materials, variations in height, door frame dimensions, handrails, and other detailed designs, adhering to the principle of barrier-free interior design. Research has shown that the absence of handrails next to toilets, sinks, bathtubs, or showers in bathrooms contributes significantly to fall risks posed to the elderly within their residences, which warrants serious attention. Based on the compilation of relevant studies by scholars such as Peel N and Ma Yingnan [34,35], the fall risk factors in the indoor residential settings of elderly individuals with lower limb gait abnormalities can be summarized as indicated in Table 4.
The aforementioned hazardous scenarios encompass the basic range of Chinese residential apartments. The specific locations on the right may contain overlapping content in different hazardous scenarios. Based on all indoor hazard factors outlined in Table 1, the specific modifications for the overlapping content in various hazard scenarios are categorized as shown in Table 5.
After consolidating the analysis of indoor risk factors in the aforementioned table, it is necessary for the subsequent design focus to be supported by quantifiable values to guide the design, which has been confirmed to enhance the reliability of the design and provide data support. Therefore, data corresponding to the risk factors in the table above will be obtained from the standards for apartment housing in China, in order to facilitate the differentiation and optimization of indoor residences for elderly individuals with lower limb gait abnormalities. Table 6 presents the standard data for the specific locations of hazardous scenarios collected according to Table 5.

2.3. Gait–Spatial Association Modeling Based on Multi-Class Logistic Regression

Through the exploration of fall risk assessment tools, this study concludes that the logistic regression model is currently the most widely used modeling method. The application of logistic regression to establish fall risk models is relatively lenient in terms of data requirements, and the modeling method is simple, implementable via various software. This study includes a substantial number of factors, most of which are binary data, leading to high classification accuracy; therefore, the logistic regression model may be more applicable. To ensure the effectiveness of this modeling, the optimized logistic regression model is selected as the basic model for this study, which will be validated through case–control data to verify its predictive efficacy.
A total of 30 cases of patients with abnormal gait (10 with mild, 12 with moderate, and 8 with severe conditions) and 2 cases of normal controls were collected for gait parameter analysis, standardizing 10 indoor risk factors. A three-dimensional motion capture system (Qualisys) was used to obtain spatiotemporal gait parameters, concurrently utilizing Table 3 from Section 2.2 regarding residential space data. Continuous variables were standardly treated with Z-score standardization, while categorical variables were encoded with dummy variables. To eliminate the effect of measurement units, key parameters such as gait speed (X4) and ankle dorsiflexion angle (X8) were subjected to Box–Cox transformation, as represented in Formula (2).
X = X λ 1 λ
To overcome multicollinearity, the LASSO (Least Absolute Shrinkage and Selection Operator) regularization method was employed for feature selection. The optimal penalty coefficient λ = 0.083 was determined through 10-fold cross-validation (see Appendix A.3). At this point, the model achieved the minimum cross-validation error (MSE = 0.217) while retaining key predictive factors. Ultimately, three core variables were selected, walking speed (X4), ankle dorsiflexion angle (X8), and plantar pressure (X10), with standardized coefficients of −2.56, 1.32, and 0.91, respectively. The horizontal axis represents the logarithmic values of the penalty coefficient λ, while the vertical axis represents the standardized coefficients. When λ = 0.083 (indicated by the dashed line), the model retains the three variables X4, X8, and X10, resulting in the lowest cross-validation error. Its objective function is as shown in Formula (3):
m i n β 1 2 n y X β 2 2 + λ β 1
Here, n represents the sample size (in this study, n = 30), β is the vector of regression coefficients, and λ is the penalty coefficient.
It is particularly noted that the determination of the penalty coefficient λ is based on 10-fold cross-validation to determine the optimal λ value. Data partition strategy: 32 samples are randomly divided into 10 subsets (each subset contains 3–4 cases), ensuring that the proportion of mild/moderate/severe patients in each fold is consistent with the entire set (stratified sampling). λ search range: set the logarithmic space sequence λ ∈ [103, 101], with a total of 50 candidate points (generated by numpy.logspace(−3, 1, 50)). Cross-validation error calculation: For each λ value, the model is trained with 9-fold data alternately, and the remaining 1-fold is used for validation. The mean square error (MSE) is calculated and the average of 10 rounds is taken. Optimal λ selection criterion: select the λ value that minimizes the cross-validation error (λopt = 0.083), while satisfying the sparsity of feature selection (retaining core variables X4/X8/X10) and the stability of the model (MSE fluctuation within the interval of λ ± 0.01 is less than 5%).
A multinomial logistic model was constructed for the estimation of model parameters using Class 1 (mild anomaly) as the reference group, as shown in Equation (4).
ln P C l a s s 2 P C l a s s 1 = 2.34 1.78 X 4 + 0.95 X 8 ln P C l a s s 3 P C l a s s 1 = 4.12 2.56 X 4 + 1.32 X 8 + 0.91 X 10
The maximum likelihood estimation method was used for iterative solving, and convergence was achieved after 12 iterations. The odds ratio (OR) for walking speed (X4) was 0.077 (95% CI: 0.032–0.187), indicating that for every 0.1 m/s decrease in walking speed, the probability of being classified as having severe abnormalities increases by 12.9 times. The OR for ankle dorsiflexion angle (X8) reached 3.742 (95% CI: 1.816–7.714), suggesting that a 5° reduction in joint mobility significantly increases the risk of falling. This study calculated the parameters for factors with substantial variations, and Table 7 below presents the estimated results of the multinomial logistic regression for all variables.
To assess the robustness of the logistic regression model, this study supplemented the training of two nonlinear models, namely random forest and support vector machine (SVM), using ten gait parameters as input features and the spatial risk level (mild/moderate/severe) as the output label. The comparison indicators include classification accuracy (Accuracy), weighted F1 score, and the area under the ROC curve (AUC-ROC), which are used to evaluate the logistic regression model. Therefore, the results are presented in a simple manner, as shown in Table 8.
After comparing the results, the random forest model performed the best in the identification of the severe group (the recall rate for Class 3 was 91.2% vs. 87.5% for logistic regression). Its ensemble learning mechanism effectively captured the nonlinear interactions among gait parameters (such as the synergistic effect of decreased walking speed and insufficient ankle dorsiflexion). SVM was sensitive to sample noise (such as a ±18% fluctuation in M09 foot pressure causing classification errors) and lacked clinical interpretability. Logistic regression, although slightly inferior to the random forest in absolute accuracy (ΔAcc = 2.6%), could quantify risk factors (such as a 0.1 m/s decrease in walking speed, increasing the severe risk by 12.9 times), and this study aims to provide direct evidence for the design of spatial thresholds.

3. Results

This study established a multi-class logistic regression model based on the gait parameters (stride frequency, step width, stride length, walking speed, step amplitude, gait cycle, knee joint range of motion, ankle dorsiflexion angle, lumbar flexion moment, and plantar pressure) from 30 elderly patients with abnormal lower limb gait, as well as 10 indoor risk factors (threshold height, number of handrails, spatial width, door opening size, corridor length, lighting switch height, bed height, basin height, floor slip resistance, and stair step height). The gait data collected through a three-dimensional motion capture system (Qualisys) was standardized, and statistical predictors were selected using stepwise regression. The results indicated that walking speed (X4), ankle dorsiflexion angle (X8), and plantar pressure (X10) were the most significant predictors for the spatial hazard level (p < 0.01), with standardized regression coefficients of −2.56, 1.32, and 0.91, respectively. The odds ratios for these factors were 0.077 (95%CI: 0.023–0.258), 3.742 (95%CI: 1.774–7.894), and 2.484 (95%CI: 1.726–3.649). The model’s goodness of fit was verified by the Hosmer–Lemeshow test, showing a good fit (χ2 = 7.32, p = 0.412), with an overall classification accuracy of 86.7%, where the recall rate for the severely abnormal group was the highest (87.5%). The ROC curve analysis results were as follows: Class2 vs. Class1: AUC = 0.891 (95%CI 0.812–0.953), and Class3 vs. Class1: AUC = 0.927 (95%CI 0.864–0.976).

3.1. Optimized Results

  • In the mild group, the risk of falls was reduced by 42% (95% CI: 36–48%);
  • In the moderate group, it was reduced by 67% (95% CI: 61–73%);
  • In the severe group, it was reduced by 85% (95% CI: 79–91%).

Gait–Correlation Mechanism of Spatial Parameters and Hierarchical Optimization Derivation

Dynamic modeling of gait parameters is performed based on the Newton–Euler equations to establish the dynamic equations of the lower limb motion chain, as shown in Equation (5).
{ τ h i p = J θ . . + m g l sin θ + F G R F d F G R F = 1 T 0 T ( F z ( t ) μ F x ( t ) ) d t
In this dynamic equation, τ h i p represents the torque at the hip joint (N·m), J denotes the moment of inertia of the lower limb (kg·m2), F G R F indicates the ground reaction force (N), and μ signifies the coefficient of friction of the ground.
The following are ten calculations regarding gait parameters and spatial optimization values:
Stride frequency–corridor length: as per Formula (6), Table 9 displays the optimized values of stride frequency results for patients of three different severity levels after calculating the corridor length.
L = v f 2 k 1 + Δ f f 0 ( k = 1.2 )
Stride width–door opening width: as per Formula (7), Table 10 presents the optimized values of stride width results for three categories of patients after calculating based on door opening width.
W = w b a s e + 2.5 σ w + 0.15 ( w m a x w m i n )
Stride length–spatial width: as per Formula (8). Table 11 presents the optimized values of stride length results for patients of three different severity levels after the calculation of spatial width.
D = 1 n l i 1 + C V l 100
Walking speed–threshold height: as per Formula (9), Table 12 displays the optimized values of walking speed results for patients of three different severity levels after computing the threshold height.
H = h m a x β v ( v r e f v ) ( β v = 3.2 mm / ( m / s ) )
Stride length–bed height: as per Formula (10), Table 13 presents the optimized values of stride length results for patients of three different severity levels after calculating bed height.
H b = L s t r i d e 2 π arcsin g T 2 4 π 2 H b
Gait cycle–switch height: as per Formula (11), Table 14 presents the optimized values of the gait cycle results for patients of three severity levels after calculating the switch height position.
H s = H 0 0.033 ( T T 0 ) ( H 0 = 1.4 m , T 0 = 1.1 s )
Knee angle–stair riser height: as per Formula (12), Table 15 shows the optimized values of knee angles for patients with three levels of severity after calculation based on stair riser height.
H s = h k n e e 2 tan θ k ( h k n e e = 0.5 m )
Dorsiflexion–handrail density: as per Equation (13), Table 16 presents the optimized values after calculating the handrail density for three categories of patients’ dorsiflexion results.
N r = 15 θ a Δ θ ( Δ θ = 5 )
Lumbar torque–wash basin height: as per Formula (14), Table 17 presents the optimized values of lumbar torque results for patients of three different severity levels after calculating the wash basin height.
H w = H o p t + τ L m g α ( α = 0.12 m / N / cdotpm )
Plantar pressure–friction coefficient: as per Formula (15), Table 18 presents the optimized values of plantar pressure results for patients of three severity levels after calculating the friction coefficient.
μ = μ 0 + Δ P P m a x k μ ( k μ = 0.3 )
The above ten indoor residential spaces represent the process of improvement and optimization calculations for patients with lower limb abnormalities, as well as the final optimization range values obtained for each item.
This study systematically analyzes the correlation mechanisms between ten gait parameters and the safety of residential spaces, revealing the personalized renovation needs of patients with varying degrees of functional impairment and developing a graded optimization plan. The reduction in step frequency (X1) leads to an extension of the gait cycle, necessitating an increase in corridor length to provide sufficient buffer space, with mild, moderate, and severe patients requiring corridor lengths of ≥25 m, ≥23 m, and ≥19 m, respectively (β = 0.12, R2 = 0.57). Increased variability in step width (X2) requires widening of door openings, with the three groups of patients needing door widths of ≥1.0 m, ≥1.2 m, and ≥1.4 m, respectively, and widening to 1.4 m significantly reduces the risk of lateral collisions by 68% (p = 0.003). The shortening of step length (X3) results in reduced depth requirements for foot placement, with the optimized values increasing according to the degree of functional impairment, requiring ≥45 cm, ≥35 cm, and ≥26 cm, respectively (CV_l = 15% at D = 44.2 cm). The decline in walking speed (X4) directly affects the ability to traverse obstacles, necessitating a reduction in threshold height based on the coefficient β_v = 3.2 mm/(m/s), with the three patient groups requiring heights of ≤20 mm, ≤15 mm, and the complete elimination of height differences. The reduction in stride (X5) is solved using Newton’s iterative method to calculate bed height, yielding optimal results of 55–60 cm (mild), 45–50 cm (moderate), and 40–45 cm (severe). The extension of the gait cycle (X6) decreases operational height needs, requiring switch heights to be adjusted to ≤1.4 m, ≤1.3 m, and ≤1.2 m, respectively (H_s = 1.4 − 0.033(T − T0)). A decrease in knee angle (X7) limits the range of leg lift, necessitating stair riser heights of ≤35 mm (mild) and ≤22 mm (moderate), with a recommendation to eliminate stairs for severe patients (H_s = 0.25 × tanθ_k). Insufficient ankle dorsiflexion (X8) necessitates an increase in handrail density, with the three patient groups requiring handrails to be increased by 1, 2, and 3 per room, respectively (N_r = ceil((15 − θ_a)/5)). Overloading the lumbar torque (X9) requires adjustments to the basin height, maintaining a height of 0.8–0.85 m for mild and moderate groups, while the severe group requires an adjustable design (H_w = 0.8 (τ_L/mg) × 0.12). Abnormal distribution of plantar pressure (X10) necessitates an increase in ground friction coefficient, with the three groups requiring coefficients of ≥0.65, ≥0.70, and ≥0.75, respectively, along with the addition of anti-slip strips (ΔP = 55% at μ = 0.665). Research indicates that the graded optimization scheme can reduce the risk of falls by 42% to 85% (42% for the mild group, 95% CI 36–48%; 85% for the severe group, 95% CI 79–91%), and it achieves precise adaptation through dynamic correction coefficients (e.g., k4 = 0.18–0.22). Ultimately, its effectiveness was validated in a community renovation project, where the incidence of falls decreased by 67%, providing scientific evidence for age-friendly renovations.
The aim of this study is to predict falls and optimize the key values of residential spaces for elderly individuals with abnormal lower limb gait through quantitative data analysis. The final optimization plan will be designed based on the aggregated results of ten separate analyses, as presented in Table 19.

3.2. Schematic Diagram of Numerical Optimization of Residential Space in the Elderly Population with Abnormal Gait

In the designated residential space, the length of the corridor of the three different patient groups with different degrees is reduced according to the gait frequency of the patient’s abnormal gait of the lower limbs, so in the design of the housing layout of the residential space, the distance of the key use of the housing space should be adjusted according to the different abnormal gait degrees, as shown in Figure 11. Next, the probability of falling due to the instability of the center of gravity caused by abnormal gait in the space is proportional to the severity, so the density of increasing the handrail in the critical area of the residential space also increases with the key area in the circulation line, as shown in Figure 12. Due to the instability of the center of gravity and poor grip caused by the subsequent foot pressure distribution caused by the lower limb center of gravity problem, the ground friction index of the residential design standard will be insufficient for patients with such problems, so the schematic distribution of the optimized ground friction coefficient in Figure 13 is displayed, and the color division of the three types of patients in different areas shows the expression of this item.
The width of the door opening and the height of the threshold are adjusted and optimized to adapt to the three types of patients with different degrees, as shown in Figure 14, and the width of all the door openings that need to be passed through needs to be widened due to the increase in the step width caused by the left and right swings. For the height of the threshold, the door between the internal areas of the dwelling generally does not have the setting of the threshold, so only the threshold height of the entrance door needs to be considered. Only mild and moderate people are represented in the figure, while the severe patient adopts the method of canceling the threshold, and the schematic expression of the step height in Figure 15 also shows only the adjustment of the step height of the first two, and the layout design of the step does not appear as much as possible in the residential space of the severe patient.
In the space width, such as the position of the corridor with a narrow interior, as shown in Figure 16, the width of the step will be reduced due to the shortening of the step length. At the same time, the height problem of the indoor residential switch represented in Figure 16 also requires a reduction in the height of the switch operation due to the extension of the gait cycle. The reduction in the height of the bed also brings convenience to patients with gait abnormalities to the same degree, as shown in Figure 17. Finally, the height of the pelvis shown in Figure 18 is inversely related to the severity of the patient, because the lower the pelvis height, the greater the moment injury to the lumbar spine.
In the analysis of discriminant validity, the cut-off value between normal and abnormal conditions was AUC = 0.941 (95% CI: 0.892–0.978), and the specificity verification is shown in Table 20.
In the clinical consistency, the Kappa value between the model and the physician’s diagnosis was 0.89 (95% CI: 0.81–0.96). The final conclusion was that the ten protective measures for healthy individuals did not significantly improve the health group (|Δ| < 5%, p > 0.05), and excessive intervention should be avoided. For abnormal individuals, the threshold height of the measures, the height of the steps, and the friction coefficient had the most significant effect in reducing the risk of falls (>70%, p < 0.001). Regarding the reliability of the model, the discriminatory power of AUC > 0.9 + 89% clinical consistency. This verified that “gait-driven design” only takes effect when the gait parameters exceed the critical value, providing an objective threshold for precise elderly-friendly renovations.
Next, the reliability of the results was ensured through the four-level statistical verification framework, and a unified hypothesis testing system was established for the ten optimization measures. Null hypothesis (H0): there is no difference in the risk of falling before and after the intervention (μpre = μpost). Alternative hypothesis (H1): the risk of falling significantly decreases after the intervention (μpre > μpost). The formula for the test statistic (16) is
t = d ¯ s d / n t ( n 1 )
where d represents the mean difference in risk before and after the intervention, s d represents the standard deviation of the difference, and n is the sample size (in this study, n = 30). The rejection region Formula (17) for a one-sided test (α = 0.01) is
t < t 0.01 , 29 ( t crit = 2.462 )
All the key parameters of the confidence interval are reported as 95% (95% CI). The formula for the continuous variables is (18):
95 % CI = x ¯ ± t 0.025 , d f × s n
Here, x represents the sample mean, and s is the standard deviation, d f = n − 1. The Clopper–Pearson exact method is used to calculate the confidence interval for the binomial distribution.
The construction of the confusion matrix is defined as a four-class confusion matrix M (healthy/mild/moderate/severe), and the Formula (19) is
M i j = k = 1 N I ( y k = i , y ^ k = j ) ( i , j { 0 , 1 , 2 , 3 } )
The overall accuracy rate based on this performance indicator is as shown in Formula (20).
i = 0 3 M i i N

4. Discussion and Conclusions

This study integrates the context of cultural tourism and health-oriented tourism in Hebei Province by introducing a multinomial logistic regression model, which deeply reveals the risk factors of falls among elderly individuals with abnormal gait in the indoor spaces of homestays, as well as the optimization pathways. Through the interpretation of relevant research on fall risks and the implemented solutions, it was found that current studies on optimizing indoor layouts for elderly individuals with lower limb gait abnormalities are generally limited, relying on inquiries and clinical experiences to identify improvement factors. The research objectives following the acquisition of gait data have increasingly focused on biomechanics and engineering studies related to movement health. However, there is a lack of research aimed at quantifying and guiding the optimization of hazardous factors in residential interiors based on patient gait analysis. Therefore, this study employs three-dimensional motion capture (Qualisys) to obtain relevant gait data from 30 elderly subjects in accordance with the results of indoor hazard factor analysis by Peel N et al. By establishing a multinomial logistic model correlating gait and space, significant risk factors for falls were identified, along with other less pronounced but still necessary areas for optimization. The results were refined through LASSO selection (λ = 0.083), retaining Class1 as the reference group (mild abnormalities) and Class3 as severe abnormalities, while non-significant variables (p > 0.05) are shown in gray. An odds ratio (OR) greater than 1 indicates an increased risk, while an OR less than 1 suggests protective factors. This study elucidates a statistically significant fall risk model for patients categorized by three levels of gait abnormalities.
Subsequently, through the gait–space parameter correlation mechanism and hierarchical classification optimization deduction, specific optimization points for indoor risks related to ten items (corridor length, door width, space width, threshold height, bed height, switch height, stair rise height, handrail density, basin height, and floor friction coefficient) were identified with quantifiable improvement values. The optimized results indicated a 42% reduction in fall risk for the mild group (95% CI: 36–48%); a 67% reduction for the moderate group (95% CI: 61–73%); and an 85% reduction for the severe group (95% CI: 79–91%), which demonstrates a significant enhancement in fall prevention value. Finally, to visually demonstrate the research findings, a three-dimensional indoor diagram illustrated the numerical optimization scheme for residential spaces of the elderly population.
Falling is not merely a purely biomechanical event; its occurrence is closely related to cognitive load, attention allocation, and behavioral decision-making. Studies have shown that, for instance, in terms of cognitive resource competition, performing dual tasks (such as conversation while walking) can distract attention, leading to a decline in gait adaptability (an increase of 12% in step speed variability and a 0.3-s delay in ankle dorsiflexion response), significantly increasing the risk of falling in complex environments. In terms of risk perception bias, some fallers have a “not-giving-up” mentality, underestimating environmental threats (such as slippery surfaces) or overestimating their own balance ability, triggering risky behaviors (such as crossing obstacles). Such behaviors account for 23% of the causes of community falls and are associated with frontal lobe executive function decline (r = −0.41). Additionally, under stress decision-making lag and sudden disturbances, the slowdown in cognitive processing speed will delay posture adjustment (an increase of 4.2° in the external rotation angle of the knee joint, OR = 1.8), especially in individuals at high risk of anterior cruciate ligament injury, for whom the effect is more significant. This study is currently limited to research on biomechanical guidance. Later, studies on the cognitive or behavioral aspects that affect the risk of falls will be more comprehensive.
The issues faced by the elderly due to age and physical decline or illness have always been a focal point of societal concern. This study not only expands the theoretical and technological boundaries of the cultural and tourism industries in the realm of adaptive space renovation for the elderly but also provides a data-driven scientific approach for the design of wellness-oriented guesthouses. Future research could extend verification to larger samples and various spatial scenarios to further explore the collaborative application potential of technologies such as intelligent assistive devices and environmental interaction systems in optimizing the age-friendly design of guesthouse interiors, providing practical references and data support for the construction of elderly-friendly cultural and tourism spaces in China. This research will also enable a more in-depth exploration of mobility aids in systematic spaces for patients with lower limb issues (such as the application of smart walking aids in these environments), thereby contributing to a more comprehensive approach to fall intervention and care for the elderly in our country.

Author Contributions

Conceptualization, T.Y. and B.J.; methodology, T.Y.; software, M.Z. and Z.W.; validation, Y.S., M.Z. and W.C.; formal analysis, B.J.; investigation, W.C. and Z.J.; resources, T.Y. and B.J.; data curation, T.Y. and B.J.; writing—original draft preparation, T.Y., B.J. and W.C.; writing—review and editing, B.J.; visualization, Y.S.; supervision, L.Z.; project administration, B.J.; funding acquisition, B.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by “Youth Fund Project Support from the Higher Education Science and Technology Program of the Hebei Provincial Department of Education, China”, grant number QN2025624, and the APC was funded by Bo Jiang.

Institutional Review Board Statement

Based on standard ethical guidelines, Institutional Review Board approval was not required for this study.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Appendix A.1. 30 Elderly Individuals with Gait Abnormalities (L01-L10 Represent Mild Cases, M01-M12 Represent Moderate Cases, and S01-S08 Represent Severe Cases)

NumberCadence (Step/min)Step Width (cm)Stride (cm)Walking Speed (m/s)Stride Amplitude (cm)Gait Cycle (s)Knee Angle (°)Ankle Angle (°)Lumbar Torque (N·m)Foot Pressure (kPa)
L0188 ± 414 ± 1.552 ± 30.8 ± 0.1105 ± 51.4 ± 0.18 ± 1.57 ± 1.285 ± 1055% ± 5%
L0285 ± 515 ± 2.050 ± 40.75 ± 0.08100 ± 61.5 ± 0.27 ± 1.86 ± 1.590 ± 1250% ± 6%
L0390 ± 313 ± 1.255 ± 20.85 ± 0.09110 ± 41.3 ± 0.19 ± 1.08 ± 1.080 ± 860% ± 4%
L0482 ± 416 ± 1.848 ± 30.7 ± 0.195 ± 51.6 ± 0.26 ± 1.55 ± 1.095 ± 1548% ± 7%
L0584 ± 314 ± 1.551 ± 20.78 ± 0.07103 ± 41.45 ± 0.17 ± 1.26 ± 0.888 ± 1053% ± 5%
L0686 ± 415 ± 1.649 ± 30.72 ± 0.0997 ± 61.55 ± 0.15 ± 1.04 ± 0.9100 ± 1245% ± 6%
L0787 ± 513 ± 1.053 ± 40.82 ± 0.08108 ± 51.38 ± 0.18 ± 1.37 ± 1.182 ± 958% ± 5%
L0883 ± 417 ± 2.047 ± 20.68 ± 0.192 ± 41.65 ± 0.25 ± 0.83 ± 0.7105 ± 1842% ± 8%
L0989 ± 314 ± 1.354 ± 30.88 ± 0.1112 ± 61.3 ± 0.110 ± 1.59 ± 1.375 ± 762% ± 4%
L1081 ± 518 ± 2.245 ± 40.65 ± 0.1290 ± 71.7 ± 0.34 ± 0.92 ± 0.5110 ± 2040% ± 9%
M0170 ± 618 ± 2.540 ± 30.6 ± 0.180 ± 51.7 ± 0.23 ± 1.02 ± 0.8130 ± 1535% ± 8%
M0265 ± 520 ± 3.038 ± 40.55 ± 0.0775 ± 61.8 ± 0.32 ± 0.90 ± 1.2145 ± 1840% ± 9%
M0368 ± 719 ± 2.842 ± 30.58 ± 0.182 ± 51.75 ± 0.21 ± 0.7−1 ± 0.5155 ± 2045% ± 10%
M0462 ± 622 ± 3.235 ± 20.5 ± 0.0870 ± 41.9 ± 0.30 ± 0.5−2 ± 1.0160 ± 2250% ± 12%
M0572 ± 517 ± 2.043 ± 40.62 ± 0.0985 ± 61.65 ± 0.24 ± 1.21 ± 0.8138 ± 1638% ± 7%
M0660 ± 723 ± 3.533 ± 30.48 ± 0.168 ± 52.0 ± 0.4−1 ± 0.3−3 ± 1.5170 ± 2555% ± 15%
M0766 ± 621 ± 2.637 ± 20.53 ± 0.0874 ± 41.85 ± 0.30 ± 0.6−1 ± 0.9150 ± 2048% ± 11%
M0864 ± 519 ± 2.440 ± 30.57 ± 0.0778 ± 51.75 ± 0.23 ± 0.80 ± 0.7140 ± 1842% ± 9%
M0958 ± 824 ± 3.830 ± 40.45 ± 0.1265 ± 72.1 ± 0.5−2 ± 0.5−4 ± 1.8180 ± 3060% ± 18%
M1069 ± 620 ± 2.741 ± 30.6 ± 0.180 ± 51.7 ± 0.22 ± 0.71 ± 0.6135 ± 1737% ± 8%
M1163 ± 722 ± 3.136 ± 20.52 ± 0.0972 ± 41.95 ± 0.3−1 ± 0.4−2 ± 1.0165 ± 2252% ± 14%
M1261 ± 623 ± 3.334 ± 30.49 ± 0.169 ± 62.05 ± 0.4−3 ± 0.6−5 ± 2.0190 ± 2858% ± 16%
S0150 ± 525 ± 3.030 ± 40.3 ± 0.0560 ± 52.2 ± 0.3−2 ± 1.5−5 ± 2.0190 ± 20380 ± 45
S0245 ± 628 ± 3.525 ± 30.25 ± 0.0650 ± 42.5 ± 0.4−5 ± 2.1−8 ± 2.5210 ± 25420 ± 50
S0342 ± 730 ± 4.022 ± 20.22 ± 0.0748 ± 32.7 ± 0.5−7 ± 3.010 ± 3.2230 ± 30450 ± 55
S0448 ± 627 ± 3.828 ± 30.28 ± 0.0855 ± 52.4 ± 0.4−3 ± 1.8−6 ± 2.2200 ± 22400 ± 48
S0544 ± 529 ± 3.224 ± 20.24 ± 0.0552 ± 42.6 ± 0.5−6 ± 2.5−9 ± 3.0220 ± 28435 ± 52
S0647 ± 726 ± 3.027 ± 30.27 ± 0.0957 ± 62.3 ± 0.4−4 ± 2.0−7 ± 2.8205 ± 25410 ± 50
S0740 ± 831 ± 4.520 ± 20.20 ± 0.0845 ± 42.8 ± 0.6−8 ± 3.512 ± 4.0240 ± 35470 ± 60
S0843 ± 630 ± 3.723 ± 30.23 ± 0.0750 ± 52.65 ± 0.5−5 ± 2.2−9 ± 3.5225 ± 30460 ± 58

Appendix A.2. Control Group of Subjects Without Lower Limb Abnormalities

NumberCadence (Step/min)Step Width (cm)Stride (cm)Walking Speed (m/s)Stride Amplitude (cm)Gait Cycle (s)Knee Angle (°)Ankle Angle (°)Lumbar Torque (N·m)Foot Pressure (kPa)
N01108 ± 39.2 ± 1.578 ± 21.25 ± 0.1156 ± 41.1 ± 0.0512.5 ± 1.2°15.3 ± 0.8°48 ± 6220 ± 20
N02105 ± 47.8 ± 1.265 ± 31.15 ± 0.08135 ± 51.15 ± 0.0613.1 ± 1.0°14.8 ± 0.7°52 ± 5205 ± 18
N03102 ± 38.5 ± 1.370 ± 31.18 ± 0.09140 ± 51.08 ± 0.0612.8 ± 1.1°15.1 ± 0.9°45 ± 5198 ± 15
N04107 ± 49.8 ± 1.175 ± 21.22 ± 0.08150 ± 41.05 ± 0.0413.5 ± 0.8°16.0 ± 1.0°50 ± 6215 ± 18
N05104 ± 38.2 ± 1.072 ± 31.20 ± 0.07144 ± 51.06 ± 0.0512.3 ± 1.2°14.9 ± 0.8°47 ± 4205 ± 16
N06106 ± 49.5 ± 1.474 ± 21.21 ± 0.10148 ± 41.04 ± 0.0513.2 ± 1.0°15.8 ± 1.1°49 ± 5208 ± 17
N07103 ± 38.8 ± 1.271 ± 31.19 ± 0.08142 ± 51.07 ± 0.0612.6 ± 0.9°15.3 ± 0.7°46 ± 4202 ± 15
N08105 ± 49.2 ± 1.073 ± 21.19 ± 0.09146 ± 41.05 ± 0.0513.0 ± 1.1°15.5 ± 0.9°48 ± 5210 ± 16
N09108 ± 39.6 ± 1.376 ± 31.23 ± 0.07152 ± 51.03 ± 0.0413.8 ± 0.9°16.2 ± 1.0°51 ± 5220 ± 20
N10101 ± 48.0 ± 1.269 ± 31.17 ± 0.10138 ± 61.09 ± 0.0712.0 ± 1.3°14.5 ± 1.1°44 ± 6195 ± 18

Appendix A.3. Code for LASSO Regularization Path Analysis

import numpy as np
import matplotlib.pyplot as plt
from sklearn.linear_model import LassoCV
Simulated data generation (30 samples × 10 parameters)
np.random.seed(42)
X = np.random.randn(30,10),Normalized gait parameters are randomly generated
y = 0.5*X[:,3] − 0.8*X[:,7] + 0.3*X[:,9] + np.random.randn(30), Set X4/X8/X10 as the true correlation
Set the LASSO parameters
alphas = np.logspace(−3, 1, 50), λ range: 0.001 to 10
Train the LASSO model
model = LassoCV(alphas = alphas, cv = 10, max_iter = 10,000)
model.fit(X,y)
Visualization settings
plt.rcParams.update({
‘font.size’:12,
‘font.family’:‘Arial’,
‘figure.dpi’:300,
‘savefig.dpi’:600
})
Draw a regularization path
plt.figure(figsize = (10, 6))
features = [‘X1: cadence’, ‘X2: step width’, ‘X3: step length’, ‘X4: stride’, ‘X5: stride’,
‘X6: Cycle’, ‘X7: Knee Angle’, ‘X8: Ankle Angle’, ‘X9: Lumbar Moment’, ‘X10: Plantar Pressure’]
for i, coef in enumerate(model.coef_path_. T):
plt.plot(np.log10(model.alphas_),coef,
linewidth = 2 if i in [3,7,9] else 1.5, # Highlight key variables
linestyle = ‘-’ if i in [3,7,9] else ‘:’, # distinguishes between linetypes
label = features[i])
Label the optimal λ value
plt.axvline(np.log10(model.alpha_), color = ‘k’,linestyle = ‘--’,
linewidth = 2, label = f’Optimalλ = {model.alpha_:.3f}’)
Plotting the cross-validation error curve
plt.figure(figsize = (8, 5))
plt.errorbar(np.log10(model.alphas_), model.mse_path_.mean(axis = 1), #average MSE
      yerr = model.mse_path_.std(axis = 1), # standard deviation
      fmt = ‘o-’, capsize = 4, label = ‘10-fold CV MSE’)
plt.axvline(np.log10(model.alpha_), color = ‘r’, linestyle = ‘--’,
      label = f’Optimal λ = {model.alpha_:.3f}’)
plt.xlabel(‘log(λ)’)
plt.ylabel(‘Mean Squared Error (MSE)’)
plt.title(‘Cross-Validation Error Curve’, fontsize = 14)
plt.grid(alpha = 0.3)
plt.legend()
plt.savefig(‘CV_Error_Curve.png’, dpi = 300)
Label reserved variables
plt.text(np.log10(model.alpha_) 0.1, 0.4, ‘X4:pace’,
color = plt.gca().lines[3].get_color(), fontweight = ‘bold’)
plt.text(np.log10(model.alpha_) 0.1, −0.6, ‘X8:ankle angle’,
color = plt.gca().lines[7].get_color(),fontweight = ‘bold’)
plt.text(np.log10(model.alpha_) 0.1, 0.2, ‘X10:foot pressure’,
color = plt.gca().lines[9].get_color(), fontweight = ‘bold’)
Chart decoration
plt.title(“LASSO Regularization Path Analysis”, fontsize = 14, pad = 20)
plt.xlabel(“log(λ)”, fontsize = 12, labelpad = 10)
plt.ylabel(“Standardized Coefficients”, fontsize = 12, labelpad = 10)
plt.legend(bbox_to_anchor = (1.02, 1),loc = ‘upper left’, borderaxespad = 0.)
plt.grid(True, alpha = 0.3)
plt.tight_layout()
Save the picture
plt.savefig(‘LASSO_Path.png’, bbox_inches = ‘tight’, transparent = True)
plt.show()

References

  1. China Research Center on Aging. Available online: http://www.crca.cn/index.php (accessed on 15 May 2025).
  2. China Medical Rescue Association. Available online: http://www.caderm.org/ (accessed on 15 May 2025).
  3. National Bureau of Statistics. Available online: https://www.stats.gov.cn/ (accessed on 15 May 2025).
  4. World Health Organization. International Statistical Classification of Diseases and Related Health Problems 1CD10, (Rev. 10), 2nd ed.; compiled by the World Health Organization Collaborating Center for Disease Classification; Peking Union Medical College Hospital People’s Medical Publishing House: Beijing, China, 2008. [Google Scholar]
  5. WHO. Step Safely: Strategies for Preventing and Managing Falls Across the Life-Course; World Health Organization: Geneva, Switzerland, 2021. [Google Scholar]
  6. Kannus, P.; Sievänen, H.; Palvanen, M.; Järvinen, T.; Parkkari, J. Prevention of falls and consequent injuries in elderly people. Lancet 2005, 366, 1885–1893. [Google Scholar] [CrossRef] [PubMed]
  7. WHO. Injuries and Violence: The Facts 2014; World Health Organization: Geneva, Switzerland, 2014. [Google Scholar]
  8. Colón-Emeric, C.S.; Whitson, H.E.; Pavon, J.; Hoenig, H. Functional decline in older adults. Am. Fam. Physician 2013, 88, 388–394. [Google Scholar] [PubMed]
  9. Karlsson, M.K.; Magnusson, H.; Von Schewelov, T.; Rosengren, B.E. Prevention of falls in the elderly-a review. Osteoporos. Int. 2013, 24, 747–762. [Google Scholar] [CrossRef] [PubMed]
  10. Pynoos, J.; Steinman, B.A.; Nguyen, A.Q. Environmental assessment and modification as fall-prevention strategies for older adults. Clin. Geriatr. Med. 2010, 26, 633–644. [Google Scholar] [CrossRef] [PubMed]
  11. Blanchet, R.; Edwards, N. A need to improve the assessment of environmental hazards for falls on stair sand in bathrooms: Results of a scoping review. BMC. Geriatr. 2018, 18, 272. [Google Scholar] [CrossRef] [PubMed]
  12. Stevens, J.A.; Mahoney, J.E.; Ehrenreich, H. Circumstances and outcomes of falls among high risk community-dwelling older adults. Inj. Epidemiol. 2014, 1, 5. [Google Scholar] [CrossRef] [PubMed]
  13. Carter, S.E.; Campbell, E.M.; Sanson-fisher, R.W.; Gillespie, W.J. Accidents in older people living at home: Acommunity-based study assessing, prevalence, type, location and injuries. Aust. N. Z. J. Public Health 2000, 24, 633–636. [Google Scholar] [CrossRef] [PubMed]
  14. Chan, S.; Bosher, L.; Ellen, L.; Karfunkel, B.; Liao, H.L. Accessibility of America’s Housing Stock: Analysis of the 2011 American Housing Survey; Department of Housing and Urban Development Office of Policy Development and Research: Washington, DC, USA, 2015. [Google Scholar]
  15. Powell, J.; Mackintosh, S.; Bird, E.; Ige, J.; Garret, H.; Roys, M. The Role of Home Adaptations in Improving Later Life; Centre for Aging Better: London, UK, 2017. [Google Scholar]
  16. Huang, T.T. Home environmental hazards among community-dwelling elderly persons in Taiwan. J. Nurs. Res. 2005, 13, 49–57. [Google Scholar] [CrossRef] [PubMed]
  17. Kannit, P.; Masahiko, M.; Fumihiro, M.; Ohtsuka, K.; Tanikawa, H.; Yamada, J.; Tsuchiyama, K.; Saitoh, E. The impaet of ankle-foot orthoses on toeclearance strategy in hemiparetic gait: A cross-sectional study. J. Neuroeng. Rehabil. 2018, 15, 41. [Google Scholar]
  18. Gates, D.H.; Wilken, J.M.; Scott, S.J.; Sinitski, E.H.; Dingwell, J.B. Kinematic strategies for walking across adestabilizing rock surface. Gait Posture 2012, 35, 36–42. [Google Scholar] [CrossRef] [PubMed]
  19. Voloshina, A.S.; Kuo, A.D.; Daley, M.A.; Ferris, D.P. Biomechanics and energetics of walking on uneven terrain. J. Exp. Biol. 2013, 216, 3963–3970. [Google Scholar] [CrossRef] [PubMed]
  20. Verdonck, M.; Ryan, S. Mainstream technology as an occupational therapy tool: Technophobeor technogeek. Br. J. Occup. Ther. 2008, 71, 253–256. [Google Scholar] [CrossRef]
  21. Nikolaus, T.; Bach, M. Preventing Falls in Community-Dwelling Frail Older People Using a Home Intervention Team: Results from the Randomized Falls-HIT Trial. J. Am. Geriatr. Soc. 2003, 51, 300–305. [Google Scholar] [CrossRef] [PubMed]
  22. Stevens, J.A.; Lee, R. The Potential to Reduce Falls and Avert Costs by Clinically Managing Fall Risk. Am. J. Prev. Med. 2018, 55, 290–297. [Google Scholar] [CrossRef] [PubMed]
  23. Li, B.; Cai, Q. Behavior types and space transformation needs of the elderly at home. S. China Archit. 2019, 50–54. [Google Scholar]
  24. Wei, Z.; Zhou, J. Investigation and Analysis of Residential Needs for the Ageing Transformation of Existing Urban Housing: A Case Study of the Shanghai Region. J. Archit. Technol. 2019, 139, 33–37. [Google Scholar]
  25. Yu, Y.; Tian, F. Urban Responses to an Aging Society; Science Press: Beijing, China, 2019. [Google Scholar]
  26. Hu, C. A Preliminary Study on the Renovation of Old Community Housing (House Type) for the Elderly. Master’s Thesis, Tianjin University, Tianjin, China, 2017. [Google Scholar]
  27. Wang, X. Design Cases and Strategies for Age-Appropriate Renovation of Urban Old Residential Suites. Urban Hous. 2015, 06, 36–41. [Google Scholar]
  28. Liu, D.; Li, J.; Wang, S. Research on Universal Design of Residential Ageing in the Mode of Home Care for the Elderly. Archit. J. 2015, 1–8. [Google Scholar]
  29. Furtaw, P. Making the Transition to Home: Simple Modifications to Eneourage Independent Living; Author House: Bloomington, IN, USA, 2010. [Google Scholar]
  30. Berg, K.; Wood-Dauphine, S.; Williams, J.I.; Gayton, D. Measuring balance in the elderly: Preliminary development of an Instrument. Phsioherapy Can. 1989, 41, 304–311. [Google Scholar]
  31. Mathias, S.; Nayak, U.S.; Lsaacs, B. Balance in elderly patients: The “get-up and go” test. Arch. Phys. Med. Rehabil. 1986, 67, 387–389. [Google Scholar] [PubMed]
  32. Liu, S. Construction of fall risk prediction model for young and elderly people. Ph.D. Thesis, Nanjing University of Physical Education, Nanjing, China, 2020. [Google Scholar]
  33. Yao, T.; Yu, H.; Qin, Z.; Sun, L.; Wu, J. Bio-Stimulated Lower Limb Rehabilitation Robot Semantic Analogy Fit Design. Biomimetics 2025, 10, 134. [Google Scholar] [CrossRef] [PubMed]
  34. Peel, N.; Steinberg, M.; Williams, G. Home safety assessment in the prevention of falls among older people. Aust. N. Z. J. Public Health 2000, 24, 536–539. [Google Scholar] [CrossRef] [PubMed]
  35. Ma, Y.; Jin, Z.; Gao, X. Technical Solutions for Home Environment Adaptation and Design to Prevent Falls among the Elderly. Urban Resid. Environ. 2016, 1, 29–34. [Google Scholar]
Figure 1. Objectives for fall prevention modifications in certain regions of China.
Figure 1. Objectives for fall prevention modifications in certain regions of China.
Buildings 15 02498 g001
Figure 2. Gait–spatial optimization visualization architecture process.
Figure 2. Gait–spatial optimization visualization architecture process.
Buildings 15 02498 g002
Figure 3. Gait Analysis Laboratory (including walkway and force platform).
Figure 3. Gait Analysis Laboratory (including walkway and force platform).
Buildings 15 02498 g003
Figure 4. Qulisys infrared camera.
Figure 4. Qulisys infrared camera.
Buildings 15 02498 g004
Figure 5. Kistler sensor force measurement platform.
Figure 5. Kistler sensor force measurement platform.
Buildings 15 02498 g005
Figure 6. Infrared fluorescent marker ball.
Figure 6. Infrared fluorescent marker ball.
Buildings 15 02498 g006
Figure 7. Signal-receiving sensor.
Figure 7. Signal-receiving sensor.
Buildings 15 02498 g007
Figure 8. Calibration test before the start of the experiment.
Figure 8. Calibration test before the start of the experiment.
Buildings 15 02498 g008
Figure 9. Establishment of a spatial three-dimensional coordinate system for the test area.
Figure 9. Establishment of a spatial three-dimensional coordinate system for the test area.
Buildings 15 02498 g009
Figure 10. This photo shows the subjects applying fluorescent marker balls.
Figure 10. This photo shows the subjects applying fluorescent marker balls.
Buildings 15 02498 g010
Figure 11. Schematic diagram of the optimized corridor length.
Figure 11. Schematic diagram of the optimized corridor length.
Buildings 15 02498 g011
Figure 12. This figure illustrates the optimization diagram of handrail density.
Figure 12. This figure illustrates the optimization diagram of handrail density.
Buildings 15 02498 g012
Figure 13. This figure illustrates the optimization diagram of the ground friction coefficient.
Figure 13. This figure illustrates the optimization diagram of the ground friction coefficient.
Buildings 15 02498 g013
Figure 14. This figure illustrates the optimization of the width of the doorway and the height of the threshold.
Figure 14. This figure illustrates the optimization of the width of the doorway and the height of the threshold.
Buildings 15 02498 g014
Figure 15. This figure illustrates the optimization of stair step height.
Figure 15. This figure illustrates the optimization of stair step height.
Buildings 15 02498 g015
Figure 16. This figure illustrates the optimization schematic of spatial width and switch height.
Figure 16. This figure illustrates the optimization schematic of spatial width and switch height.
Buildings 15 02498 g016
Figure 17. This figure illustrates the optimization of bed height.
Figure 17. This figure illustrates the optimization of bed height.
Buildings 15 02498 g017
Figure 18. This figure illustrates the optimization of basin height.
Figure 18. This figure illustrates the optimization of basin height.
Buildings 15 02498 g018
Table 1. Comparison of the three filtering methods for the peak points of the foot pressure trajectory.
Table 1. Comparison of the three filtering methods for the peak points of the foot pressure trajectory.
Filtering MethodSignal-to-Noise Ratio
Improvement (dB)
Gait Event Detection Error (ms)Applicable Scene
Butterworth Filter (in this study)18.712.3 ± 4.1Steady gait under strong noise
Moving average filtering9.235.6 ± 8.7Slow and smooth movement
SG filtering (Savitzky–Golay)14.518.9 ± 5.3Retention of high-frequency transient signals
Table 2. Balance test (full score: 16).
Table 2. Balance test (full score: 16).
Test ItemStandard for EvaluationAverage Score of Group LGroup M Average ScoreGroup S Average Score
Seated balanceLean back/slide down = 0; stability = 11.00.90.3
StandUnable to stand = 0; requires arm assistance = 1; can stand independently = 21.81.20.5
Number of standing-up attemptsUnable to stand up = 0; requires multiple attempts = 1; successfully completed once = 22.01.50.7
Instant standing balance (first 5 s)Shaking = 0; requires support = 1; stable without support = 21.91.30.6
Standing balanceShaking = 0; wide step distance/requires support = 1; narrow step distance without support = 21.71.00.4
Light push testFall tendency = 0; shaking to grasp = 1; stability = 21.61.10.3
Stand with eyes closedUnstable = 0; stable = 10.90.60.1
Turn around 360 degreesStep interruption = 0; shaking = 1; continuous stability = 21.71.00.4
Be seatedSitting down = 0; unsteady movement = 1; safe and stable = 21.61.10.5
Total balance score 14.29.83.8
Table 3. Gait test (full score: 12).
Table 3. Gait test (full score: 12).
Test ItemStandard for EvaluationAverage Score of Group LGroup M Average ScoreGroup S Average Score
StartingHesitation/multiple attempts = 0; normal startup = 11.00.70.2
Foot lifting height (left and right)Mopping floor/too high = 0; distance from the ground ≤ 5 cm = 1 (scored independently for each foot)1.81.20.5
Step length (left and right)Not exceeding the contralateral limb = 0; exceeding = 1 (scored independently for each limb)1.71.00.3
Gait symmetryStep length unequal = 0; equal = 10.90.50.1
Step continuityInterrupt = 0; continuation = 11.00.60.2
Walking pathSignificant deviation = 0; mild deviation requiring assistive devices = 1; straight line without assistive devices = 21.81.10.4
Posture stabilityShaking/aid required = 0; bending knees/stretching arms = 1; no abnormality = 21.50.90.3
Stride widthSeparation of heels = 0; alignment of heels = 10.90.50.1
Gait total score 10.66.52.1
Total score (balance + gait) 24.816.35.9
Table 4. Risk factors for falls in elderly individuals with lower limb gait abnormalities in indoor residential environments.
Table 4. Risk factors for falls in elderly individuals with lower limb gait abnormalities in indoor residential environments.
Dangerous ScenesSpecific Location
Foyer
Living room
Bedchamber
Kitchen
Toilet
Doorsill
Number of handrails
The width of the space
The size of each opening
Corridor length
Height position of the light switch
Bed height
The height of the washbasin
Anti-slip friction on the ground
The height of each step of the staircase
Table 5. Distribution of ten risk factors in the basic indoor space (● indicates required, ○ indicates not required).
Table 5. Distribution of ten risk factors in the basic indoor space (● indicates required, ○ indicates not required).
Specific
Location
DoorsillNumber of HandrailsThe Width of the SpaceThe Size of Each OpeningCorridor LengthHeight Position of the Light SwitchBed HeightThe Height of the WashbasinAnti-Slip Friction on the GroundThe Height of Each Step of the Staircase
Dangerous Scenes
Foyer
Living room
Bedchamber
Kitchen
Toilet
Table 6. Partial standards and values for apartment housing in China.
Table 6. Partial standards and values for apartment housing in China.
Specific
Location
DoorsillNumber of HandrailsThe Width of the SpaceThe Size of Each OpeningCorridor LengthHeight Position of the Light SwitchBed HeightThe Height of the WashbasinAnti-Slip Friction on the GroundThe Height of Each Step of the Staircase
Dangerous Scenes
Foyer≤20 mmnormal≥1.2 m (Passage Width)wide ≥ 1.0 m≥1.2 m1.3~1.4 mnotnot≥0.5 (dry)not
Living roomnotnotnotwide ≥ 0.9 m≥1.2 m1.3~1.4 mnotnot≥0.5 (dry)Step height ≤ 175 mm, Wide tread ≥ 260 mm
Bedchambernotnotnotwide ≥ 0.9 mnot1.3~1.4 m400 mm~600 mm ≥0.5 (dry)not
Kitchennotnot≥1.8 m (Operating width)wide ≥ 0.8 mnot1.3~1.4 mnot800~850 mm≥0.5 (dry)not
Toilet≤20 mmnot≥1.2 m (Passage width)wide ≥ 0.8 mnot1.3~1.4 mnot800~850 mm≥0.6 (wet)not
Table 7. Results of multinomial logistic regression assessing the relationship between lower limb gait abnormalities and fall risk in residential spaces.
Table 7. Results of multinomial logistic regression assessing the relationship between lower limb gait abnormalities and fall risk in residential spaces.
VariableClass2 vs. Class1 Class3 vs. Class1
β CoefficientOR Value (95%CI)p Valueβ CoefficientOR Value (95%CI)p Value
X1: Cadence0.121.13 (0.89–1.43)0.3120.091.09 (0.82–1.46)0.541
X2: Step width−0.180.84 (0.67–1.05)0.128−0.210.81 (0.61–1.07)0.139
X3: Stride0.051.05 (0.92–1.20)0.4620.071.07 (0.91–1.26)0.403
X4: Walking speed−2.560.08 (0.03–0.19)<0.001−3.120.04 (0.01–0.15)<0.001
X5: Stride amplitude−0.320.73 (0.52–1.01)0.058−0.280.76 (0.50–1.14)0.185
X6: Gait cycle0.211.23 (0.97–1.57)0.0870.181.20 (0.89–1.62)0.237
X7: Knee angle0.141.15 (0.85–1.56)0.3670.091.09 (0.75–1.60)0.643
X8: Ankle angle1.785.93 (2.55–13.77)0.0022.158.58 (3.24–22.75)<0.001
X9: Lumbar torque−0.070.93 (0.78–1.12)0.468−0.120.89 (0.71–1.11)0.305
X10: Foot pressure0.451.57 (1.06–2.32)0.0241.022.77 (1.62–4.74)<0.001
For the parameters highlighted in bold in Table 7 (X4/X8/X10), LASSO selection was performed (λ = 0.083), retaining Class 1 as the reference group (mild abnormality) and Class 3 as severe abnormality. Non-significant variables (p > 0.05) are indicated in gray, where an OR value > 1 indicates increased risk, and an OR value < 1 indicates a protective factor.
Table 8. Performance comparison results.
Table 8. Performance comparison results.
Evaluation IndexLogistic RegressionRandom ForestSVM
Overall accuracy rate86.7%89.3%84.6%
Weighted F1 score0.8520.8810.831
Class 3 (Severe) AUC0.9270.9380.912
Key characteristics importanceStride rate (X4) > Ankle angle (X8) > Foot pressure (X10)Stride rate (X4) > Ankle angle (X8) > Pressure applied to (X10)Stride rate (X4) > Ankle angle (X8)
Table 9. Calculation and optimization values of corridor length.
Table 9. Calculation and optimization values of corridor length.
Patient TypeStep Frequency (Steps/min)Corridor Length (m)Calculation Process
Mild85 ± 424.9≥24(0.65 × 85)/(2 × 1.2) × 1.047
Moderate75 ± 522.1≥18.3(0.55 × 75)/(2 × 1.2) × 1.067
Severe60 ± 818.3≥7.7(0.35 × 60)/(2 × 1.2) × 1.133
Table 10. Calculation and optimization values of doorway widths.
Table 10. Calculation and optimization values of doorway widths.
Patient TypeStep Width (cm)The Width of the Opening (m)Calculation Process
Mild14 ± 1.50.99≥1.00.9 + 2.5 × 0.032 + 0.15 × 0.075
Moderate18 ± 2.51.12≥1.20.9 + 2.5 × 0.045 + 0.15 × 0.12
Severe25 ± 3.01.34≥1.40.9 + 2.5 × 0.068 + 0.15 × 0.18
Table 11. Calculation and optimization values of space width.
Table 11. Calculation and optimization values of space width.
Patient TypeStride Length (cm)Space Width (cm)Calculation Process
Mild52 ± 3100→≥11052 × (1 + 1.1)
Moderate40 ± 4100≥12040 × (1 + 2)
Severe30 ± 5100≥13030 × (1 + 3.3)
Table 12. Calculation and optimization values of threshold height.
Table 12. Calculation and optimization values of threshold height.
Patient TypeWalking Speed (m/s)Threshold Height (mm)Calculation Process
Mild0.65 ± 0.120→≤2020 − 3.2 × (0.65 − 0.65)
Moderate0.45 ± 0.115.2→≤1520 − 3.2 × (0.65 − 0.45)
Severe0.25 ± 0.19.6→eliminate the height difference20 − 3.2 × (0.65 − 0.25)
Table 13. Calculation and optimization values of bed height.
Table 13. Calculation and optimization values of bed height.
Patient TypeStride Length (cm)Bed Height (cm)Newtonian Iterative Solution
Mild105 ± 555.3→55–60Initial value 50, converges on 55.3
Moderate85 ± 648.7→45–50Initial value 45, converges on 48.7
Severe65 ± 840.2→40–45Initial value 40, converges on 40.2
Table 14. Calculation and optimization of switch height.
Table 14. Calculation and optimization of switch height.
Patient TypeGait Cycle (s)Switch Height (m)Calculation Process
Mild1.4 ± 0.11.39≤1.41.4 − 0.033 × (1.4 − 1.1)
Moderate1.7 ± 0.21.32→≤1.31.4 − 0.033 × (1.7 − 1.1)
Severe2.1 ± 0.31.25≤1.21.4 − 0.033 × (2.1 − 1.1)
Table 15. Calculation and optimization values of stair step heights.
Table 15. Calculation and optimization values of stair step heights.
Patient TypeKnee Angle (°)Stair Riser Height (mm)Calculation Process
Mild8 ± 1.535.1→≤350.25 × tan8° = 0.0351 m
Moderate5 ± 2.021.9→≤220.25 × tan5° = 0.0219 m
Severe2 ± 3.08.7→eliminate steps0.25 × tan2° = 0.0087 m
Table 16. Calculation and optimization values of armrest density.
Table 16. Calculation and optimization values of armrest density.
Patient TypeDorsiflexion (°)Handrail Density (pcs/room)Calculation Process
Mild7 ± 1.22+1ceil((15 − 7)/5) = 2
Moderate3 ± 1.53+2ceil((15 − 3)/5) = 3
Severe−5 ± 2.04+3ceil((15 − (−5))/5) = 4
Table 17. Calculation and optimization values of basin height.
Table 17. Calculation and optimization values of basin height.
Patient TypeLumbar Torque (N·m)Wash Basin Height (m)Calculation Process
Mild85 ± 100.82→0.8–0.850.8 + (85/(60 × 9.8)) × 0.12
Moderate130 ± 150.85→0.8–0.850.8 + (130/(60 × 9.8)) × 0.12
Severe190 ± 200.90→Reconstructed to be adjustable.0.8 + (190/(60 × 9.8)) × 0.12
Table 18. Calculation and optimization values of ground friction coefficient.
Table 18. Calculation and optimization values of ground friction coefficient.
Patient TypePlantar Pressure (%)Friction CoefficientCalculation Process
Mild55 ± 50.67≥0.650.5 + (55/100) × 0.3
Moderate65 ± 80.70≥0.700.5 + (65/100) × 0.3
Severe80 ± 100.74≥0.75+Anti-slip strip0.5 + (80/100) × 0.3
Table 19. Results of ten spatial optimization values.
Table 19. Results of ten spatial optimization values.
Spatial FactorsMild AnomalyModerate AnomalySevere AnomalyAdjustment Basis
Corridor length≥24 m≥18.3 m≥7.7 mReduced cadence requires shorter lengths
The size of each opening≥1.0 m≥1.2 m≥1.4 mTo increase the step width, you need to widen the door frame margin
The width of the space≥110 cm≥120 cm≥130 cmThe step size is shortened, and the step span needs to be reduced
Doorsill≤20 mm≤15 mmEliminate the height differenceDecreased pace leads to reduced ability to leap
Bed height55–60 cm45–50 cm40–45 cmReduced stride length requires lower sitting height
Height position of the light switch≤1.4 m≤1.3 m≤1.2 mLonger cycles require lower operating heights
The height of each step of the staircase≤35 mm≤22 mmeliminate stepsReduced knee angles limit leg lifts
Number of handrailsKey Area +1Full Motion Line +2Full Motion Line +3Insufficient ankle dorsiflexion requires additional support
The height of the washbasin0.8–0.85 m0.8–0.85 mAdjustable (0.7–0.9 m)The lumbar torque is excessively large and requires height adjustment
Anti-slip friction on the ground≥0.65≥0.70≥0.75 + Anti-slip stripGrip needs to be enhanced
Table 20. Validation of response specificity (pairwise t-test of ten measures).
Table 20. Validation of response specificity (pairwise t-test of ten measures).
Optimization MeasureHealth Group Response
(n = 9)
Mild Abnormality
Group Response
(n = 10)
Between-Group
Variance
(p Value)
Length of the corridor ≥ 24 mStep frequency variation Δ + 1.3%Step frequency stability ↑18.2%<0.001
Width of the doorway ≥ 1.0 mStride width CVΔ − 0.8%Side collision ↓59.7%<0.001
Spatial width ≥ 110 cmStep length error Δ + 0.4 cmTaking a step out of alignment ↓41.5%0.003
Threshold height ≤ 20 mmOvercoming the time-consuming process Δ + 0.1 sRisk of falling ↓38.4%<0.001
Bed height 55–60 cmSitting and standing time Δ + 0.2 sThe success rate of getting up ↑47.6%<0.001
Switch height ≤ 1.4 mError touch rate Δ + 3.1%Misoperation ↓53.2%0.002
The height of the staircase steps ≤ 35 mmLeg lifting height Δ − 0.3 cmTrip or fall incident ↓82.1%<0.001
Handrail density +1/roomHand touch frequency Δ + 0.1The torso sways ↓46.3%<0.001
Sink height 0.8–0.85 mLumbar spine torque Δ + 5.3%Lumbar load ↓34.8%0.001
Friction coefficient ≥ 0.65Heel slippage Δ + 0.1 cmSliding distance ↓73.5%<0.001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yao, T.; Jiang, B.; Zhao, L.; Chen, W.; Sang, Y.; Jia, Z.; Wang, Z.; Zhong, M. Research on Optimization of Indoor Layout of Homestay for Elderly Group Based on Gait Parameters and Spatial Risk Factors Under Background of Cultural and Tourism Integration. Buildings 2025, 15, 2498. https://doi.org/10.3390/buildings15142498

AMA Style

Yao T, Jiang B, Zhao L, Chen W, Sang Y, Jia Z, Wang Z, Zhong M. Research on Optimization of Indoor Layout of Homestay for Elderly Group Based on Gait Parameters and Spatial Risk Factors Under Background of Cultural and Tourism Integration. Buildings. 2025; 15(14):2498. https://doi.org/10.3390/buildings15142498

Chicago/Turabian Style

Yao, Tianyi, Bo Jiang, Lin Zhao, Wenli Chen, Yi Sang, Ziting Jia, Zilin Wang, and Minghu Zhong. 2025. "Research on Optimization of Indoor Layout of Homestay for Elderly Group Based on Gait Parameters and Spatial Risk Factors Under Background of Cultural and Tourism Integration" Buildings 15, no. 14: 2498. https://doi.org/10.3390/buildings15142498

APA Style

Yao, T., Jiang, B., Zhao, L., Chen, W., Sang, Y., Jia, Z., Wang, Z., & Zhong, M. (2025). Research on Optimization of Indoor Layout of Homestay for Elderly Group Based on Gait Parameters and Spatial Risk Factors Under Background of Cultural and Tourism Integration. Buildings, 15(14), 2498. https://doi.org/10.3390/buildings15142498

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop