Browse papers
LevelBSc CSIT (TU)
StreamScience
SubjectStatistics II (BSc CSIT, STA210)
Year2082 BS
Exam sessionRegular (annual)
Full marks60
Time allowed180 minutes
Questions12, all with step-by-step solutions
A

Section A: Long Answer Questions

Attempt any TWO questions.

3 questions·10 marks each
1Long answer10 marks

The following sample data were collected to determine the relationship between two processing variables and the current gain of a transistor in an integrated circuit.

Diffusion time in hours (x1​) Sheet resistance ohm-cm (x2​) Current gain (y)

1.5 65 5.2

1.2 140 9.8

0.5 70 7.5

2.7 92 10.8

1.6 123 12.6

0.3 105 9.1

Multiple Linear Regression of Current Gain on Two Variables

We fit the model y^=b0+b1x1+b2x2\hat{y} = b_0 + b_1 x_1 + b_2 x_2 relating current gain yy to diffusion time x1x_1 and sheet resistance x2x_2.

Data and Required Sums (n=6n=6)

x1x_1x2x_2yyx12x_1^2x22x_2^2x1x2x_1x_2x1yx_1yx2yx_2y
1.5655.22.25422597.57.80338
1.21409.81.4419600168.011.761372
0.5707.50.25490035.03.75525
2.79210.87.298464248.429.16993.6
1.612312.62.5615129196.820.161549.8
0.31059.10.091102531.52.73955.5

Totals:

x1=7.8,  x2=595,  y=55.0\sum x_1=7.8,\;\sum x_2=595,\;\sum y=55.0 x12=13.88,  x22=63343,  x1x2=777.2\sum x_1^2=13.88,\;\sum x_2^2=63343,\;\sum x_1x_2=777.2 x1y=75.36,  x2y=5733.9\sum x_1y=75.36,\;\sum x_2y=5733.9

Corrected Sums of Squares and Products

S11=x12(x1)2n=13.887.826=13.8810.14=3.74S_{11}=\sum x_1^2-\tfrac{(\sum x_1)^2}{n}=13.88-\tfrac{7.8^2}{6}=13.88-10.14=3.74 S22=x22(x2)2n=6334359526=6334359004.17=4338.83S_{22}=\sum x_2^2-\tfrac{(\sum x_2)^2}{n}=63343-\tfrac{595^2}{6}=63343-59004.17=4338.83 S12=x1x2x1x2n=777.27.8×5956=777.2773.5=3.70S_{12}=\sum x_1x_2-\tfrac{\sum x_1\sum x_2}{n}=777.2-\tfrac{7.8\times595}{6}=777.2-773.5=3.70 S1y=x1yx1yn=75.367.8×556=75.3671.5=3.86S_{1y}=\sum x_1y-\tfrac{\sum x_1\sum y}{n}=75.36-\tfrac{7.8\times55}{6}=75.36-71.5=3.86 S2y=x2yx2yn=5733.9595×556=5733.95454.17=279.73S_{2y}=\sum x_2y-\tfrac{\sum x_2\sum y}{n}=5733.9-\tfrac{595\times55}{6}=5733.9-5454.17=279.73

Normal Equations (Solving for Slopes)

b1=S22S1yS12S2yS11S22S122,b2=S11S2yS12S1yS11S22S122b_1=\frac{S_{22}S_{1y}-S_{12}S_{2y}}{S_{11}S_{22}-S_{12}^2},\qquad b_2=\frac{S_{11}S_{2y}-S_{12}S_{1y}}{S_{11}S_{22}-S_{12}^2}

Denominator: S11S22S122=3.74×4338.833.702=16227.2213.69=16213.53S_{11}S_{22}-S_{12}^2 = 3.74\times4338.83-3.70^2 = 16227.22-13.69 = 16213.53.

b1=4338.83×3.863.70×279.7316213.53=16747.881035.016213.53=15712.8816213.530.969b_1=\frac{4338.83\times3.86-3.70\times279.73}{16213.53}=\frac{16747.88-1035.0}{16213.53}=\frac{15712.88}{16213.53}\approx 0.969 b2=3.74×279.733.70×3.8616213.53=1046.1914.2816213.53=1031.9116213.530.0636b_2=\frac{3.74\times279.73-3.70\times3.86}{16213.53}=\frac{1046.19-14.28}{16213.53}=\frac{1031.91}{16213.53}\approx 0.0636

