Scinovex

Research article · 2019 · Full text

International Journal of Statistics and Applied Mathematics

Modeling household water demands using sinusoidal models

Robert Orwenyo OnyoniGeorge Otieno OrwaZablon Maua Muga

Volume 4(6) · Pages 128–132

Research areasWater resources management and optimization

↓ Read full-text PDF1 citations

Abstract

Author-written

Household water in Kenya is used in agricultural activities, industrial activities and other uses. A lot of water is consumed by indoor appliances. The water management strategy affects the household demand for water. The future demand of water in Kenyan towns has remained uncertain. Therefore this study sought to model household water demand using the non- parametric model in the spectral domain. This study largely relied on the secondary data that was collected from Gusii Water and Sanitation Company (GWASCO) situated in Kisii town. This study inspected the data for trend by applying Mann Kendal trend test and it was realized that the p-value = 0.012< Siginificance level, α = 5% indicating that the water demand data had a trend. The parameters of the sinusoidal model was estimated and they were: B1 = 90.28176, B2 = 69.06094 and μ = 3586.94540 The developed model was used in conducting in sample forecasting. The forecasted values were plotted together with those of GWASCO and comparison was made. This study noted no significant difference in the plots. Therefore, the model was employed in conducting out of sample forecasting. The out sample forecasted values increased with time. This study concluded that the water data had a trend, had periodic variations hence could be modeled using the sinusoids and that the forecasts increased with time.

Summary

Source-checked

