Skip to main content

Chapter 5

Statistics and Probability: correlation (Karl Pearson, rank) and regression lines; conditional probability

NEB Class 12 past exam questions

Past questions and answers

19 questions set from this chapter. Most repeated first.

  • 2083 Baishakh · 1 mark

A and B are dependent events. , and , which one of the following is ?

Answer

P(A∩B)=P(A)⋅P(B∣A)P(A \cap B) = P(A) \cdot P(B \mid A)

For dependent events, the multiplication theorem gives P(A∩B)=P(A)⋅P(B∣A)P(A \cap B) = P(A) \cdot P(B \mid A) (equivalently P(B)⋅P(A∣B)P(B) \cdot P(A \mid B)). The product P(A)⋅P(B)P(A) \cdot P(B) holds only when the events are independent.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 1 MCQ

Loading…

  • 2083 Baishakh · 3+2 marks

The height in inches (X) and weight in kg (Y) of 7 students are given below:
Height (X)60616263646566
Weight (Y)62636164666764
Find the correlation coefficient between X and Y and also find regression coefficient of X on Y.

Answer

Take assumed means 6363 for XX and 6464 for YY: u=X−63u=X-63, v=Y−64v=Y-64.

XXYYuuvvu2u^2v2v^2uvuv
6062-3-2946
6163-2-1412
6261-1-3193
636400000
646612142
656723496
666430900
Total0-1282719

Here n=7n=7, ∑u=0\sum u=0, ∑v=−1\sum v=-1, ∑u2=28\sum u^2=28, ∑v2=27\sum v^2=27, ∑uv=19\sum uv=19.

Correlation coefficient

r=∑uv−∑u∑vn(∑u2−(∑u)2n)(∑v2−(∑v)2n)=1928×1887=19752≈0.693r=\frac{\sum uv-\frac{\sum u\sum v}{n}}{\sqrt{\left(\sum u^2-\frac{(\sum u)^2}{n}\right)\left(\sum v^2-\frac{(\sum v)^2}{n}\right)}} =\frac{19}{\sqrt{28\times\frac{188}{7}}}=\frac{19}{\sqrt{752}}\approx0.693

Regression coefficient of XX on YY

bxy=∑uv−∑u∑vn∑v2−(∑v)2n=19188/7=133188≈0.707b_{xy}=\frac{\sum uv-\frac{\sum u\sum v}{n}}{\sum v^2-\frac{(\sum v)^2}{n}}=\frac{19}{188/7}=\frac{133}{188}\approx0.707

So r≈0.693r\approx0.693 (moderate positive correlation) and bxy≈0.707b_{xy}\approx0.707.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 Baishakh · 1 mark

If P(A)=0.3P(A) = 0.3, P(B)=0.4P(B) = 0.4 and P(A∩B)=0.12P(A \cap B) = 0.12, which one of the following is P(A∣B)P(A|B)? (a) 0.30.3 (b) 0.40.4 (c) 0.120.12 (d) 0.70.7

Answer

(a) 0.30.3

Since P(A∣B)=P(A∩B)P(B)=0.120.4=0.3P(A|B)=\dfrac{P(A\cap B)}{P(B)}=\dfrac{0.12}{0.4}=0.3.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 1 MCQ

Loading…

  • 2082 Baishakh · 2+3 marks

Consider the following data for supply (XX) and the price (YY) of a commodity for last six years.
Year in B.S.207520762077207820792080
Supply (X)455056626570
Price (Y)657075808590
a. [2] Find the correlation coefficient between XX and YY.
b. [3] Calculate the supply when the price of commodity is Rs. 150.

Answer

Let XX = supply and YY = price, n=6n=6.

XXYYX2X^2Y2Y^2XYXY
4565202542252925
5070250049003500
5675313656254200
6280384464004960
6585422572255525
7090490081006300
348465206303647527410

a.