Intercept: with x1ˉ=1.3,  x2ˉ=99.167,  yˉ=9.167\bar{x_1}=1.3,\;\bar{x_2}=99.167,\;\bar{y}=9.167,

b0=yˉb1x1ˉb2x2ˉ=9.1670.969(1.3)0.0636(99.167)=9.1671.2606.3071.60b_0=\bar{y}-b_1\bar{x_1}-b_2\bar{x_2}=9.167-0.969(1.3)-0.0636(99.167)=9.167-1.260-6.307\approx 1.60

Fitted Regression Equation

y^=1.60+0.969x1+0.0636x2\boxed{\hat{y}=1.60+0.969\,x_1+0.0636\,x_2}

Interpretation: Holding sheet resistance fixed, every additional hour of diffusion time raises current gain by about 0.97 units; holding diffusion time fixed, each extra ohm-cm of sheet resistance raises current gain by about 0.064 units. Both processing variables have a positive effect on the transistor's current gain.

2Long answer10 marks

Company A recently developed an epoxy painting process for corrosion protection on exhaust components. Mr.Y, the owner, wishes to determine whether the lengths of life for the paint are equal for three different conditions: saltwater, fresh-water without weeds, and freshwater with a heavy concentration of weeds. Accelerated-life tests were conducted in the laboratory, and the number of hours the paint lasted before peeling was recorded.

Condition Value 1 Value 2 Value 3 Value 4 Value 5

Saltwater 167.4 189.6 177.2 168.4 180.3

Freshwater without weeds 160.5 177.6 185.3 170.9 176.6

Fresh water with weeds 180.7 164.4 172.9 169.2 170.7

Use the Kruskal-Wallis test at 0.01 level of significance to determine whether the lasting quality of the paint is same for the three water conditions.

Kruskal-Wallis H-Test for Three Water Conditions

This is a non-parametric test of whether k=3k=3 independent samples come from identical populations (equal medians of paint-life).

Step 1 — Hypotheses

H0:the lasting quality (distribution of life) is the same for all three conditionsH_0:\text{the lasting quality (distribution of life) is the same for all three conditions} H1:at least one condition differsH_1:\text{at least one condition differs}

Level of significance α=0.01\alpha = 0.01.

Step 2 — Rank all 15 observations jointly (smallest = 1)

ValueGroupRank
160.5Fresh(no weeds)1
164.4Fresh(weeds)2
167.4Salt3
168.4Salt4
169.2Fresh(weeds)5
170.7Fresh(weeds)6
170.9Fresh(no weeds)7
172.9Fresh(weeds)8
176.6Fresh(no weeds)9
177.2Salt10
177.6Fresh(no weeds)11
180.3Salt12
180.7Fresh(weeds)13
185.3Fresh(no weeds)14
189.6Salt15

Step 3 — Rank sums (ni=5n_i=5 each, N=15N=15)

  • Saltwater: 3+4+10+12+15=R1=443+4+10+12+15 = R_1 = 44
  • Freshwater no weeds: 1+7+9+11+14=R2=421+7+9+11+14 = R_2 = 42
  • Freshwater with weeds: 2+5+6+8+13=R3=342+5+6+8+13 = R_3 = 34

Check: 44+42+34=120=N(N+1)/2=15×16/244+42+34 = 120 = N(N+1)/2 = 15\times16/2. ✓

Step 4 — Test statistic

H=12N(N+1)iRi2ni3(N+1)H=\frac{12}{N(N+1)}\sum_{i}\frac{R_i^2}{n_i}-3(N+1) =1215×16(4425+4225+3425)3(16)=\frac{12}{15\times16}\left(\frac{44^2}{5}+\frac{42^2}{5}+\frac{34^2}{5}\right)-3(16) =12240(1936+1764+11565)48=0.05×4856548=\frac{12}{240}\left(\frac{1936+1764+1156}{5}\right)-48=0.05\times\frac{4856}{5}-48 =0.05×971.248=48.5648=0.56=0.05\times971.2-48=48.56-48=\mathbf{0.56}