Plain-language reading of the full paper, prepared with AI and checked against the text. Each point links to the authors' own words.

  1. Why it matters

    • Household water in Kenya is utilized for various purposes, including industrial and agricultural activities, with a significant amount used by indoor appliances. View evidence ↗

      Why it matters

      Household water in Kenya is utilized for various purposes, including industrial and agricultural activities, with a significant amount used by indoor appliances.

      In the paper's own words

      “Household water in Kenya is used in agricultural activities, industrial activities and other uses. A lot of water is consumed by indoor appliances.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
    • There is uncertainty regarding the future demand for water within Kenyan towns. View evidence ↗

      Why it matters

      There is uncertainty regarding the future demand for water within Kenyan towns.

      In the paper's own words

      “The future demand of water in Kenyan towns has remained uncertain.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
    • An upward trend in Kenyan population estimates suggests that the demand for water in the country is continuously increasing. View evidence ↗

      Why it matters

      An upward trend in Kenyan population estimates suggests that the demand for water in the country is continuously increasing.

      In the paper's own words

      “The Kenyan population estimates have been on the upward trend indicating an ever increasing demand of water in the country.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
  2. The question

    • The study aimed to model household water demand using a non-parametric model within the spectral domain. View evidence ↗

      The question

      The study aimed to model household water demand using a non-parametric model within the spectral domain.

      In the paper's own words

      “Therefore this study sought to model household water demand using the non- parametric model in the spectral domain.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
  3. What they did

    • The research utilized secondary data obtained from the Gusii Water and Sanitation Company (GWASCO) in Kisii town. View evidence ↗

      What they did

      The research utilized secondary data obtained from the Gusii Water and Sanitation Company (GWASCO) in Kisii town.

      In the paper's own words

      “This study largely relied on the secondary data that was collected from Gusii Water and Sanitation Company (GWASCO) situated in Kisii town.”

      Page 1

      Found in: Recommendations

      Read it in the full textOpen PDF at page 1 ↗
    • The study analyzed a sample size of 97 observations, which is an odd number. View evidence ↗

      What they did

      The study analyzed a sample size of 97 observations, which is an odd number.

      In the paper's own words

      “Since the sample size of this study consisted of 97 observations (odd number) the sinusoidal model structure suitable for this study is indicated below.”

      Page 3

      Found in: Sinusoidal modeling

      Read it in the full textOpen PDF at page 3 ↗
    • The Cox-Stuart (C-S) test was employed to detect non-random periodic patterns in the data. View evidence ↗

      What they did

      The Cox-Stuart (C-S) test was employed to detect non-random periodic patterns in the data.

      In the paper's own words

      “C-S test is normally employed to detect the non-random pattern, that is the periodic patterns.”

      Page 2

      Found in: Cox-Stuart Trend Tests

      Read it in the full textOpen PDF at page 2 ↗
    • An F-test was conducted to identify significant harmonic waves (HWs) to determine the parameters for the sinusoidal model. View evidence ↗

      What they did

      An F-test was conducted to identify significant harmonic waves (HWs) to determine the parameters for the sinusoidal model.

      In the paper's own words

      “This study took a step further and conducted the F-test to determine the significant HWs so that we could determine the parameters of the sinusoidal model.”

      Page 4

      Found in: Sinusoidal modeling

      Read it in the full textOpen PDF at page 4 ↗
  4. What they found

    • The Cox-Stuart test resulted in a p-value of 0.00001141, which is less than the 0.05 significance level, indicating that the household water data has a periodic trend. View evidence ↗

      What they found

      The Cox-Stuart test resulted in a p-value of 0.00001141, which is less than the 0.05 significance level, indicating that the household water data has a periodic trend.

      In the paper's own words

      “From table 4 above, it can be deduced that the p-value = 0.00001141 < the significance level (α) = 0.05. Therefore this study can reject the null hypothesis in favor of the alternative hypothesis and conclude that the household water data has a periodic trend.”

      Page 3

      Found in: Forecasting

      Read it in the full textOpen PDF at page 3 ↗
    • F-test results showed that only the 33rd harmonic wave was significant, while all others were insignificant. View evidence ↗

      What they found

      F-test results showed that only the 33rd harmonic wave was significant, while all others were insignificant.

      In the paper's own words

      “From the F-tests, it was only the 33rd HW that was significant, others were insignificant”

      Page 4

      Found in: Sinusoidal modeling

      Read it in the full textOpen PDF at page 4 ↗
    • The mean of the collected water demand data was found to be 3586.94540. View evidence ↗

      What they found

      The mean of the collected water demand data was found to be 3586.94540.

      In the paper's own words

      “The mean of the collected data is 3586.94540 as indicated in the estimated parameters above.”

      Page 4

      Found in: Sinusoidal modeling

      Read it in the full textOpen PDF at page 4 ↗
    • The estimated parameters for the suitable sinusoidal model were B1 = 90.28176, B2 = 69.06094, and a mean (mu) of 3586.94540. View evidence ↗

      What they found

      The estimated parameters for the suitable sinusoidal model were B1 = 90.28176, B2 = 69.06094, and a mean (mu) of 3586.94540.

      In the paper's own words

      “therefore the parameters of the sinusoidal model was chosen to be 𝐵̂1,33 = 90.28176, 𝐵̂ 2,33 = 69.06094 and 𝜇̂ = 3586.94540”

      Page 4

      Found in: Sinusoidal modeling

      Read it in the full textOpen PDF at page 4 ↗
    • In-sample forecasting showed no significant difference between the forecasted figures and the collected data, suggesting the model is suitable. View evidence ↗

      What they found

      In-sample forecasting showed no significant difference between the forecasted figures and the collected data, suggesting the model is suitable.

      In the paper's own words

      “From the plot in figure 1 above it can be noted that there was no significant difference in the plots indicating the suitability of the model in forecasting.”

      Page 4

      Found in: Forecasting

      Read it in the full textOpen PDF at page 4 ↗
    • Out-of-sample forecasts indicated that water demand values increased over time. View evidence ↗

      What they found

      Out-of-sample forecasts indicated that water demand values increased over time.

      In the paper's own words

      “The out sample forecasted values increased with time.”

      Page 1

      Found in: Introduction

      Read it in the full textOpen PDF at page 1 ↗
  5. What it means

    • The authors concluded that the developed sinusoidal model is suitable for describing the household water demand data. View evidence ↗

      What it means

      The authors concluded that the developed sinusoidal model is suitable for describing the household water demand data.

      In the paper's own words

      “This study concluded that the fitted model was suitable to be used to describe the data.”

      Page 5

      Found in: Conclusions

      Read it in the full textOpen PDF at page 5 ↗
    • The authors recommend that GWASCO use the developed model to forecast future water demand to better match customer needs. View evidence ↗

      What it means

      The authors recommend that GWASCO use the developed model to forecast future water demand to better match customer needs.

      In the paper's own words

      “Finally, Gusii Water and Sanitation Company (GWASCO) could use the developed model in conducting the future forecasts.”

      Page 5

      Found in: Recommendations

      Read it in the full textOpen PDF at page 5 ↗
    • The authors suggest that future research should compare these results with other methods, such as Box-Jenkins modeling or double exponential smoothing. View evidence ↗

      What it means

      The authors suggest that future research should compare these results with other methods, such as Box-Jenkins modeling or double exponential smoothing.

      In the paper's own words

      “future researchers could employ other methods like Box-Jenkins modeling approach and double exponential smoothing methods and make comparison to determine if the same implications could be realized.”

      Page 5

      Found in: Recommendations

      Read it in the full textOpen PDF at page 5 ↗
    • The authors note that future studies could use residual plots or the coefficient of determination to further validate model suitability instead of relying solely on in-sample forecasting. View evidence ↗

      What it means

      The authors note that future studies could use residual plots or the coefficient of determination to further validate model suitability instead of relying solely on in-sample forecasting.

      In the paper's own words

      “Future researchers could try other methods like using the residual plots and/ or the coefficient of determination method in determining the suitability of a model.”

      Page 5

      Found in: Recommendations

      Read it in the full textOpen PDF at page 5 ↗