r=n∑XY−∑X∑Y[n∑X2−(∑X)2][n∑Y2−(∑Y)2]=6(27410)−348(465)(6⋅20630−3482)(6⋅36475−4652)r=\frac{n\sum XY-\sum X\sum Y}{\sqrt{[n\sum X^2-(\sum X)^2][n\sum Y^2-(\sum Y)^2]}} =\frac{6(27410)-348(465)}{\sqrt{(6\cdot20630-348^2)(6\cdot36475-465^2)}}

r=26402676×2625=26402650.4≈0.996r=\frac{2640}{\sqrt{2676\times2625}}=\frac{2640}{2650.4}\approx0.996

There is a very high positive correlation.

b. To estimate supply from price, use the regression of XX on YY:

bxy=n∑XY−∑X∑Yn∑Y2−(∑Y)2=26402625=1.0057b_{xy}=\frac{n\sum XY-\sum X\sum Y}{n\sum Y^2-(\sum Y)^2}=\frac{2640}{2625}=1.0057

Xˉ=3486=58,Yˉ=4656=77.5\bar X=\frac{348}{6}=58,\qquad\bar Y=\frac{465}{6}=77.5

X−58=1.0057(Y−77.5)X-58=1.0057(Y-77.5)

For Y=150Y=150:

X=58+1.0057(72.5)=58+72.91≈130.9X=58+1.0057(72.5)=58+72.91\approx130.9

The estimated supply is about 131131 units when the price is Rs 150.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 Supplementary · 1 mark

Which is the correct relation between the variable and if xx represents production of milk and yy represents consumption of milk daily for . (a) Increase in , increase in (b) Increase in , decrease in (c) Decrease in , increase in (d) Neither increase in , nor decrease in

Answer

(a) Increase in x, increase in y

Production and consumption of milk move together — as more milk is produced, more is consumed — so the two variables are positively correlated.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 Supplementary · 3 marks

From the following data of rainfall and rice production, find the rainfall (mm) corresponding to production of 90 quintals of rice.

Answer

Let xx = rainfall (mm) and yy = rice production (quintals). Since rainfall is to be estimated from production, use the regression line of xx on yy.

xx2025303540
yy4050607080

n=5n=5, ∑x=150\sum x=150, ∑y=300\sum y=300, ∑y2=19000\sum y^2=19000, ∑xy=9500\sum xy=9500.

bxy=n∑xy−∑x∑yn∑y2−(∑y)2=5(9500)−150(300)5(19000)−3002=25005000=0.5b_{xy}=\frac{n\sum xy-\sum x\sum y}{n\sum y^2-(\sum y)^2}=\frac{5(9500)-150(300)}{5(19000)-300^2}=\frac{2500}{5000}=0.5

xˉ=30,yˉ=60\bar x=30,\qquad\bar y=60

x−xˉ=bxy(y−yˉ)  ⇒  x−30=0.5(y−60)  ⇒  x=0.5yx-\bar x=b_{xy}(y-\bar y)\;\Rightarrow\;x-30=0.5(y-60)\;\Rightarrow\;x=0.5y

For y=90y=90: x=0.5×90=45x=0.5\times90=45.

The rainfall corresponding to 9090 quintals of rice is 45 mm.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2082 Supplementary · 2 marks

A Class consists of 20 boys and 30 girls. If two student are chosen at random what is the probability that one boy and one girl are chosen?

Answer

Total students =20+30=50=20+30=50.

Ways to choose 2 students: (502)=1225\dbinom{50}{2}=1225.

Ways to choose 1 boy and 1 girl: (201)(301)=600\dbinom{20}{1}\dbinom{30}{1}=600.

P=6001225=2449P=\frac{600}{1225}=\frac{24}{49}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 Baishakh · 1 mark

In a school there were 100 students, 35% students failed in mathematics, 20% students failed in science and 15% failed in both the subjects. A student selected at random, the probability of the student fail in mathematics given that failed in science already is (a) 3/7 (b) 4/7 (c) 3/4 (d) 1/4