Step 5 — Critical value and decision

HH follows χ2\chi^2 with k1=2k-1 = 2 d.f. The critical value χ0.01,22=9.21\chi^2_{0.01,2} = 9.21.

Since Hcal=0.56<9.21H_{cal}=0.56 < 9.21, we fail to reject H0H_0.

Conclusion

At the 1% level of significance there is no evidence that the lasting quality of the paint differs among saltwater, freshwater without weeds and freshwater with weeds. The paint life may be regarded as the same across the three water conditions.

3Long answer10 marks

Differentiate between Z-test at t –test. Industrial wastes, sewage dumped into our rivers, streams absorb oxygen and thereby reduce the amount of dissolved oxygen available for fish and other forms of aquatic life. One state agency requires a minimum of 8 parts per million (ppm) of dissolved oxygen in order for the oxygen content to be sufficient to support aquatic life. Eight water specimens taken from a river at a specification location during the low-water season gave the readings 4.5, 5.1, 4.8, 4.9, 5.1, 4.9, 5.0 and 4.7 ppm of dissolved oxygen. Do the data provide sufficient evidence to indicate that the dissolved oxygen content is less than 5ppm? Use 5% level of significance.

Part A — Difference between Z-test and t-test

BasisZ-testt-test
Sample sizeLarge sample (n30n \ge 30)Small sample (n<30n < 30)
Population variance σ2\sigma^2Known (or large nn)Unknown, estimated by ss
Distribution usedStandard normal N(0,1)N(0,1)Student's tt with n1n-1 d.f.
ShapeFixed normal curveFlatter, heavier tails; depends on d.f.
StatisticZ=xˉμσ/nZ=\dfrac{\bar{x}-\mu}{\sigma/\sqrt{n}}t=xˉμs/nt=\dfrac{\bar{x}-\mu}{s/\sqrt{n}}
As nn\to\inftytt approaches ZZ

Part B — Test of Dissolved Oxygen Content

Sample: 4.5, 5.1, 4.8, 4.9, 5.1, 4.9, 5.0, 4.7 (n=8n=8, small sample, σ\sigma unknown → use t-test).

Step 1 — Hypotheses (one-tailed, left)

H0:μ=5 ppmH1:μ<5 ppmH_0:\mu = 5 \text{ ppm} \qquad H_1:\mu < 5 \text{ ppm}

α=0.05\alpha = 0.05.

Step 2 — Sample mean and s.d.

x=4.5+5.1+4.8+4.9+5.1+4.9+5.0+4.7=39.0\sum x = 4.5+5.1+4.8+4.9+5.1+4.9+5.0+4.7 = 39.0 xˉ=39.08=4.875\bar{x}=\frac{39.0}{8}=4.875

Deviations from xˉ\bar{x} and squares:

xxxxˉx-\bar{x}(xxˉ)2(x-\bar{x})^2
4.5-0.3750.140625
5.10.2250.050625
4.8-0.0750.005625
4.90.0250.000625
5.10.2250.050625
4.90.0250.000625
5.00.1250.015625
4.7-0.1750.030625
(xxˉ)2=0.295\sum(x-\bar{x})^2 = 0.295 s=(xxˉ)2n1=0.2957=0.04214=0.2053s=\sqrt{\frac{\sum(x-\bar{x})^2}{n-1}}=\sqrt{\frac{0.295}{7}}=\sqrt{0.04214}=0.2053

Step 3 — Test statistic

t=xˉμs/n=4.87550.2053/8=0.1250.07259=1.722t=\frac{\bar{x}-\mu}{s/\sqrt{n}}=\frac{4.875-5}{0.2053/\sqrt{8}}=\frac{-0.125}{0.07259}= -1.722

Step 4 — Critical value. For a left-tailed test, t0.05,7=1.895t_{0.05,\,7}= -1.895.

Step 5 — Decision. Since tcal=1.722>1.895t_{cal}=-1.722 > -1.895 (it does not fall in the rejection region), we fail to reject H0H_0.

Conclusion

At the 5% level there is insufficient evidence to conclude that the mean dissolved oxygen content is less than 5 ppm. The oxygen level may be regarded as adequate (μ=5\mu = 5 ppm) to support aquatic life.