Visual summary

2 visuals

Illustrations explain the paper; charts are replotted from the paper's own table values.

AI-generated illustration
AI-generated conceptual illustration (residential water meter and plumbing system). It explains the idea and does not show study data.↗ Enlarge
Sinusoidal Modeling Workflow
AI-generated conceptual illustration (residential water meter and plumbing system). It explains the idea and does not show study data.

AI-generated conceptual illustration (residential water meter and plumbing system). It explains the idea and does not show study data.

Open full-size image ↗

Sinusoidal Modeling Workflow

AI-generated conceptual illustration (residential water meter and plumbing system). It explains the idea and does not show study data.

View source evidence ↗
Replotted from source data
Replotted from Table 3 (page 4) of the original paper. Every bar is the paper's own table value.↗ Enlarge
OSFs: 98 vs 99 vs 100 vs 101 vs 102
Replotted from Table 3 (page 4) of the original paper. Every bar is the paper's own table value.

Replotted from Table 3 (page 4) of the original paper. Every bar is the paper's own table value.

Open full-size image ↗

OSFs: 98 vs 99 vs 100 vs 101 vs 102

Replotted from Table 3 (page 4) of the original paper. Every bar is the paper's own table value.

View source evidence ↗

Figures & tables

From the original paper
Cox-Stuart Trend TestTable 1Page 3Summary of the HWs, WLs and fiTable 2Page 3F-test for the HWsTable 3Page 4Out of Sample ForecastingTable 3Page 4In-sample forecastingFigure 1Page 4
FULL TEXT Original article · reflowed for reading

Introduction