Answer

(c) 3/43/4

P(M∣S)=P(M∩S)P(S)=15%20%=1520=34P(M\mid S)=\dfrac{P(M\cap S)}{P(S)}=\dfrac{15\%}{20\%}=\dfrac{15}{20}=\dfrac34.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2081 Baishakh · 5 marks

The supply and price of a commodity for the last six year is given below.
Price in Rs. per kg100110112115120140
Supply in kg304045205555
a. [ 2 ] Find the coefficient of correlation between price and supply.
b. [ 3 ] Estimate supply in kg on which rate of price is Rs 150.

Answer

Let price be xx and supply be yy.

xxyyx2x^2y2y^2xyxy
10030100009003000
110401210016004400
112451254420255040
11520132254002300
120551440030256600
140551960030257700
Total245818691097529040

Here, n=6n=6, ∑x=697\sum x=697, ∑y=245\sum y=245, ∑x2=81869\sum x^2=81869, ∑y2=10975\sum y^2=10975, ∑xy=29040\sum xy=29040.

a. Coefficient of correlation

Karl Pearson’s coefficient of correlation is

r=n∑xy−∑x∑y[n∑x2−(∑x)2][n∑y2−(∑y)2]r=\frac{n\sum xy-\sum x\sum y}{\sqrt{\left[n\sum x^2-(\sum x)^2\right]\left[n\sum y^2-(\sum y)^2\right]}}

Substituting the values,

r=6(29040)−697(245)[6(81869)−6972][6(10975)−2452]r=\frac{6(29040)-697(245)}{\sqrt{\left[6(81869)-697^2\right]\left[6(10975)-245^2\right]}}

r=174240−170765(491214−485809)(65850−60025)r=\frac{174240-170765}{\sqrt{(491214-485809)(65850-60025)}}

r=34755405×5825r=\frac{3475}{\sqrt{5405\times 5825}}

r=34755611.07=0.6193r=\frac{3475}{5611.07}=0.6193

r=0.6193\boxed{r=0.6193}

So, there is a moderate positive correlation between price and supply.

b. Estimate supply when price is Rs 150 per kg

Since supply is to be estimated from price, we use the regression line of yy on xx:

y=a+bxy=a+bx

where

b=n∑xy−∑x∑yn∑x2−(∑x)2b=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}

b=34755405=0.6429b=\frac{3475}{5405}=0.6429

Also,

a=yˉ−bxˉa=\bar y-b\bar x

xˉ=6976=116.1667,yˉ=2456=40.8333\bar x=\frac{697}{6}=116.1667,\qquad \bar y=\frac{245}{6}=40.8333

a=40.8333−0.6429(116.1667)a=40.8333-0.6429(116.1667)

a=−33.8529a=-33.8529

Hence the regression equation is

y=−33.8529+0.6429xy=-33.8529+0.6429x

For price x=150x=150,

y=−33.8529+0.6429(150)y=-33.8529+0.6429(150)

y=−33.8529+96.4385y=-33.8529+96.4385

y=62.5856y=62.5856

Estimated supply≈62.59 kg\boxed{\text{Estimated supply}\approx 62.59\text{ kg}}

So, when the price is Rs 150 per kg, the estimated supply is about 62.59 kg.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 Baishakh · 1 mark

Consider A and B be two dependent events. If , and , what is ? a. 152\frac{1}{52} b. 126\frac{1}{26} c. 113\frac{1}{13} d. 12\frac{1}{2}

Answer

(c) 113\dfrac1{13}

The values in the question are missing; the intended data are P(A)=14P(A)=\tfrac14 and P(B∣A)=413P(B\mid A)=\tfrac4{13}. For dependent events the multiplication rule gives

P(A∩B)=P(A) P(B∣A)=14×413=113P(A\cap B)=P(A)\,P(B\mid A)=\frac14\times\frac4{13}=\frac1{13}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2080 Baishakh · 3+2 marks