B

Section B: Short Answer Questions

Attempt any EIGHT questions.

9 questions·5 marks each
4Short answer5 marks

A population consists of the four number 4, 7, 10 and 11. (i) Write down all possible samples of size 2 which can be drawn without replacement from this population. (ii) Find the mean of sampling distribution of means and show that it is equal to the population mean. (iii) Find the variance of sampling distribution of means. (iv) Find the standard error of sample mean.

Sampling Distribution of the Mean (Without Replacement)

Population: 4,7,10,114, 7, 10, 11 with N=4N=4, sample size n=2n=2.

Population mean: μ=4+7+10+114=324=8\mu = \dfrac{4+7+10+11}{4}=\dfrac{32}{4}=8.

(i) All Possible Samples of Size 2 (WOR)

Number of samples =(42)=6= \binom{4}{2}=6:

SampleValuesMean xˉ\bar{x}
14, 75.5
24, 107.0
34, 117.5
47, 108.5
57, 119.0
610, 1110.5

(ii) Mean of the Sampling Distribution of Means

μxˉ=xˉ6=5.5+7.0+7.5+8.5+9.0+10.56=486=8\mu_{\bar{x}}=\frac{\sum \bar{x}}{6}=\frac{5.5+7.0+7.5+8.5+9.0+10.5}{6}=\frac{48}{6}=8

Since μxˉ=8=μ\mu_{\bar{x}}=8=\mu, the mean of the sampling distribution of means equals the population mean. ✓

(iii) Variance of the Sampling Distribution of Means

σxˉ2=(xˉμxˉ)26\sigma^2_{\bar{x}}=\frac{\sum(\bar{x}-\mu_{\bar{x}})^2}{6}

Deviations from 8: 2.5,1.0,0.5,0.5,1.0,2.5-2.5,\,-1.0,\,-0.5,\,0.5,\,1.0,\,2.5; squares: 6.25,1.0,0.25,0.25,1.0,6.256.25,1.0,0.25,0.25,1.0,6.25; sum =15.0=15.0.

σxˉ2=15.06=2.5\sigma^2_{\bar{x}}=\frac{15.0}{6}=2.5

(Verification via the WOR formula: population variance σ2=(xμ)2N=16+1+4+94=7.5\sigma^2=\dfrac{\sum(x-\mu)^2}{N}=\dfrac{16+1+4+9}{4}=7.5, and σxˉ2=σ2nNnN1=7.5223=2.5\sigma^2_{\bar{x}}=\dfrac{\sigma^2}{n}\cdot\dfrac{N-n}{N-1}=\dfrac{7.5}{2}\cdot\dfrac{2}{3}=2.5. ✓)

(iv) Standard Error of the Sample Mean

S.E.(xˉ)=σxˉ2=2.5=1.581\text{S.E.}(\bar{x})=\sqrt{\sigma^2_{\bar{x}}}=\sqrt{2.5}=\mathbf{1.581}
5Short answer5 marks

Diet X runs a number of weight reduction centers within a large town in the north east of Nepal. From the historical data it was found that the weight of the participants is normally distributed with mean 76 kg and standard deviation 5.2 kg. Calculate the probability that the average sample weight is greater than 78 when 25 participants are randomly selected for the sample.

Probability for the Sample Mean (Central Limit Theorem)

Given: population mean μ=76\mu = 76 kg, population s.d. σ=5.2\sigma = 5.2 kg, sample size n=25n = 25. Weight is normally distributed, so xˉ\bar{x} is exactly normal.

Step 1 — Standard error of the mean

S.E.(xˉ)=σn=5.225=5.25=1.04 kg\text{S.E.}(\bar{x})=\frac{\sigma}{\sqrt{n}}=\frac{5.2}{\sqrt{25}}=\frac{5.2}{5}=1.04\text{ kg}

Step 2 — Standardize for xˉ=78\bar{x}=78

Z=xˉμσ/n=78761.04=21.04=1.923Z=\frac{\bar{x}-\mu}{\sigma/\sqrt{n}}=\frac{78-76}{1.04}=\frac{2}{1.04}=1.923