Water is considered to be one of the crucial resources in the survival of living things. Human beings rely on water to conduct household chores. The location, function and household personal preferences are the main contributors in the determination of household water demand. The quantity of water demanded per capita has been provided by various organizations. According to Kenya Ministry of Water Resource Management and Development, the country's water supply stands at 647M 3 per capita. World Resource Institute estimates the volume of water demanded to be 590M 3 per capita. This indicates a huge variation in the estimates by various institutions [1,2] . The procedure of unraveling the quantity of water demanded in a country relies heavily on the population estimates. The Kenyan population estimates have been on the upward trend indicating an ever increasing demand of water in the country. This has led to the development of institutions in various parts of the country to help in the management of the household water demand [2] . In statistics, frequency domain refers to the analysis of the mathematical functions/signals with respect to the frequency rather than time [3] . The detail of determining the spectral density of a sample of population data is very old; this was applied by the first astronomers who tried to study the length of the year and the period of the moon. This entailed the determination of the maxima and/or estimation of the period [4] . The first significant frequency estimation problem took place in the 19 th century where the probability theory and the use of Fourier transform came into being. In the frequency estimation process, the model might contain a single cosine with amplitude, phase and a frequency contaminated by the noise error with unknown variance. Basically a researcher is interested in the amplitude, phase or noise variance [4,5] .

Material and Methods

Material and Methods

Cox-Stuart Trend Tests

According to [5] , C-S test is normally employed to detect the non-random pattern, that is the periodic patterns. C-S test compares the first half and the second half of the sample data. When the data has a down ward trend, the observatons in the first half are expected to be greater than the observation in the second half. When the data has upward trend, the observations in the first half are expected to be smaller than the observations in the second half. When the data in question has no trend, then the researcher should expect smaller differences between the two halves of the sample data due to the randomness of the data. To perform the C-S test, the sample differences are computed as shown below;

The hypotheses tested at the significance level (α) are: H 0 : There is no periodic trend in the household water data H A : There is periodic trend in the household water data

Sinusoidal modeling

According to [6] , the periodicities were modeled using the sinusoidal model of the form:

In this equation 𝜇, 𝐴 and 𝑃 cannot be estimated by the standard least square method. To achieve this estimator we expanded as shown below;

Where 𝐵 1 = A * cos(𝑃) and 𝐵 2 = 𝐴 * sin(𝑃) Hence the structure of the sinusoidal model becomes:

Where the parameters 𝜇, 𝐵 1 and 𝐵 2 can be estimated by the method of least squares estimation process.

Therefore the Amplitude (A) can be estimated by

In some cases the amplitudes of the peaks and the troughs are rarely equal, then the sine wave model can be re-written using the Fourier series model: ).

Forecasting

This study used the developed model to forecast the future demand of house water data. The model used was of the following form: From table 4 above, it can be deduced that the p-value = 0.00001141 < the significance level (α) = 0.05. Therefore this study can reject the null hypothesis in favor of the alternative hypothesis and conclude that the household water data has a periodic trend.

Sinusoidal modeling

Since the sample size of this study consisted of 97 observations (odd number) the sinusoidal model structure suitable for this study is indicated below.

The maximum number of the HWs for the observations is Some of the HWs, WLs and frequencies are as indicated in the table below: As it can be noted from table above the highest frequency was 0.49 followed by 0.48 and the least 0.01. The longest WL was 97 followed by 48.50 and the least was 2.02 and the least HW was 1 followed by 2 in that order, the highest was 48. This study further conducted an estimation process of the parameters of the sinusoidal model in (3.13) above using the Fourier series estimation process. Some of the parameters are as indicated below.

𝐵 ̂ 11 = -0.07920 , 𝐵 ̂21 = -0.03755 𝐵 ̂12 = 0.04490 , 𝐵 ̂22 = 0.052008 𝐵 ̂1,33 = 90.28176 , 𝐵 ̂2,33 = 69.06094 𝐵 ̂1,94 = -0.00892 , 𝐵 ̂2,95 = 0.00567 𝜇̂= 3586.94540

The mean of the collected data is 3586.94540 as indicated in the estimated parameters above. This study took a step further and conducted the F-test to determine the significant HWs so that we could determine the parameters of the sinusoidal model. The Ftest is as indicated in the table below: From the F-tests, it was only the 33 rd HW that was significant, others were insignificant, therefore the parameters of the sinusoidal model was chosen to be 𝐵 ̂1,33 = 90.28176, 𝐵 ̂2,33 = 69.06094 and 𝜇̂= 3586.94540 and therefore the suitable sinusoidal model for the GWASCO water supply data would be:

