(SEM V) THEORY EXAMINATION 2023-24 STATISTICAL COMPUTING

B.Tech Engineering 0 downloads
₹29.00

SECTION A – Short Answers (2 × 10 = 20 Marks)


(a) Significance of Measures of Dispersion

Measures of dispersion describe how data values are spread around the mean.

Help identify variability, reliability, and consistency of data.

Examples:

Range = Max − Min → simple but affected by outliers.

Standard Deviation (SD) → average distance from mean; best for normally distributed data.
Difference: SD is more robust; range gives only extremes.


(b) Concept of Mean

The mean (average) is the sum of all values divided by the number of observations:

Xˉ=∑Xin\bar{X} = \frac{\sum X_i}{n}Xˉ=n∑Xi​​

Advantages: Simple, widely used, uses all data points.
Limitations: Affected by extreme values (outliers).


(c) Correlation and Its Significance

Correlation measures the degree of relationship between two variables (X & Y).

Positive correlation: both increase together (e.g., height & weight).

Negative correlation: one increases while the other decreases (e.g., speed & travel time).
Significance: Helps in prediction and understanding relationships.


(d) Inference Procedure for Correlation Coefficient

Steps:

State H0:ρ=0H_0: ρ = 0H0​:ρ=0 (no correlation).             Compute sample correlation rrr.

Calculate test statistic:                                 t=rn−21−r2t = \frac{r\sqrt{n-2}}{\sqrt{1-r^2}}t=1−r2​rn−2​​

Compare with t-critical value → accept/reject H0H_0H0​.
Importance: Ensures correlation isn’t due to chance.


(e) Bivariate vs Simple Correlation


Simple correlation: between two variables (X, Y).

Bivariate correlation: includes simultaneous analysis of two or more related variables.
Example: Relationship between height–weight (simple) vs height–weight–age (bivariate).


(f) Linear Regression

Regression estimates the relationship between dependent (Y) and independent (X) variable:

Y=a+bXY = a + bXY=a+bX

where
b=n∑XY−(∑X)(∑Y)n∑X2−(∑X)2b = \frac{n\sum XY - (\sum X)(\sum Y)}{n\sum X^2 - (\sum X)^2}b=n∑X2−(∑X)2n∑XY−(∑X)(∑Y)​,
a=Yˉ−bXˉa = \bar{Y} - b\bar{X}a=Yˉ−bXˉ.
Slope (b) shows rate of change in Y per unit X.


(g) Simple vs Multiple Regression

FeatureSimpleMultiple
Variables1 dependent, 1 independent1 dependent, ≥2 independent
EquationY = a + bXY = a + b₁X₁ + b₂X₂ + …
UseSimple relationsMultivariate impact
Reason to use Multiple Regression: To study influence of several predictors.  

(h) Correlation Coefficient (X: 10,15,20,25; Y: 60,75,80,90)

r=nΣXY−(ΣX)(ΣY)[nΣX2−(ΣX)2][nΣY2−(ΣY)2]r = \frac{nΣXY - (ΣX)(ΣY)}{\sqrt{[nΣX^2 - (ΣX)^2][nΣY^2 - (ΣY)^2]}}r=[nΣX2−(ΣX)2][nΣY2−(ΣY)2]​nΣXY−(ΣX)(ΣY)​

After calculation:
r≈0.97r ≈ 0.97r≈0.97 → Strong positive correlation.


(i) Regression Line (Y on X)              Given X = [2,4,6,8], Y = [5,8,11,14]:
Slope:

b=Σ(X−Xˉ)(Y−Yˉ)Σ(X−Xˉ)2=1.5b = \frac{Σ(X - \bar{X})(Y - \bar{Y})}{Σ(X - \bar{X})^2} = 1.5b=Σ(X−Xˉ)2Σ(X−Xˉ)(Y−Yˉ)​=1.5

Intercept:

a=Yˉ−bXˉ=2a = \bar{Y} - b\bar{X} = 2a=Yˉ−bXˉ=2    Equation: Y=2+1.5XY = 2 + 1.5XY=2+1.5X


(j) Probability of Queen given Face Card            Face cards = 12 (J,Q,K of 4 suits) → 4 queens.

P(Q∣F)=412=13P(Q|F) = \frac{4}{12} = \frac{1}{3}P(Q∣F)=124​=31​ 


SECTION B – Descriptive Questions (Any 3 × 10 = 30 Marks)

(a) Singular Value Decomposition (SVD)

Decomposes matrix BBB as                                                B=UΣVTB = UΣV^TB=UΣVT

Σ (Sigma): diagonal matrix of singular values.                  U, V: orthogonal matrices.
Significance:

