Advances in Knowledge and Society · Vol. 2 No. 11 (2026)
Published November 26, 2026
The same indoor temperature and humidity records can lead to different screening flags after principal component analysis. We fitted four-component models on a household sensor archive and held out 816 later hours. Converting Celsius to Fahrenheit and relative humidity from percent to fraction changed 185 flags under raw covariance PCA. Standardizing the inputs removed that unit effect, but adding exact copies of the kitchen channels still changed 34 flags. Weighting each copy by the inverse square root of its multiplicity restored agreement among equivalent encodings. Even so, the resulting empirical cutoff flagged 511 hours in the later, warmer block. The comparison separates sensitivity to data representation from the stability of a threshold over time.
A building historian can store the same room temperature in Celsius or Fahrenheit. A later export can also contain several columns for a single measurement if two systems reproduce the same data feed. Neither operation changes what happened in the building. Yet a covariance matrix fitted to the displayed numbers can change, and a reduction that retains only a few principal components can select different directions. If the retained components are then used to screen for unusually distant multichannel observations, a format change can alter which hours cross a threshold. We test for this effect while holding the measured hours, physical channels and calendar split fixed.
Jiang et al. (2026) show why the location of dimensionality reduction matters when moment information enters a subsequent optimization problem. Their optimized reduction builds approximations around the optimization rather than treating variance preservation as the only objective. Here the downstream task is a simpler quadratic monitor for a fixed sensor history. Its known-moment tail bound provides a precise reference for assessing reduced-space screening. We compare alternative encodings of the same inputs with a common dimensionality budget and two thresholds. The study does not solve the optimization programs of Jiang et al. or estimate an operating policy for the house. Its contribution is to measure how changing only the encoded inputs can change a reduced-space screening decision.
The historical formulations of Pearson (1901) and Hotelling (1933) express variation along orthogonal directions of a chosen coordinate space. Jolliffe (2002) and Bro and Smilde (2003) describe its dependence on centering and scaling. Raw covariance PCA and principal components based on standardized columns can describe different aspects of the same data. Jolliffe and Cadima (2016) and Greenacre et al. (2022) discuss this distinction. A repeated column creates another issue. Standardization gives the copies the same marginal variance, so retaining them all still changes the relative contribution of that physical signal to the standardized geometry. Escofier and Pagès (1994) and Abdi et al. (2013) account for blocks of variables when extracting common components. The exact-copy design here is narrower. We know which columns repeat a source measurement and choose weights that preserve the original geometry under those explicitly known duplicates.
There are two questions. First, how many test hours change their threshold status when only the representation changes? The change is measured on paired hours, so it cannot be attributed to different activity, weather or sampling times. Second, does correcting the representation also keep the flag rate near the calibration target in a later period? A correction can restore mathematical equivalence without restoring a time-invariant distribution of measurements. The two questions use the same held-out period and distinguish how a monitor is configured from how its inputs evolve.
We used the public Appliances Energy Prediction archive (Candanedo, 2017). Candanedo et al. (2017) describe collecting temperature and relative humidity via a wireless sensor network in a low-energy house. We retained paired temperature and humidity columns for eight indoor areas covering the kitchen, living room, laundry room, office, bathroom, ironing room and two bedrooms. We excluded the pair identified as outside the building. Appliance loads, external weather series and the artificial random variables in the release were not included. The target is a geometric score of the indoor measurements. The dataset does not label sensor faults, comfort excursions or events that require action. A flag means the calculated score exceeds a specified cutoff.
The source contains 19,735 ten-minute rows. We required a full set of 144 published observations within a date and excluded the two incomplete boundary dates, which contained 151 observations between them. For each of the 136 complete dates we averaged the six recorded ten-minute samples in each displayed hour. The resulting 3,264 hourly vectors preserve the released date and hour convention. We used the first 68 days to fit the moments, the next 34 days to calibrate a separate cutoff, and the final 34 days for evaluation. The blocks held 1,632, 816 and 816 hours respectively. The fit block ended on March 19, 2016, calibration ended on April 22, and the test period ran from April 23 to May 26. Every representation uses these same dates. Chronological testing reflects the question of use on later data. Tashman (2000), Bergmeir et al. (2018), and Cerqueira et al. (2020) discuss how the design of time-series performance evaluation depends on the sampling and dependence assumptions.
We created four encodings. The reference used temperature in Celsius and humidity in percentage points. The unit-change variant turned temperatures into Fahrenheit and divided humidity values by 100. The copy variant repeated each of the two kitchen channels three additional times, expanding the storage table from 16 to 22 columns. The fourth applied both changes. We selected the kitchen pair as an explicitly identifiable source measurement and kept the original copies bitwise equal through the duplication step. The extra columns therefore have no independent variation and require no model of new instrument noise. Unit conversion occurred before estimation, and all changes apply to fit, calibration and test blocks consistently.
In each encoding we computed the covariance of the first 1,632 hours using the divisor equal to the number of fit rows. Raw covariance PCA centered the fitting columns and kept their displayed units. Standardized PCA first divided each centered column by its training standard deviation. Duplicate-adjusted PCA applied standardization and then divided copies of each source measurement by the square root of the number of times the measurement appeared. The last two procedures agree on an original table with one copy of each physical channel. All centering, scaling and component estimation use the fit block alone. We retain four components as the main comparison and verify how the findings vary with two or eight, using the full 16-dimensional positive-rank fit as a numerical control.
The multiplicity rule has a direct interpretation. If a standardized source coordinate z is repeated m times, its repeated values contribute m z² to the raw sum of squares. Scaling each copy by 1 / √m restores its original contribution z². With groups defined by actual source identity, the mapping from the original standardized vector to its weighted expanded vector has orthonormal columns. Its covariance has the same positive eigenvalues as the original standardized covariance, and the corresponding principal scores have the same squared distances. Exact score equivalence follows for a retained subspace that does not cut through a tie in its eigenvalues. The 16 measured directions were positive in the fitted data. Correlating distinct signals is a separate problem. Exact identity metadata is sufficient for this rule, whereas merging independent sensors merely because their measurements often agree would require different justification.
For each retained direction, we square the centered principal score and divide by the fitted eigenvalue. Their sum is the quadratic score Q. It describes distance from the fitted centre in retained coordinates while accounting for their different variances. Covariance-scaled multivariate scoring has a long tradition (Hotelling, 1931). MacGregor and Kourti (1995), Qin (2003, 2012), and Ku et al. (1995) discuss related uses of principal components in process monitoring, including the importance of process dynamics. Jackson and Mudholkar (1979) study control procedures based on the residual space. In our design the retained-space distance is the screening score. Reconstruction residuals would capture departures in discarded directions and would produce a different outcome.
The first cutoff uses the second moments. If the projected mean and covariance are the population moments of the monitored distribution, the expected value of Q equals the number of retained components, k. Applying Markov's inequality to Q gives an upper tail bound of k / q at threshold q (Navarro, 2016). We set q = k / 0.10, which is 40 with four components. The threshold is a benchmark for the specified moment model. The fitted score has mean exactly four on the fit rows because their covariance defines the denominator. The held-out distribution can have different moments, so its observed exceedance rate is not constrained by that fit-sample identity. Delage and Ye (2010) and Wiesemann et al. (2014) account for distributional ambiguity explicitly. Bertsimas and Popescu (2005) study optimal bounds using moment information, and Zymler et al. (2013) consider chance constraints under second-order moment information. Our simple bound illustrates a second-moment screening rule and leaves moment estimation uncertainty visible.
The second cutoff is the 736th smallest score in the 816-hour calibration block, using the rounded-up rank based on 90% of 817. It targets a small fraction of high calibrated scores and flags a later hour only when its score is strictly greater than the cutoff. Different sample quantile definitions can produce different thresholds (Hyndman and Fan, 1996), so the exact order statistic is fixed for all runs. Lei et al. (2018) illustrate using separate calibration observations in distribution-free inference, and Barber et al. (2023) analyze the role of exchangeability and distribution changes in that setting. We use this order statistic as an empirical screening rule. The serial and chronological structure of the observations excludes any claim of a distribution-free guarantee in the later block.
On the held-out hours we count exceedances and changes in flag status relative to the native encoding fitted with the same method. A lower or higher flag count alone can hide changes in both directions, so we compare matched flags and also report rank agreement of the quadratic scores. For a descriptive check of time variation we divide the 34-day test block into two halves. No result from either half changes the cutoffs, number of retained components, or input transformations.
Figure 1. Panel A shows the controlled encoding comparison and chronological split. Panel B records how many of the 816 test hours change empirical flag status relative to native encoding with four components. Panel C divides that test set in half and compares exceedances of the native-input empirical cutoffs. The dashed line marks the calibration target and has no claim to later coverage.
Raw covariance PCA assigned 0.71% of the first component's squared loading to temperature coordinates under native units. After conversion it assigned more than 99.99%. The scale change thus altered the direction emphasized by the calculation without changing a physical value. The four retained components still covered 94.64% of the raw training variance under native units and 92.18% in the converted units. These fractions refer to each fitted numerical coordinate space. Similar fractions do not establish that the same information reaches the screening stage. The held-out ranks were only moderately similar across the two input representations, with a Spearman coefficient of 0.828 for raw PCA. The empirical flag count decreased from 515 to 414, yet 185 hours changed status. The second-moment rule changed 14 flags on the same unit comparison.
Table 1. Four-component screening outcomes on the same 816 later hours. A change is the number of hours whose flag differs from the native-encoding result for the same method. “Every encoding” reports the common count across the four separate duplicate-adjusted runs.
| PCA input treatment | Encoding | Empirical cutoff | Empirical flags | Empirical flag changes | Moment flags | Moment flag changes |
|---|---|---|---|---|---|---|
| Raw covariance | Native | 10.62 | 515 | 0 | 3 | 0 |
| Raw covariance | Units | 16.86 | 414 | 185 | 15 | 14 |
| Raw covariance | Copies | 9.80 | 489 | 34 | 0 | 3 |
| Raw covariance | Units and copies | 17.47 | 400 | 193 | 26 | 25 |
| Standardized | Native or units | 15.03 | 511 | 0 | 107 | 0 |
| Standardized | Copies or both | 13.65 | 491 | 34 | 109 | 12 |
| Duplicate-adjusted | Every encoding | 15.03 | 511 | 0 | 107 | 0 |
Standardization restored exact flag agreement across the two unit conventions. Under that standardized treatment, duplicating the kitchen pair changed 34 of the empirical flags and 12 of the moment flags. The empirical counts before and after duplication were 511 and 491, respectively, so the changed-hour count also includes changes offsetting each other. The duplicate-adjusted score matched its native-encoding counterpart across all four representations to within about 6 × 10⁻¹³ at four components. Both threshold flags agreed for every test hour. The invariance checks held with two and eight components. Without the correction, adding copies to standardized inputs changed 14 empirical flags at two components and 19 at eight. Unit re-expression under raw PCA changed 422 empirical flags at two components and 159 at eight. The full positive-rank score, across all preprocessing and encoding choices, yielded 433 empirical flags and 19 moment flags. The full-rank comparison ties the differences to retaining some directions rather than the entire observation space.
The duplicate-adjusted empirical cutoff yielded 511 flags, or 62.6% of the held-out hours. It flagged 111 of 408 hours in the first half and 400 of 408 in the second half. The moment cutoff flagged 107 of the 816 held-out hours, all in the second half. Mean temperature across the indoor inputs increased from 19.50 °C in the fit block to 21.35 °C during calibration and 22.85 °C during evaluation. The corresponding mean relative humidity values were 41.87%, 40.56% and 40.43%. These changes establish that the chronological windows differ in measured conditions. The study does not assign the high scores to a particular source such as season, ventilation control or occupant behavior. The evidence shows that numerically stable preprocessing and stable later threshold usage are separate properties.
Flag consistency under equivalent input encodings is a useful property when reduced sensor records move between software systems. An implementation can verify it with a unit-conversion test and a duplicate-column test before interpreting threshold changes. Standardization answers the first check in this archive. The duplicate adjustment answers the second when the schema identifies the exact copies. Its benefit is a well-defined, unchanged screening geometry. It neither validates the cutoff on later observations nor specifies what a user should do after a flag. Even after correcting the input dependence, the empirical threshold remained a poor match to its intended flag frequency in the later block.
The observed temporal sensitivity is conditional on one building, the specific chronological split, and a score that describes the indoor state without event labels. Raw covariance PCA is suitable when numerical scale intentionally encodes the desired importance of physical variables. A monitored application might also prefer higher sensitivity to one kind of variable or one room. Such priorities require deliberate weighting and validation under the use case. Robust component estimators such as Hubert et al. (2005) address contamination in the data, and covariance shrinkage such as Ledoit and Wolf (2004) can stabilize small eigenvalues. Those methods answer different aspects of estimation. Future evaluation of a deployed monitor would need labeled failure or quality outcomes with which to distinguish temporal adaptation from deterioration in event detection. The archive instead offers a controlled way to test changes that leave every physical observation unchanged.
In a real indoor sensor archive, changing the units or repeating identical columns altered which later hours crossed a reduced-space screening threshold. Standardizing the columns removed the unit effect, and grouping exact copies restored the geometry of the standardized reference. The subsequent high flag rate persisted, showing that a monitor can be invariant to storage choices while remaining sensitive to the period used for fitting and calibration.
The source is the public CC BY 4.0 Appliances Energy Prediction dataset. The acquisition receipt (uci1107_acquisition.json) records the official archive and CSV member hashes. The preparation script (prepare_uci1107_data.py), analysis script (analyse_uci1107_sensor_geometry.py) and figure script (plot_uci1107_sensor_geometry.py) reproduce the method summaries (uci1107_sensor_geometry_summary.json), result table data (uci1107_sensor_geometry_results.csv), hourly held-out outputs (uci1107_sensor_geometry_hourly.csv) and Figure 1. Author declarations and approval for publication are pending author review.
References to local research files in the manuscript are shown as filenames.