𝑌 ̂𝑡 = 3586.9454 + 69.06094 cos(0.5236𝑡) + 90.2817 sin(0.5236𝑡)

Forecasting

In-sample forecasting was conducted and comparison was made between the forecasted figures and that of the collected data. The plots are indicated in figure 1 below. From the plot in figure 1 above it can be noted that there was no significant difference in the plots indicating the suitability of the model in forecasting. This study took a step further and conducted the OSFs (future forecasts) 9 months for the next using the developed model. The forecasts are as indicated in the table below.

Figure 1. In-sample forecasting
In-sample forecasting↗ Enlarge
Figure 1
In-sample forecasting

In-sample forecasting

Open full-size image ↗
Original paper figureSource PDF · page 4 ↗

Conclusions

From Cox-Stuart test, this study concluded that the data had a trend and thus could be modeled using the spectral analysis to a data set with a trend. The spectral analysis was conducted and this study realized that the data had periodic variations and thus the researcher concluded that the data could be modeled using the sinusoids.

In the modeling of the data, this study realized that the number of observations were odd in number (97 months) and thus the researchers estimated and concluded that the number of HWs were 48. The parameters of the model were estimated and the F-test was conducted to determine which of the HWs were significant. It was realized that the 33 rd HW was significant and thus determined the structure of the model parameters. Thus the parameters were concluded to be B 1 = 90.28176 and B 2 = 69.06094. The mean of the data was 3586.9454 M 3 . Thus this study concluded that the model took the following form; 𝑌 ̂𝑡 = 3586.9454 + 69.06094 cos(0.5236𝑡) + 90.2817 sin(0.5236𝑡) In sample forecasts was conducted by this study. This study noted no significance difference in the plots of GWASCO water demand data and that of the in-sample forecasts. This study concluded that the fitted model was suitable to be used to describe the data. In effect to the aforementioned, this study used the model to provide 9 months ahead forecast.

Recommendations

 From this research, we were able to determine the trend of the data using the Cox-Stuart trend test, but the same results could be realized if ordinary least square method in trend determination is employed.  This study employed spectral analysis of sinusoids in modeling the water demand but future researchers could employ other methods like Box-Jenkins modeling approach and double exponential smoothing methods and make comparison to determine if the same implications could be realized. The model developed in this study could also be investigated to determine if it will be suitable in forecasting the water demand data in other regions of the country.  Additionally, this study used the in-sample forecasting as a method of determining if the developed model actually represents the true picture of the collected time series data. Future researchers could try other methods like using the residual plots and/ or the coefficient of determination method in determining the suitability of a model.  Finally, Gusii Water and Sanitation Company (GWASCO) could use the developed model in conducting the future forecasts.

This will aid in determining the quantity of water demanded by its customers and thus the company will try to match the amount of water demanded.  The methods used in this study in modeling the water demand time series data could also be used in other regions by future researchers in modeling the water data.

Acknowledgement

Special thanks to all the individuals who made the research process a success. We are also indebted to Gusii Water and Sanitation Company (GWASCO) because they availed the household water demand data hence contributing immensely to the success of this research.

Figures and tables from the paper

Table 1. Cox-Stuart Trend Test
DescriptionValue
Cox-Stuart Statistic4.8655
P-value0.00001141
Significance level(α)0.05

Table text extracted from the original PDF; superscript letters are shown inline. The original table image is below.

View original table image
Cox-Stuart Trend Test↗ Enlarge
Table 1
Cox-Stuart Trend Test

Cox-Stuart Trend Test