The height (x) in cm and weight (y) in kg are given for 5 persons in a community.
X160162165161162
Y6362646061
Find the correlation coefficient between X and Y and regression coefficient Y on X.

Answer

xˉ=8105=162\bar x=\dfrac{810}{5}=162, yˉ=3105=62\bar y=\dfrac{310}{5}=62. Let dx=x−162dx=x-162, dy=y−62dy=y-62.

xxyydxdxdydydx2dx^2dy2dy^2dx dydx\,dy
16063-2141-2
1626200000
1656432946
16160-1-2142
162610-1010
Total14106

Correlation coefficient

r=∑dx dy∑dx2∑dy2=6140≈0.507r=\frac{\sum dx\,dy}{\sqrt{\sum dx^2\sum dy^2}}=\frac{6}{\sqrt{140}}\approx0.507

Regression coefficient of YY on XX

byx=∑dx dy∑dx2=614=37≈0.429b_{yx}=\frac{\sum dx\,dy}{\sum dx^2}=\frac6{14}=\frac37\approx0.429

So r≈0.507r\approx0.507 (moderate positive correlation) and byx≈0.429b_{yx}\approx0.429 kg per cm.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 Jestha · 1 mark

Write the formula for Karl Pearson's coefficient of correlation.

Answer

Karl Pearson's coefficient of correlation is

r=∑xyn σxσyr=\frac{\sum xy}{n\,\sigma_x\sigma_y}

where x=X−Xˉx=X-\bar X, y=Y−Yˉy=Y-\bar Y, nn is the number of pairs, and σx,σy\sigma_x,\sigma_y are the standard deviations of XX and YY. Equivalently,

r=n∑XY−∑X∑Yn∑X2−(∑X)2 n∑Y2−(∑Y)2r=\frac{n\sum XY-\sum X\sum Y}{\sqrt{n\sum X^2-(\sum X)^2}\,\sqrt{n\sum Y^2-(\sum Y)^2}}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 Jestha · 1 mark

Write the formula for rank correlation.

Answer