Step 3 — Required probability

P(xˉ>78)=P(Z>1.923)=0.5P(0<Z<1.92)P(\bar{x} > 78)=P(Z > 1.923)=0.5-P(0<Z<1.92)

From the standard normal table, P(0<Z<1.92)0.4726P(0<Z<1.92)\approx 0.4726.

P(xˉ>78)=0.50.4726=0.0274P(\bar{x} > 78)=0.5-0.4726=\mathbf{0.0274}

Conclusion

There is about a 2.74% chance that the average weight of a random sample of 25 participants exceeds 78 kg.

6Short answer5 marks

Define point and interval estimation. A sample poll of 1000 voters chosen at random from all voters in a given district indicated that 58% of them were in favor of a particular candidate. (i) Compute standard error of sample proportion of voters who are in favor of the candidate. (ii) Find 99% confidence limits for the proportion of all the voters in favor this candidate.

Part A — Point and Interval Estimation

Point estimation gives a single value (statistic) as the estimate of an unknown population parameter, e.g. the sample proportion pp estimates the population proportion PP.

Interval estimation gives a range (confidence interval) within which the parameter is expected to lie with a stated confidence level (1α)(1-\alpha), e.g. p±Zα/2S.E.(p)p \pm Z_{\alpha/2}\,\text{S.E.}(p). Unlike a point estimate, it indicates the precision/uncertainty of the estimate.

Part B — Estimation for a Proportion

Given: n=1000n=1000, sample proportion p=0.58p=0.58, so q=1p=0.42q=1-p=0.42.

(i) Standard error of the sample proportion

S.E.(p)=pqn=0.58×0.421000=0.24361000=0.0002436=0.01561\text{S.E.}(p)=\sqrt{\frac{pq}{n}}=\sqrt{\frac{0.58\times0.42}{1000}}=\sqrt{\frac{0.2436}{1000}}=\sqrt{0.0002436}=\mathbf{0.01561}

(ii) 99% Confidence limits

For 99% confidence, Zα/2=2.58Z_{\alpha/2}=2.58.

Limits=p±Zα/2S.E.(p)=0.58±2.58×0.01561\text{Limits}=p \pm Z_{\alpha/2}\cdot\text{S.E.}(p)=0.58 \pm 2.58\times0.01561 =0.58±0.0403=0.58 \pm 0.0403 Lower limit=0.5397,Upper limit=0.6203\boxed{\text{Lower limit}=0.5397,\quad \text{Upper limit}=0.6203}

Conclusion

We are 99% confident that the true proportion of all voters favoring the candidate lies between about 54.0% and 62.0%.

7Short answer5 marks

In study of 200 subjects with acute ankle sprains were tested to compare two treatment methods, one (called Treatment) with oxygen at 1.2 atmosphere absolute pressure and the other (called Control) with air at 1.9 atmosphere absolute pressure in hyperbaric chamber. The subjects were divided equally in a double-blind manner between the two methods of treatment. A seven points Ankle Function Score (AFS) was tested to evaluate the effectiveness of each method and higher AFS indicates higher level of recovery. At the end, the following information was gathered.

Control Treatment

Number of subjects 100 100

Mean AFS 5.4 6.5

Standard deviation of AFS 0.8 0.6

Using 5% level of significance, test whether treatment is better than control.

Two-Sample Z-Test for Difference of Means (Large Samples)

We test whether the Treatment (oxygen) gives a higher mean Ankle Function Score than the Control (air). Since n1=n2=100n_1=n_2=100 are large, use the Z-test.

Given:

ControlTreatment
nn100100
Mean AFSxˉC=5.4\bar{x}_C=5.4xˉT=6.5\bar{x}_T=6.5
s.d.sC=0.8s_C=0.8sT=0.6s_T=0.6

Step 1 — Hypotheses (one-tailed)

H0:μT=μCH1:μT>μC  (treatment is better)H_0:\mu_T=\mu_C \qquad H_1:\mu_T>\mu_C\;(\text{treatment is better})

α=0.05\alpha=0.05.

Step 2 — Standard error of the difference