Open full-size image ↗
Original paper tableSource PDF · page 3 ↗
Table 2. Summary of the HWs, WLs and fi
HWs (i)WLsfiHWsWLsfi
1970.010309253.880.257732
248.50.020619263.7307690.268041
332.333330.030928273.5925930.278351
424.250.041237283.4642860.28866
519.40.051546293.3448280.298969
616.166670.061856303.2333330.309278
713.857140.072165313.1290320.319588
812.1250.082474323.031250.329897
910.777780.092784332.9393940.340206
109.70.103093342.8529410.350515
118.8181820.113402352.7714290.360825
128.0833330.123711362.6944440.371134
137.4615380.134021372.6216220.381443
146.9285710.14433382.5526320.391753
156.4666670.154639392.4871790.402062
166.06250.164948402.4250.412371
175.7058820.175258412.3658540.42268
185.3888890.185567422.3095240.43299
195.1052630.195876432.2558140.443299
204.850.206186442.2045450.453608
214.6190480.216495452.1555560.463918
224.4090910.226804462.1086960.474227
234.2173910.237113472.063830.484536
244.0416670.247423482.0208330.494845

Table text extracted from the original PDF; superscript letters are shown inline. The original table image is below.

View original table image
Summary of the HWs, WLs and fi↗ Enlarge
Table 2
Summary of the HWs, WLs and fi

Summary of the HWs, WLs and fi

Open full-size image ↗
Original paper tableSource PDF · page 3 ↗
Table 3. F-test for the HWs
SourcesSSdfF-testDecisions
33rd HW0.008125.8804significant
Other HWs0.089992
9th HW0.007222.5905insignificant
Other HWs0.77079
5th HW0.006323.8110insignificant
Other HWs0.002181

Table text extracted from the original PDF; superscript letters are shown inline. The original table image is below.

View original table image
F-test for the HWs↗ Enlarge
Table 3
F-test for the HWs

F-test for the HWs

Open full-size image ↗
Original paper tableSource PDF · page 4 ↗
Table 3. Out of Sample Forecasting
Time (Months)OSFs
983697.426
993674.984
1003628.354
1013570.029
1023515.639
1033479.756
1043471.996

Table text extracted from the original PDF; superscript letters are shown inline. The original table image is below.

View original table image
Out of Sample Forecasting↗ Enlarge
Table 3
Out of Sample Forecasting

Out of Sample Forecasting

Open full-size image ↗
Original paper tableSource PDF · page 4 ↗

References

6 in the original paper
  1. Mengshan Lee, Berrin Tansel, Maribel Balbin. Influence of residential water use efficiency measures on household water measures on household water demand: A four year longitudinal study. Resources, Conservation and Recycling, 2011, 1-6.
  2. Otieno A, Ogembo WO. Domestic water Consumption Per Capita: Acase of Selected Households in Nairobi. Nairobi: University of Nairobi East Africana collection, 2005.
  3. Broughton SA, Bryan K. Discrete Fourier Analysis and Wavelets: Applications to Signal and Image Processing. New york: Wiley, 2008.
  4. Berger JSF (Ed.). Bayesian Spectrum Analysis and Parameter Estimation. USA: Springer-Verlag, 1997.
  5. Esko Lehtinen et al. Statistical Trend Analysis Methods for Temporal Phenomena. SKI Report-Swedish Nuclear Power Inspectorate. 1997; 97(10):732-598.
  6. Alan W. Fourier Series (Spectral) Analysis. Personal Teaching, 2004, 1-54.

Cited by 1

From OpenAlex, OpenCitations and reference lists read by Scinovex

  • Use of triple exponential smoothing in the analysis of hydrological data

    Hudson Nyang'wara Ongiri, Paul Wachiuri Warutumo · International Journal of Statistics and Applied Mathematics · 2020

    Regular and correct hand hygiene is one of the most important measures to prevent infection with the COVID-19 virus. WASH practitioners should work to enable more frequent and regular hand hygiene by improving access to hand hygiene facilities to support good hand hygiene behavior. Performing hand hygiene at the right time, using the right technique with either an alcohol-based hand rub and soap and water is critical. It makes water to be an essential resource in the fight against the pandemic. This article ventured into the analysis of water demand by Kisii County householders. This article e

    ❝ 2PDFOn ScinovexFound by Scinovex