The formula for rank correlation (Spearman's rank correlation coefficient) is:

R=1−6∑D2n3−nR = 1 - \frac{6\sum D^2}{n^3 - n}

where DD is the difference between the ranks of corresponding values and nn is the number of pairs of observations.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 Jestha · 2 marks

Calculate the correlation coefficient from the following data: n=5,∑x=20,∑y=30,∑xy=150,∑x2=90,∑y2=210n = 5, \sum x = 20, \sum y = 30, \sum xy = 150, \sum x^2 = 90, \sum y^2 = 210.

Answer

Given:
n=5, ∑x=20, ∑y=30, ∑xy=150, ∑x2=90, ∑y2=210n = 5,\ \sum x = 20,\ \sum y = 30,\ \sum xy = 150,\ \sum x^2 = 90,\ \sum y^2 = 210

Karl Pearson’s correlation coefficient: r=n∑xy−∑x∑y[n∑x2−(∑x)2][n∑y2−(∑y)2]r=\frac{n\sum xy-\sum x\sum y}{\sqrt{\left[n\sum x^2-(\sum x)^2\right]\left[n\sum y^2-(\sum y)^2\right]}}

Substituting the values: r=5(150)−20(30)[5(90)−202][5(210)−302]r=\frac{5(150)-20(30)}{\sqrt{\left[5(90)-20^2\right]\left[5(210)-30^2\right]}} r=750−600(450−400)(1050−900)r=\frac{750-600}{\sqrt{(450-400)(1050-900)}} r=15050×150=150503=3≈1.732r=\frac{150}{\sqrt{50\times150}}=\frac{150}{50\sqrt3}=\sqrt3\approx1.732

Since the correlation coefficient must lie between −1-1 and 11, the given data are inconsistent.
(If ∑xy\sum xy were 130130, then r=0.577r=0.577.)

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2079 Jestha · 3 marks

Find the regression line of yy on xx from the following data: n=5,∑x=20,∑y=30,∑xy=150,∑x2=90n = 5, \sum x = 20, \sum y = 30, \sum xy = 150, \sum x^2 = 90.

Answer

For the regression line of yy on xx,

byx=n∑xy−∑x∑yn∑x2−(∑x)2b_{yx}=\frac{n\sum xy-\sum x\sum y}{n\sum x^2-(\sum x)^2}

Given:

n=5,∑x=20,∑y=30,∑xy=150,∑x2=90n=5,\quad \sum x=20,\quad \sum y=30,\quad \sum xy=150,\quad \sum x^2=90 byx=5(150)−(20)(30)5(90)−(20)2b_{yx}=\frac{5(150)-(20)(30)}{5(90)-(20)^2} byx=750−600450−400=15050=3b_{yx}=\frac{750-600}{450-400}=\frac{150}{50}=3

Also,

xˉ=205=4,yˉ=305=6\bar x=\frac{20}{5}=4,\qquad \bar y=\frac{30}{5}=6

The regression line is

y−yˉ=byx(x−xˉ)y-\bar y=b_{yx}(x-\bar x) y−6=3(x−4)y-6=3(x-4) y−6=3x−12y-6=3x-12 y=3x−6\boxed{y=3x-6}

So, the regression line of yy on xx is y=3x−6\boxed{y=3x-6}.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • 2078 · 1 mark

Four unbiased coins are tossed. What is the difference between the mean and the variance of the number of heads? (a) 1 (b) 2 (c) 3 (d) 4

Answer

(a) 1

The number of heads X∼B(n=4, p=12)X\sim B(n=4,\ p=\tfrac12). Mean =np=2=np=2, variance =npq=4⋅12⋅12=1=npq=4\cdot\tfrac12\cdot\tfrac12=1. Difference =2−1=1=2-1=1.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 1 MCQ

Loading…

  • 2078 · 5 marks

The mean advertisement expenditure XX and mean sales YY (in lakhs of Nepalese rupees) are 20 and 100, the standard deviations are 3 and 12, and the correlation coefficient is 0.8.
a. [4] Find both regression equations.
b. [1] Find the advertisement expenditure needed to reach a sales target of 200 lakhs.

Answer

Given Xˉ=20, Yˉ=100, σx=3, σy=12, r=0.8\bar X=20,\ \bar Y=100,\ \sigma_x=3,\ \sigma_y=12,\ r=0.8.

(a) Regression coefficients: byx=rσyσx=0.8×123=3.2,bxy=rσxσy=0.8×312=0.2.b_{yx}=r\frac{\sigma_y}{\sigma_x}=0.8\times\frac{12}{3}=3.2,\qquad b_{xy}=r\frac{\sigma_x}{\sigma_y}=0.8\times\frac{3}{12}=0.2.

Regression of YY on XX: Y−Yˉ=byx(X−Xˉ)Y-\bar Y=b_{yx}(X-\bar X) Y−100=3.2(X−20) ⇒ Y=3.2X+36.Y-100=3.2(X-20)\ \Rightarrow\ Y=3.2X+36.

Regression of XX on YY: X−Xˉ=bxy(Y−Yˉ)X-\bar X=b_{xy}(Y-\bar Y) X−20=0.2(Y−100) ⇒ X=0.2Y.X-20=0.2(Y-100)\ \Rightarrow\ X=0.2Y.

(b) To estimate the expenditure XX for a given sales figure Y=200Y=200, use the regression of XX on YY: X=0.2×200=40.X=0.2\times200=40. Advertisement expenditure of Rs 40 lakhs is needed.

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • NEB Model Question 2079 Mathematics · 1 mark

Let A and B be two dependent events. If P(A)=12P(A) = \frac{1}{2}, P(B)=34P(B) = \frac{3}{4} and P(A∩B)=25P(A \cap B) = \frac{2}{5}, what is the value of P(A/B)P(A/B)? A) equal to P(B/A)P(B/A) B) equal to P(A)P(A) C) less than P(A∩B)P(A \cap B) D) less than P(B/A)P(B/A)