S.E.=sT2nT+sC2nC=0.62100+0.82100=0.36+0.64100=0.01=0.1\text{S.E.}=\sqrt{\frac{s_T^2}{n_T}+\frac{s_C^2}{n_C}}=\sqrt{\frac{0.6^2}{100}+\frac{0.8^2}{100}}=\sqrt{\frac{0.36+0.64}{100}}=\sqrt{0.01}=0.1

Step 3 — Test statistic

Z=xˉTxˉCS.E.=6.55.40.1=1.10.1=11.0Z=\frac{\bar{x}_T-\bar{x}_C}{\text{S.E.}}=\frac{6.5-5.4}{0.1}=\frac{1.1}{0.1}=\mathbf{11.0}

Step 4 — Critical value and decision

For a right-tailed test at 5%, Z0.05=1.645Z_{0.05}=1.645.

Since Zcal=11.01.645Z_{cal}=11.0 \gg 1.645, we reject H0H_0.

Conclusion

At the 5% level of significance there is strong evidence that the treatment (oxygen at 1.2 ATA) produces a significantly higher Ankle Function Score than the control. The treatment is better than the control.

8Short answer5 marks

What is meant by a Randomized block design? What are the assumptions made in the analysis a randomized block design?

Randomized Block Design (RBD)

A Randomized Block Design is an experimental design in which the experimental units are first grouped into homogeneous blocks (so that units within a block are similar), and then the treatments are allotted at random to the units within each block. Each treatment appears once (or an equal number of times) in every block.

It is a two-way classification: variation is controlled by two factors — treatments and blocks. By isolating the block (e.g. soil-fertility strip, batch, day) variation from the error, RBD increases the precision of treatment comparisons compared with a completely randomized design.

Layout idea (3 treatments, 4 blocks):

          T-randomly assigned within each block
Block 1 : T2  T1  T3
Block 2 : T1  T3  T2
Block 3 : T3  T2  T1
Block 4 : T2  T3  T1

Linear Model

yij=μ+τi+βj+eijy_{ij}=\mu+\tau_i+\beta_j+e_{ij}

where μ\mu=overall mean, τi\tau_i=ithi^{th} treatment effect, βj\beta_j=jthj^{th} block effect, eije_{ij}=random error.

Assumptions in the Analysis of RBD

  1. The model is additive — treatment and block effects add up linearly with no interaction between blocks and treatments.
  2. The errors eije_{ij} are independent.
  3. The errors are normally distributed with mean zero, eijN(0,σ2)e_{ij}\sim N(0,\sigma^2).
  4. The errors have a common (constant) variance σ2\sigma^2 — homoscedasticity.
  5. Units within a block are homogeneous, while different blocks may differ.
  6. Treatments are assigned randomly within each block.
9Short answer5 marks

The following ANOVA summary table was obtained from a multiple regression model with two independent variables.

Source of Variation Sum of square Degree of freedom Mean sum of square F-value

Regression 60 ? ? ?

Error ? ? ?

Total 190 20

i) Fill in the blanks.

ii) Test the significance of the overall regression model at 5% level of significance.

ANOVA Table for Multiple Regression (2 Independent Variables)

Given: k=2k=2 independent variables, total SS =190=190, total d.f. =20=20 (so n=21n=21 observations), regression SS =60=60.

(i) Filling in the Blanks

Degrees of freedom:

  • Regression d.f. =k=2= k = 2
  • Total d.f. =n1=20= n-1 = 20
  • Error d.f. =202=18= 20 - 2 = 18

Sum of squares:

  • Error SS == Total SS - Regression SS =19060=130= 190 - 60 = 130

Mean squares:

  • MSR=SSR2=602=30MSR = \dfrac{SSR}{2}=\dfrac{60}{2}=30
  • MSE=SSE18=13018=7.222MSE = \dfrac{SSE}{18}=\dfrac{130}{18}=7.222

F-value:

F=MSRMSE=307.222=4.154F=\frac{MSR}{MSE}=\frac{30}{7.222}=4.154

Completed ANOVA Table

SourceSSd.f.MSSF
Regression602304.154
Error130187.222
Total19020

(ii) Test of Overall Significance (α=0.05\alpha = 0.05)

Hypotheses:

