Paper II — Q6
(a) Explain the principle of least squares. How it is used in fitting trend in time series analysis ? Explain the fitting of…
Explain the principle of least squares. How it is used in fitting trend in time series analysis ? Explain the fitting of trend for the curve y=ab^tc^t². 15 marks
Define stationary time series. How would you test the stationarity of the given time series ? Write the importance of stationary time series. Check the following time series for stationarity.
Yₜ = Yₜ₋₁ + Uₜ
Yₜ = δ + Yₜ₋₁ + Uₜ
Yₜ = δ Yₜ₋₁ + Uₜ ; -1 ≤ δ ≤ 1 15 marks
State the different methods of detecting the presence of heteroscedasticity. Explain in brief the Goldfeld-Quandt Test for detecting the presence of heteroscedasticity. Also write the assumption required to apply this test.
For a data on consumption expenditure in relation to income for a cross section of 30 families, after dropping the middle 4 observations, the OLS regression based on the first 13 and the last 13 observations and their associated residual sum of squares are as follows :
Regression based on the first 13 observations :
Ŷᵢ = 3.4094 + 0.6968 Xᵢ
(r² = 0.8887, RSS₁ = 377.17, df = 11)
Regression based on the last 13 observations :
Ŷᵢ = -28.0272 + 0.7941 Xᵢ
(r² = 0.7681, RSS₂ = 1536.8, df = 11)
Check the presence of heteroscedasticity for the above given results and write your conclusion.
(F_(11, 11, 5%) = 2.82, F_(11, 11, 1%) = 4.46, F_(13, 13, 5%) = 2.53, F_(13, 13, 1%) = 3.82) 20 marks
हिंदी में प्रश्न पढ़ें
न्यूनतम वर्ग के सिद्धांत को समझाइये । काल श्रेणी विश्लेषण में इसका उपयोग प्रवृत्ति समंजन में कैसे किया जाता है ? वक्र y=ab^tc^t² के लिए प्रवृत्ति के समंजन को समझाइए । 15
अनुपन्न काल श्रेणी को परिभाषित कीजिए । एक दी हुई काल श्रेणी की स्थावरता की जाँच (परीक्षण) कैसे करेंगे ? अनुपन्न काल श्रेणी के महत्व को लिखिए । निम्नलिखित काल श्रेणियों की स्थावरता की जाँच कीजिए ।
Yₜ = Yₜ₋₁ + Uₜ
Yₜ = δ + Yₜ₋₁ + Uₜ
Yₜ = δ Yₜ₋₁ + Uₜ ; -1 ≤ δ ≤ 1 15
विषम विचलितता (हैट्रोसिडास्टिसिटी) की उपस्थिति का पता लगाने की विभिन्न विधियों को बताइए । विषम विचलितता की उपस्थिति पता लगाने के लिए गोल्डफेल्ड-क्वांड्ट (Goldfeld-Quandt) के परीक्षण को संक्षेप में समझाइए । इस परीक्षण को लागू करने के लिए आवश्यक अभिधारणा भी लिखें ।
उपभोग व्यय पर डेटा के लिए, जो 30 परिवारों के क्रॉस-सेक्शन की आय से संबंधित है, बीच में 4 अवलोकनों को हटाने के बाद, प्रथम 13 प्रेक्षणों और अंतिम 13 प्रेक्षणों के आधार पर साधारण न्यूनतम वर्ग (ओ.एल.एस.) समाश्रयण और उनके संबद्ध वर्गों का अवशिष्ट योग निम्नांकित है :
पहले 13 प्रेक्षणों के आधार पर समाश्रयण :
Ŷᵢ = 3.4094 + 0.6968 Xᵢ
(r² = 0.8887, RSS₁ = 377.17, df = स्वतंत्रकोटि = 11)
पिछले (या बाद के) 13 प्रेक्षणों के आधार पर समाश्रयण :
Ŷᵢ = -28.0272 + 0.7941 Xᵢ
(r² = 0.7681, RSS₂ = 1536.8, स्वतंत्रकोटि (df) = 11)
उपरोक्त दिये गये परिणामों के लिए विषम विचलितता की उपस्थिति की जाँच करें और अपना निष्कर्ष लिखें ।
(F_(11, 11, 5%) = 2.82, F_(11, 11, 1%) = 4.46, F_(13, 13, 5%) = 2.53, F_(13, 13, 1%) = 3.82) 20 अंक
Model answer
Drafted with AI by UPSC Answer Check against this question's marking rubric, to the expected length. UPSC does not publish answers for Mains — this is one way to score well, not an official key. How we build rubrics and answers.
(a) Principle of least squares and fitting of the trend y = a bᵗ c^(t²)
Principle: the best-fitting curve is the one for which the sum of squares of the deviations between the observed values and the fitted values is least. Squaring prevents positive and negative errors cancelling and penalises large errors. Differentiating the sum of squares with respect to each parameter and equating to zero gives the normal equations. Use in trend fitting: take time t as the independent variable and the series as the dependent variable, choose a trend form (straight line, parabola, exponential) and estimate its constants by least squares. Fitting y = a bᵗ c^(t²): Step 1: Take logarithms: log y = log a + t log b + t² log c, that is Y = A + Bt + Ct², with Y = log y, A = log a, B = log b and C = log c. Step 2: This is a parabola in the logarithms, so least squares gives the normal equations ΣY = nA + BΣt + CΣt², ΣtY = AΣt + BΣt² + CΣt³ and Σt²Y = AΣt² + BΣt³ + CΣt⁴. Step 3: Measuring t from the middle of the series makes Σt = Σt³ = 0, so A = (ΣY − CΣt²)/n, B = ΣtY/Σt² and C = [nΣt²Y − Σt²ΣY]/[nΣt⁴ − (Σt²)²]. Step 4: Recover a = antilog A, b = antilog B and c = antilog C.
(b) Stationary time series: definition, testing, importance and the three models
Definition: a series is (weakly) stationary if its mean and variance are constant and its autocovariance between Yₜ and Yₜ₊ₖ depends only on the lag k, not on time t. Testing: plot the series and its correlogram (autocorrelations of a stationary series die out quickly, those of a non-stationary one decay slowly), and apply a unit-root test such as the Dickey-Fuller test of H₀: δ = 1 in ΔYₜ = (δ − 1)Yₜ₋₁ + Uₜ. Importance: regressions between non-stationary series can be spurious (high R² with no real relation), the usual t and F tests become invalid, and a stationary series has stable relationships that can be forecast. Checking the models (Uₜ is white noise with variance σ²): (i) Yₜ = Yₜ₋₁ + Uₜ is a random walk: Yₜ = Y₀ + ΣUᵢ, so Var(Yₜ) = tσ², which grows with time. It is non-stationary. (ii) Yₜ = δ + Yₜ₋₁ + Uₜ is a random walk with drift: Yₜ = Y₀ + δt + ΣUᵢ. Both the mean δt and the variance tσ² change with t. It is non-stationary. (iii) Yₜ = δYₜ₋₁ + Uₜ is a first-order autoregression. For |δ| < 1, E(Yₜ) = 0, Var(Yₜ) = σ²/(1 − δ²) and the autocovariance is δᵏσ²/(1 − δ²), all independent of t. It is stationary when |δ| < 1; at δ = ±1 it has a unit root and is non-stationary.
(c) Detecting heteroscedasticity and the Goldfeld-Quandt test
Methods: plotting residuals against fitted values or a regressor; Park test; Glejser test; Spearman's rank correlation test; Goldfeld-Quandt test; Breusch-Pagan-Godfrey test; White's test. Goldfeld-Quandt test: order the observations by the variable suspected of causing the changing variance, omit c middle observations, fit separate regressions to the first and last groups, and compute F = RSS₂/RSS₁ with the larger RSS in the numerator, comparing it with F(n₂ − k, n₁ − k) degrees of freedom. Assumptions: errors are normally distributed and independent (no autocorrelation); the model is correctly specified; the error variance changes monotonically with the ordering variable; the number of observations omitted is small (about one-third). Application: H₀: equal error variance; H₁: the variance rises with income. Step 1: RSS₁ = 377·17 and RSS₂ = 1536·8, each with 11 degrees of freedom. Step 2: F = 1536·8/377·17 = 4·07. Step 3: The 5% critical value F(11, 11) is 2·82 and the 1% value is 4·46. Since 4·07 > 2·82, H₀ is rejected at 5%; since 4·07 < 4·46, it is not rejected at 1%. Conclusion: there is heteroscedasticity, with error variance rising with income, significant at the 5% level but not at the 1% level.
How this answer will be evaluated
Framework: UPSC Statistics Paper 2
What earns full marks: Complete derivations, correct tests, clear interpretation, all assumptions stated
Evaluation rubric
Each sub-part is marked on its own, against the marks and word limit printed on the paper.
- (a) Explain the principle of least squares and its use in fitting trend, and show the fitting of y=ab^t c^(t^2). 15 marks
explain— definition/context → points in order → small example → short close
Must cover
- Minimise sum of squared deviations; normal equations
- Logarithmic transform to Y=A+Bt+Ct^2
- Three normal equations; simplification with t measured from the middle
- Back-transform a, b, c by antilog
Loses marks
- Fitting directly without linearising.
Earns more
- Principle, transformation, normal equations and recovery of constants.
Extra mark
- Closed forms for A, B, C under mid-origin.
- (b) Define stationarity, explain testing and importance, and check the three models. 15 marks
define— precise definition → the distinguishing feature → one example
Must cover
- Constant mean, variance and lag-dependent autocovariance
- Correlogram and Dickey-Fuller unit-root test
- (i) and (ii) non-stationary with variance t sigma^2 and drift
- (iii) AR(1) stationary for |delta|<1, unit root at +-1
Loses marks
- Calling the drift model stationary; ignoring the delta=1 case.
Earns more
- Definition, tests, importance and correct verdict with reasoning for each model.
Extra mark
- Spurious regression explanation.
- (c) Describe methods to detect heteroscedasticity, explain Goldfeld-Quandt with assumptions, and apply it. 20 marks
explain— definition/context → points in order → small example → short close
Must cover
- List of tests: graphical, Park, Glejser, Spearman, GQ, BPG, White
- GQ procedure: order, omit central, two regressions, F=RSS2/RSS1
- Assumptions: normality, no autocorrelation, monotonic variance, correct specification
- F=4.07 vs 2.82 and 4.46: significant at 5% not 1%; heteroscedasticity present
Loses marks
- Using wrong degrees of freedom or concluding at 1%.
Earns more
- Complete listing, procedure, assumptions and correct application with level-specific conclusion.
Extra mark
- Direction of variance rising with income.
What "Explain" is asking you to do
Make the working of something clear — what sets it off, what follows from what, and what it produces. Explain is the Commission's mechanism word: it dominates the technical papers and the “explain why” stems, where the marks sit in the causal chain and not in the label.
Structure that answers it
State what it is → the initiating condition → the chain of cause, step by step → an instance where it plays out → what the chain produces
Where marks are lost
Describing what something looks like instead of why it works that way. Naming the stages without linking them reads as description too.
Practice this exact question
Write your answer and it is marked point by point against the model answer above — what you covered, what you missed, what you got wrong.
Evaluate my answer →More from Statistics 2023 Paper II
- Q3 (a) Solve the following Linear Programming problem using Two Phase method : Maximize Z =…
- Q4 (a) A Company ships truckloads of grain from three silos to four mills. The supply (in tr…
- Q5 (a) State and discuss the important points which have to be considered in the constructio…
- Q6 (a) Explain the principle of least squares. How it is used in fitting trend in time serie…
- Q7 7.(a) Derive, by starting from a suitable functional form for lₓ, the formula (i) Lₓ = (l…
- Q8 8.(a) Explain the method of collection of agriculture data. Describe the (i) official pub…