Answer

(d) less than P(B/A)P(B/A)

P(A/B)=P(A∩B)P(B)=2534=815≈0.533P(A/B)=\frac{P(A\cap B)}{P(B)}=\frac{\frac{2}{5}}{\frac{3}{4}}=\frac{8}{15}\approx 0.533

Also, P(B/A)=P(A∩B)P(A)=2512=45=0.8P(B/A)=\frac{P(A\cap B)}{P(A)}=\frac{\frac{2}{5}}{\frac{1}{2}}=\frac{4}{5}=0.8

Since 815<45\frac{8}{15}<\frac{4}{5}, we get P(A/B)<P(B/A)P(A/B)<P(B/A).

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

  • NEB Model Question 2079 Mathematics · 5 marks

The price in Rupees (X) and demand in unit (Y) of 6 days of a week is given as:
X101213121615
Y403843453743
Calculate the Pearson’s coefficient of correlation and the regression coefficients of X on Y.
Figure: Table with X and Y values for 6 days.

Answer

Let XX = price (Rs) and YY = demand (units).

Xˉ=786=13,Yˉ=2466=41\bar X=\frac{78}{6}=13,\qquad \bar Y=\frac{246}{6}=41
XXYYx=X−Xˉx=X-\bar Xy=Y−Yˉy=Y-\bar Yx2x^2y2y^2xyxy
1040−3-3−1-1913
1238−1-1−3-3193
134302040
1245−1-14116−4-4
16373−4-4916−12-12
154322444
Total2450−6-6

Pearson’s coefficient of correlation

r=∑xy∑x2∑y2r=\frac{\sum xy}{\sqrt{\sum x^2 \sum y^2}} r=−624×50=−61200=−6203=−310r=\frac{-6}{\sqrt{24\times 50}} =\frac{-6}{\sqrt{1200}} =\frac{-6}{20\sqrt3} =-\frac{\sqrt3}{10} r=−0.1732\boxed{r=-0.1732}

So there is a weak negative correlation between price and demand.

Regression coefficient of XX on YY

bxy=∑xy∑y2b_{xy}=\frac{\sum xy}{\sum y^2} bxy=−650b_{xy}=\frac{-6}{50} bxy=−0.12\boxed{b_{xy}=-0.12}

Hence, the regression coefficient of XX on YY is −0.12\boxed{-0.12}.

If both regression coefficients are required, then

byx=∑xy∑x2=−624=−0.25b_{yx}=\frac{\sum xy}{\sum x^2}=\frac{-6}{24}=-0.25 byx=−0.25\boxed{b_{yx}=-0.25}

Answer checked by Claude Sonnet · Oct 21, 2026

Test yourself · 2 MCQs

Loading…

Questions from NEB Class 12 2083 Mathematics (0081 'B') (Board exam, 17 Baisakh 2083; new course), NEB Class 12 2082 Mathematics (0081 'R') (Board exam, Baishakh 2082; new course), NEB Class 12 2082 Supplementary Mathematics (0081 Set B) (Grade-increment/supplementary exam, Set B), NEB Class 12 2081 Mathematics (0081 'W') (Board exam, Baishakh 2081; new course), NEB Class 12 2080 Mathematics (0081 'H') (Board exam, Baishakh 2080; new course), NEB Class 12 2079 Mathematics (0081 Sets K and J) (Board exam, Jestha 2079; first new-curriculum board exam), NEB Model Question 2079 Mathematics (0081) (NEB model paper 2079/2023) and NEB Class 12 2078 Mathematics (0081) (Board exam, 2078 (exact date not stated); new course, 75 marks). Answers are written for this site; check them against your class notes.

Chapter titles and hours from the official syllabus ↗