H0:β1=β2=0  (model not significant)H1:at least one βi0H_0:\beta_1=\beta_2=0\;(\text{model not significant})\qquad H_1:\text{at least one }\beta_i\neq 0

Critical value: F0.05,(2,18)=3.55F_{0.05,(2,18)}=3.55.

Decision: Since Fcal=4.154>3.55F_{cal}=4.154 > 3.55, we reject H0H_0.

Conclusion: At the 5% level of significance the overall regression model is statistically significant — the two independent variables together explain a significant portion of the variation in yy.

10Short answer5 marks

A study was conducted to determine the effect of early child care on infant-mother attachment patterns. In the study, 90 infants were classified as either "secure" or "anxious" using the Ainsworth strange situation paradigm. In addition, the infants were classified according to the average number of hours per week that they spent in child care. The data were presented in the table.

Low (0-5 hours) Moderate (6-19 hours) High (20-54)

Secure 21 35 5

Anxious 10 11 8

Do the data provide sufficient evidence to indicate that there is a difference in attachment pattern for the infants depending on the amount of the time spent in child care? Use 5% level of significance.

Chi-Square Test of Independence (Attachment vs Child-Care Time)

We test whether attachment pattern is independent of the amount of time spent in child care. This is a 2×32\times3 contingency table, N=90N=90.

Observed Frequencies

LowModerateHighRow total
Secure2135561
Anxious1011829
Col total31461390

Step 1 — Hypotheses

H0:attachment pattern is independent of child-care timeH_0:\text{attachment pattern is independent of child-care time} H1:attachment pattern depends on child-care timeH_1:\text{attachment pattern depends on child-care time}

α=0.05\alpha=0.05.

Step 2 — Expected frequencies E=row total×col totalNE=\dfrac{\text{row total}\times\text{col total}}{N}

LowModerateHigh
Secure61×3190=21.01\tfrac{61\times31}{90}=21.0161×4690=31.18\tfrac{61\times46}{90}=31.1861×1390=8.81\tfrac{61\times13}{90}=8.81
Anxious29×3190=9.99\tfrac{29\times31}{90}=9.9929×4690=14.82\tfrac{29\times46}{90}=14.8229×1390=4.19\tfrac{29\times13}{90}=4.19

Step 3 — Chi-square statistic   χ2=(OE)2E\;\chi^2=\sum\dfrac{(O-E)^2}{E}

CellOOEE(OE)2/E(O-E)^2/E
S-Low2121.010.0000
S-Mod3531.180.468
S-High58.811.648
A-Low109.990.0000
A-Mod1114.820.985
A-High84.193.466
χ2=0.468+1.648+0.985+3.466=6.567\chi^2 = 0.468+1.648+0.985+3.466 = \mathbf{6.567}

Step 4 — Critical value and decision

d.f. =(r1)(c1)=(21)(31)=2=(r-1)(c-1)=(2-1)(3-1)=2; χ0.05,22=5.991\chi^2_{0.05,2}=5.991.

Since χcal2=6.567>5.991\chi^2_{cal}=6.567 > 5.991, we reject H0H_0.

Conclusion

At the 5% level of significance there is sufficient evidence of a difference in attachment pattern depending on the amount of time spent in child care; attachment pattern and child-care time are not independent.

11Short answer5 marks

Define stochastic process. In a town each day is either sunny or rainy. A sunny day is followed by another sunny day with probability 0.8, whereas a rainy is followed by sunny day is with probability 0.4. If it rains on Sunday, make forecast for Monday and Tuesday.

Stochastic Process

A stochastic process is a collection of random variables {Xt:tT}\{X_t : t \in T\} indexed by a parameter tt (usually time), describing how a random system evolves. At each time point the state of the system is random, and the process specifies the probability law governing transitions between states. A Markov chain is a stochastic process in which the future state depends only on the present state (not the past).

Weather Forecast (Markov Chain)

States: Sunny (S), Rainy (R). Given transition probabilities:

  • P(SS)=0.8P(SR)=0.2P(S\to S)=0.8 \Rightarrow P(S\to R)=0.2
  • P(RS)=0.4P(RR)=0.6P(R\to S)=0.4 \Rightarrow P(R\to R)=0.6

Transition matrix (rows = today, columns = tomorrow):