Helps in dimensionality reduction, noise removal, and data compression.

Retaining top-k singular values ≈ low-rank approximation.


(b) Multiple Regression Analysis

Model:                              Y=β0+β1X1+β2X2+εY = β_0 + β_1X_1 + β_2X_2 + εY=β0​+β1​X1​+β2​X2​+ε

Interpretation:                  βiβ_iβi​: effect of XiX_iXi​ on Y holding others constant.

Goodness of fit by R2R^2R2.
Example: predicting house price using area & location.


(c) Randomization Test (Two Teaching Methods)

Steps:

Combine all scores from both groups.     Randomly reassign into new groups (15 & 20 students).

Calculate mean difference repeatedly (e.g., 10,000 trials).

Compare observed difference vs simulated distribution.
→ If p<0.05p < 0.05p<0.05, teaching methods differ significantly.


(d) Principal Component Analysis (PCA)

Standardize data.      Compute covariance matrix.         Find eigenvalues & eigenvectors.

Principal components = eigenvectors with largest eigenvalues.
Use: Reduces variables → keeps most variance.


(e) 95% Confidence Interval

Given:
n = 50, Xˉ=15\bar{X}=15Xˉ=15, s=3s=3s=3,

CI=Xˉ±zα/2sn=15±1.96×37.07CI = \bar{X} ± z_{\alpha/2}\frac{s}{\sqrt{n}} = 15 ± 1.96 \times \frac{3}{7.07}CI=Xˉ±zα/2​n​s​=15±1.96×7.073​ CI=15±0.83⇒(14.17, 15.83)CI = 15 ± 0.83 \Rightarrow (14.17,\ 15.83)CI=15±0.83⇒(14.17, 15.83) 


SECTION C – Long Questions (Any 1 from each)


3(a) Monte Carlo Simulation

Generate 1000 random samples (n=30, σ=10) under H₀: μ=50.
Compute sample mean each time and check how often sample mean exceeds 95% critical limit → estimate p-value.
Reject H₀ if p < 0.05.


3(b) Markov Chains in MCMC

Markov Chain: Process where next state depends only on current state.

MCMC (e.g., Metropolis-Hastings, Gibbs sampling): draws samples from complex distributions.

Convergence: chain must reach stationary distribution for valid inference.


4(a) Monte Carlo Hypothesis Testing

Simulate sampling distribution of test statistic under H₀ to estimate p-value.
Advantages:

Works with non-normal or small samples.      No strict parametric assumptions.


4(b) Jackknife Resampling

Systematically leave one observation out at a time, compute statistic θiθ_iθi​, and average:

θ^jack=nθˉ−(n−1)θ−iˉ\hat{θ}_{jack} = n\bar{θ} - (n-1)\bar{θ_{-i}}θ^jack​=nθˉ−(n−1)θ−i​ˉ​

Provides estimates for bias and variance.


5(a) Permutation Test

Randomly shuffle group labels (A, B) and recompute mean difference repeatedly.
Count how often simulated |Δ| ≥ observed 2.5 → gives p-value.


6(a) 5-Fold Cross Validation

Mean Squared Errors = 12, 15, 10, 18, 14

MSEavg=12+15+10+18+145=13.8MSE_{avg} = \frac{12+15+10+18+14}{5} = 13.8MSEavg​=512+15+10+18+14​=13.8 


6(b) History of R Language

Created by Ross Ihaka and Robert Gentleman (1993).     Inspired by S language (Bell Labs).

1997: R Core Team formed.                                                 2000: R 1.0.0 released.

Now maintained by R Foundation, used for data science, stats, and ML.

7(a) R Workspace Commands

 

# Save vector x <- c(2, 4, 6, 8, 10) save(x, file = "mydata.RData") # List variables in workspace ls() # Load and display values load("mydata.RData") print(x) 

7(b) Vector and Matrix Creation in R

 

# Define vector v <- c(1, 2, 3, 4, 5) # Create 3x2 matrix from vector m <- matrix(v, nrow=3, ncol=2) # Display both print(v) print(m)

File Size
168.07 KB
Uploader
SuGanta International

Featured educators

Meet our verified teachers

