TU BSc Statistics Fourth-Year Lessons
Cross Sectional Regression Fit: STA404 Practice 1
Explore Cross Sectional Regression Fit: STA404 Practice 1 in a clearer, student-friendly format with practical details and next steps for learners in Nepal.
Cross Sectional Regression Fit is part of Statistical Modeling Practical (STA404 Practice 1) in the Tribhuvan University BSc fourth-year Statistics syllabus. Work through the example, then attempt the practice question before opening the answer.

Cross Sectional Regression Fit concepts
Begin with a scatter plot of distinct units measured in the same reference period. Identify the outcome and predictor, then compute centred sums Sxx and Sxy. Fit b=Sxy/Sxx and a=ȳ−bx̄. Calculate residuals and compare them against the fitted values to look for curvature or changes in spread.
Cross Sectional Regression Fit worked example
Observations (0,1),(1,4),(2,4) have means 1 and 3. Sxy=3 and Sxx=2, giving ŷ=1.5+1.5x. Residuals are −0.5, 1 and −0.5, so SSE=1.5.
Cross Sectional Regression Fit practice
Fit a line to (1,2),(2,5),(3,6) and find the residual at x=2.
Show the answer and reasoning
The means are 2 and 13/3. Sxy=4 and Sxx=2, so b=2 and a=1/3. The fitted value at x=2 is 13/3 and the residual is 5−13/3=2/3.
Check your reasoning
Residuals in an intercept model should sum to zero up to numerical rounding.
Continue studying STA404
- Next lesson: Pure error and a regression lack-of-fit test
- All fourth-year lessons in the Statistics guide
Official TU IoST syllabus · TU BSc fourth-year syllabus guide
The numbers are illustrative practice data. For assessed work, use the data and reporting instructions supplied by your department.
Expert guidance in Kathmandu
Plan your next step with MKS Education
Ask about physical, online and hybrid classes, class recordings, separate LMS access, the computer lab and well-equipped classrooms.
- Call: 9818173800 / 01-5921177
- Email: [email protected]
- Visit: Putalisadak, Kathmandu