P=SRS0.80.2R0.40.6P=\begin{array}{c|cc} & S & R\\\hline S & 0.8 & 0.2\\ R & 0.4 & 0.6\end{array}

Initial state (Sunday): it rains, so π0=(S,R)=(0,  1)\pi_0=(S,R)=(0,\;1).

Forecast for Monday (one step)

Starting from Rainy on Sunday, use the R-row:

P(Mon=S)=0.4,P(Mon=R)=0.6P(\text{Mon}=S)=0.4,\qquad P(\text{Mon}=R)=0.6

So Monday: 40% sunny, 60% rainy (more likely rainy).

Forecast for Tuesday (two steps)

π2=π1P=(0.4,  0.6)(0.80.20.40.6)\pi_2=\pi_1 P=(0.4,\;0.6)\begin{pmatrix}0.8&0.2\\0.4&0.6\end{pmatrix} P(Tue=S)=0.4(0.8)+0.6(0.4)=0.32+0.24=0.56P(\text{Tue}=S)=0.4(0.8)+0.6(0.4)=0.32+0.24=0.56 P(Tue=R)=0.4(0.2)+0.6(0.6)=0.08+0.36=0.44P(\text{Tue}=R)=0.4(0.2)+0.6(0.6)=0.08+0.36=0.44

So Tuesday: 56% sunny, 44% rainy (more likely sunny).

12Short answer5 marks

Write short notes on:

i) Parametric and non parametric test.

ii) Type I and type II error in testing of hypothesis

(i) Parametric and Non-Parametric Tests

Parametric tests are statistical tests that assume the data come from a population following a specific distribution (usually normal) and involve population parameters (mean, variance). They require quantitative data measured on interval/ratio scales.

  • Examples: Z-test, t-test, F-test, ANOVA.
  • Merits: more powerful when assumptions hold; use all information in the data.

Non-parametric (distribution-free) tests make no assumption about the form of the population distribution and are based on ranks/signs/counts. They suit ordinal/nominal data and small samples.

  • Examples: Chi-square test, Mann-Whitney U, Kruskal-Wallis, sign test.
  • Merits: fewer assumptions, applicable to qualitative data; Demerit: less powerful than parametric tests when normality holds.
BasisParametricNon-parametric
Distribution assumptionRequired (e.g. normal)Not required
Data typeInterval/ratioNominal/ordinal also
PowerHigher (when valid)Lower

(ii) Type I and Type II Errors

In testing a hypothesis, two kinds of wrong decisions are possible:

Type I error (α): Rejecting the null hypothesis H0H_0 when it is actually true.

α=P(reject H0H0 true)\alpha = P(\text{reject } H_0 \mid H_0 \text{ true})

It is the level of significance; e.g. convicting an innocent person.

Type II error (β): Accepting (failing to reject) H0H_0 when it is actually false.

β=P(accept H0H0 false)\beta = P(\text{accept } H_0 \mid H_0 \text{ false})

The quantity 1β1-\beta is the power of the test; e.g. acquitting a guilty person.

DecisionH0H_0 TrueH0H_0 False
Reject H0H_0Type I error (α\alpha)Correct (1β1-\beta, power)
Accept H0H_0Correct (1α1-\alpha)Type II error (β\beta)

Reducing α\alpha generally increases β\beta; both can be lowered by increasing the sample size.

Frequently asked questions

Where can I find the BSc CSIT (TU) Statistics II (BSc CSIT, STA210) question paper 2082?
The full BSc CSIT (TU) Statistics II (BSc CSIT, STA210) 2082 (Regular (annual)) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Statistics II (BSc CSIT, STA210) 2082 paper come with solutions?
Yes. Every question on this Statistics II (BSc CSIT, STA210) past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the BSc CSIT (TU) Statistics II (BSc CSIT, STA210) 2082 paper?
The BSc CSIT (TU) Statistics II (BSc CSIT, STA210) 2082 paper carries 60 full marks and is meant to be completed in 180 minutes, across 12 questions.
Is practising this Statistics II (BSc CSIT, STA210) past paper free?
Yes — reading and attempting this Statistics II (BSc CSIT, STA210) past paper on Kekkei is completely free.