Browse profiles with clear experience, subjects, and availability—then open the full profile in SuGanta.

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduation from ASU and appear in B.Ed. from MGKVP on aided seat. I have 2 years experience in academic class (Future Shapers C...

Both Online & Offline · Member since 2026

A-Level Chemistry A-Level Mathematics

Subjects

2

Experience

5 Years

Hourly

₹201-300

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and intermediate students all my students till today are 90% grade. Even an average student got 90%

Both Online & Offline · Member since 2026

A-Level Mathematics Advanced Chemistry (Secondary) +3

Subjects

5

Experience

10 Years

Hourly

₹501-600

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapur Maharashtra India, St Paul’s H.S Hyderabad, Fiitjee school Narayanaguda. I have handled students of different age gr...

Online Only · Member since 2026

A-Level Biology A-Level Physics +8

Subjects

10

Experience

30+ Years

Hourly

₹501-600

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the right guidance. I offer dedicated tutoring for 10th-grade students, covering everything from foundational basics to advanced...

Both Online & Offline · Member since 2026

Advanced Mathematics (Middle School) Advanced Mathematics (Secondary) +6

Subjects

8

Experience

5 Years

Hourly

₹401-500

Divyank Gautam

Divyank Gautam

Pune, Maharashtra

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student problems and accordingly innovate teaching methodology.

Private tutor · Member since 2026

Subjects

—

Experience

—

Status

—

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

SEO Training Near Noida Sector 93 – Learn Search Engine Op... Sector 93, Greater Noida
Data Analytics Training Near Noida Sector 94 – Learn Data... Greater Noida
SEO Training Near Noida Sector 95 – Learn Search Engine Op... Greater Noida
Digital Marketing Classes Near Noida Sector 96 – Learn Mod... Greater Noida
Graphic Designing Classes Near Noida Sector 97 – Learn Cre... Sector 97, Greater Noida
Digital Marketing Classes Near Noida Sector 98 – Learn Mod... Expressway, Sector 98, Noida, Greater Noid...
Graphic Designing Classes Near Noida Sector 99 – Learn Cre... Greater Noida
App Development Classes Near Noida Sector 100 – Learn Mobi... Sector 100, Greater Noida
Web Development Classes Near Noida Sector 101 – Learn Codi... Greater Noida
App Development Classes Near Noida Sector 102 – Complete G... Greater Noida
Web Development Classes Near Noida Sector 103 – Complete G... Greater Noida
TOEFL Coaching Near Noida Sector 104 – Complete Preparatio... Sector 104, Greater Noida
IELTS Coaching Near Noida Sector 105 – Complete Guide for... Greater Noida
TOEFL Coaching Near Noida Sector 106 – Complete Guide for... Greater Noida
IELTS Coaching Near Noida Sector 107 – Expert Training for... Greater Noida
Public Speaking Training Near Sector 108 Noida – Build Con... Greater Noida
Public Speaking Training Near Sector 109 Noida – Improve C... Greater Noida
🇯🇵 Japanese Language Classes Near Sector 110 Noida – Learn... Sector 110, Greater Noida
🇪🇸 Spanish Language Classes Near Sector 111 Noida – Learn... Greater Noida
🇫🇷 French Language Classes Near Sector 112 Noida – Learn F... Greater Noida
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

SHASTRI'S PHYSICS CLASSES, NAGPUR

Type

Coaching Center

SHASTRI'S PHYSICS CLASSES, NAGPUR

Nagpur, Maharashtra

Best Physics Classes in Nagpur | Shastri's Physics Classes offers expert coaching for CBSE. MS-BOARD, NEET, JEE, MHT-CET, 11th & 12th Physics. Clear concepts, regular tests & personal doubt solving. J...

Private · Est. 2021-Present

Students

51-100

Teachers

1-10

Branches

1

Réussi Academy of languages

Type

Coaching Center

Réussi Academy of languages

Geeta Bhawan Square, Indore, Madhya pradesh

Excellence in Language. Leadership in Results. With over 18 years of distinguished experience, Réussi Academy of Language stands as a trusted name in foreign language and communication training. Foun...

Private · Est. 2021-Present

Students

1-50

Teachers

1-10

Branches

1

IGS Institute

Type

Coaching Center

IGS Institute

Sector 22, Noida, Uttar Pradesh

IGS Institute provide classes for SSC, Bank, Railway, Police, NDA, Airforce Group X and Group Y, Teaching exams. IGS - Institute for Government Services providing classes since 2018 to the students.

Private · Est. 2011-2020

Students

51-100

Teachers

1-10

Branches

1

Krishna home tutor

Type

School

Krishna home tutor

New Delhi, New Delhi

Hi everyone, Krishna home tutor. Providing tutors for all subjects and classes since 2001.

Private · Est. 2001-2010

Students

201-500

Teachers

76-100

Branches

1

Edustunt Tuition Centre

Type

Coaching Center

Edustunt Tuition Centre

Hoshiarpur, Punjab

We provide online& offline tuition classes,doubt clearance sessions & exam preparation services for students from school level to university level.

Private · Est. 2021-Present

Students

1-50

Teachers

1-10

Branches

1