About this set
The Ministry of Statistics and Programme Implementation, the National Statistical Commission and Office, the census and the large sample surveys, the contributions of Indian statisticians, and computing with R and typesetting with LaTeX.
These are model questions written for practice at the standard of the paper; they are not questions from a past paper. Try each one before opening the answer. Every answer gives the working and a link to the section of the Unit X notes that teaches it.
The questions
Show Answer
Answer: (B) 1999.
MoSPI was formed in 1999 by merging the Department of Statistics and the Department of Programme Implementation. 2005 is the year the National Statistical Commission was constituted, and 2019 the year the National Statistical Office was formed by merging the CSO and the NSSO.
Read this in the notes: Unit X, Ministry of Statistics & Programme Implementation (MoSPI)
Show Answer
Answer: (D) The decennial Census of India.
The Programme Implementation Wing monitors the Twenty Point Programme, infrastructure projects and MPLADS. The Census of India is conducted by the Office of the Registrar General and Census Commissioner, which is under the Ministry of Home Affairs, not MoSPI.
Read this in the notes: Unit X, Ministry of Statistics & Programme Implementation (MoSPI)
Show Answer
Answer: (A) Collection of Statistics Act, 2008.
The ASI is conducted under the Collection of Statistics Act, 2008. Its coverage is defined by the Factories Act, 1948 (factories registered under sections 2(m)(i) and 2(m)(ii)), but that Act is not the authority under which the survey is taken. The Census Act, 1948 governs the population census.
Read this in the notes: Unit X, Ministry of Statistics & Programme Implementation (MoSPI)
| List I | List II |
|---|---|
| (a) Index of Industrial Production (IIP) | (i) Employment and unemployment indicators |
| (b) Consumer Price Index (CPI) | (ii) Annual data on registered factories |
| (c) Periodic Labour Force Survey (PLFS) | (iii) Short-term changes in the volume of industrial output |
| (d) Annual Survey of Industries (ASI) | (iv) Changes in retail prices paid by households |
Show Answer
Answer: (C) (a)-(iii), (b)-(iv), (c)-(i), (d)-(ii).
The IIP tracks the volume of industrial production month by month; the CPI measures retail price change and is the measure of inflation; the PLFS gives the labour force participation rate, worker population ratio and unemployment rate; the ASI gives detailed annual data on registered factories.
Read this in the notes: Unit X, Ministry of Statistics & Programme Implementation (MoSPI)
Show Answer
Answer: (B) C. Rangarajan.
The Rangarajan Commission (which reported in 2001) reviewed the Indian statistical system and recommended a permanent apex body; the NSC was set up in 2005 to evolve policies, priorities and standards for official statistics.
Read this in the notes: Unit X, National Statistical Commission (NSC)
Show Answer
Answer: (A) Chief Statistician of India.
The NSC has a Chairperson, four Members, the Chief Executive Officer of NITI Aayog as an ex-officio Member, and the Chief Statistician of India, who is the Secretary of MoSPI, as its Secretary.
Read this in the notes: Unit X, National Statistical Commission (NSC)
Show Answer
Answer: (D) I, II and IV only.
The NSC is a policy and standards body: it identifies core statistics, sets quality standards, coordinates agencies and monitors major surveys. It does not collect data itself; the census is conducted by the Registrar General and Census Commissioner under the Ministry of Home Affairs.
Read this in the notes: Unit X, National Statistical Commission (NSC)
Show Answer
Answer: (A) Both (A) and (R) are true and (R) is the correct explanation of (A).
Choosing and revising base years is a question of statistical policy and standards, which is exactly the Commission's mandate. Both statements are true and (R) explains (A). The compilation itself is done by the National Statistical Office.
Read this in the notes: Unit X, National Statistical Commission (NSC)
Show Answer
Answer: (C) 2019.
The CSO and the NSSO were brought together as the NSO in 2019, to streamline the system under MoSPI. 1950 is the year the National Sample Survey began; 1999 and 2005 are the years of MoSPI and of the NSC.
Read this in the notes: Unit X, National Statistical Office (NSO)
Show Answer
Answer: (B) National Accounts Division.
The National Accounts Division compiles GDP, GVA, saving and capital formation. The Survey Design and Research Division plans the sample designs, the Field Operations Division collects the data, and the Social Statistics Division handles the labour force survey and social indicators.
Read this in the notes: Unit X, National Statistical Office (NSO)
Show Answer
Answer: (D) stratified multi-stage sampling, with villages or urban blocks as first-stage units and households as second-stage units.
The surveys use a stratified multi-stage design: census villages in rural areas and Urban Frame Survey blocks in urban areas are the first-stage units, and households the ultimate units. No national list of households exists, which is what makes a multi-stage design necessary.
Read this in the notes: Unit X, National Statistical Office (NSO)
Show Answer
Answer: (A) 45% and 11.1%.
The labour force is the employed plus the unemployed, 450. $\text{LFPR}=\dfrac{450}{1000}=45\%$. The unemployment rate is the unemployed as a proportion of the labour force, not of the population: $\dfrac{50}{450}=11.1\%$. The worker population ratio is $40\%$.
Read this in the notes: Unit X, National Statistical Office (NSO)
Show Answer
Answer: (C) 1948; Ministry of Home Affairs.
The Census Act, 1948 provides the legal basis, and the census is conducted by the Office of the Registrar General and Census Commissioner, India, under the Ministry of Home Affairs. It is a complete enumeration taken every ten years.
Read this in the notes: Unit X, Census & Large Sample Surveys
Show Answer
Answer: (B) Houselisting and Housing Census, and Population Enumeration.
In the first phase every building and household is listed and data on housing, amenities and assets are collected; in the second, each individual is enumerated. The houselisting provides the frame for the enumeration. The Economic Census is a separate count of establishments.
Read this in the notes: Unit X, Census & Large Sample Surveys
| List I | List II |
|---|---|
| (a) National Sample Survey (NSS) | (i) Provides birth, death and infant mortality rates |
| (b) National Family Health Survey (NFHS) | (ii) Data on operational holdings, taken every five years |
| (c) Sample Registration System (SRS) | (iii) Begun in 1950 at the initiative of P. C. Mahalanobis |
| (d) Agriculture Census | (iv) Conducted with the International Institute for Population Sciences, Mumbai, as the nodal agency |
Show Answer
Answer: (D) (a)-(iii), (b)-(iv), (c)-(i), (d)-(ii).
The NSS began in 1950; the NFHS is carried out for the Ministry of Health and Family Welfare with IIPS, Mumbai, as nodal agency; the SRS gives the vital rates between censuses; the Agriculture Census, every five years, counts operational holdings.
Read this in the notes: Unit X, Census & Large Sample Surveys
Show Answer
Answer: (A) I, II and III only.
The 2011 census counted about 1.21 billion people, with a sex ratio of 943 (the provisional figure was 940) and a literacy rate of 74.04%. It was conducted by the Registrar General and Census Commissioner under the Ministry of Home Affairs, not by the NSO: (IV) is false.
Read this in the notes: Unit X, Census & Large Sample Surveys
| List I | List II |
|---|---|
| (a) P. C. Mahalanobis | (i) The union–intersection principle in multivariate analysis |
| (b) R. C. Bose | (ii) The $D^2$ statistic, a distance between populations |
| (c) S. N. Roy | (iii) Independence of a complete sufficient statistic and an ancillary statistic |
| (d) D. Basu | (iv) Disproof of Euler's conjecture on orthogonal Latin squares |
Show Answer
Answer: (B) (a)-(ii), (b)-(iv), (c)-(i), (d)-(iii).
Mahalanobis introduced $D^2$; Bose, with Shrikhande and Parker, disproved Euler's conjecture; Roy gave the union–intersection principle and the largest root test; Basu's theorem states the independence of a complete sufficient statistic and any ancillary statistic.
Read this in the notes: Unit X, Contributions of Indian Statisticians
Show Answer
Answer: (C) 1931 and 1950.
P. C. Mahalanobis founded the Indian Statistical Institute in Calcutta in 1931 and started the National Sample Survey in 1950. He also gave the model used for the Second Five Year Plan.
Read this in the notes: Unit X, Contributions of Indian Statisticians
Show Answer
Answer: (D) Bose, Shrikhande and Parker.
R. C. Bose, S. S. Shrikhande and E. T. Parker showed that pairs of orthogonal Latin squares exist for every order except 2 and 6 (their first counter-example was of order 22). They came to be called ‘Euler's spoilers’.
Read this in the notes: Unit X, Contributions of Indian Statisticians
Show Answer
Answer: (A) The largest root test of multivariate analysis.
The largest root test is due to S. N. Roy. C. R. Rao's contributions include the Cramér–Rao inequality, the Rao–Blackwell theorem, the score test and orthogonal arrays; he received the International Prize in Statistics in 2023.
Read this in the notes: Unit X, Contributions of Indian Statisticians
-7 %/% 2 and -7 %% 2 are, respectively:Show Answer
Answer: (C) -4 and 1.
%/% is integer division rounding towards minus infinity (the floor), so -7 %/% 2 is $\lfloor-3.5\rfloor=-4$. %% gives the remainder with the sign of the divisor: $-7-2(-4)=1$. The two always satisfy $x=y\times(x\ \%/\%\ y)+(x\ \%\%\ y)$.
Read this in the notes: Unit X, R as a Calculator
0/0 gives NaN. The value of is.na(0/0) is:Show Answer
Answer: (B) TRUE.
NaN (not a number) is treated as a kind of missing value: is.na(NaN) is TRUE, while is.nan(NA) is FALSE. Note that 5/0 is Inf, which is neither.
Read this in the notes: Unit X, R as a Calculator
c(1, 2, 3, 4) + c(10, 20) is:Show Answer
Answer: (D) 11 22 13 24.
R recycles the shorter vector: c(10, 20) is used as 10 20 10 20, giving 11 22 13 24. No warning is given here because the longer length is a multiple of the shorter.
Read this in the notes: Unit X, R as a Calculator
x <- c(2, 4, 6, 8), the value of sum(x[-1]) is:Show Answer
Answer: (A) 18.
A negative index drops elements: x[-1] is 4 6 8, whose sum is 18. (In R, unlike some languages, -1 does not mean the last element.)
Read this in the notes: Unit X, R as a Calculator
m <- matrix(1:6, nrow = 2), the element m[2, 3] is:Show Answer
Answer: (B) 6.
By default a matrix is filled column by column, so m has rows 1 3 5 and 2 4 6, and m[2, 3] is 6. With byrow = TRUE the rows would be 1 2 3 and 4 5 6.
Read this in the notes: Unit X, Functions and Matrix Operations
A <- matrix(c(2, 1, 1, 3), 2), the values of (A %*% A)[1, 1] and (A * A)[1, 1] are, respectively:Show Answer
Answer: (D) 5 and 4.
A is $\begin{pmatrix}2&1\\1&3\end{pmatrix}$. %*% is the matrix product, whose $(1,1)$ element is $2\times2+1\times1=5$; * multiplies element by element, giving $2\times2=4$.
Read this in the notes: Unit X, Functions and Matrix Operations
m <- matrix(1:6, nrow = 2), the result of apply(m, 1, sum) is:Show Answer
Answer: (A) 9 12.
The second argument 1 means ‘over rows’ (2 would mean over columns). The rows are 1 3 5 and 2 4 6, with sums 9 and 12. apply(m, 2, sum) gives 3 7 11.
Read this in the notes: Unit X, Functions and Matrix Operations
mean(c(1, 2, NA, 5)) and mean(c(1, 2, NA, 5), na.rm = TRUE) give, respectively:Show Answer
Answer: (C) NA and 2.667.
Any arithmetic involving a missing value is missing, so the first is NA. With na.rm = TRUE the missing value is removed first and the mean of 1, 2, 5 is $\tfrac83=2.667$.
Read this in the notes: Unit X, Built-in Functions, Missing Data & Logical Operators
var(c(2, 4, 6)) is:Show Answer
Answer: (B) 4.
var uses the divisor $n-1$: $\dfrac{(2-4)^2+0+(6-4)^2}{2}=4$, and sd gives 2. The divisor $n$ would give 2.667.
Read this in the notes: Unit X, Built-in Functions, Missing Data & Logical Operators
x <- c(1, 5, 8, 3), the value of sum(x > 2) is:Show Answer
Answer: (D) 3.
x > 2 is the logical vector FALSE TRUE TRUE TRUE, and in arithmetic TRUE counts as 1 and FALSE as 0. So the sum is 3, the number of elements greater than 2. sum(x[x > 2]) would give 16.
Read this in the notes: Unit X, Built-in Functions, Missing Data & Logical Operators
NA & FALSE is FALSE.(II) NA | TRUE is TRUE.(III) NA == NA is TRUE.(IV) is.na(NA) is TRUE.Which of the statements are correct?Show Answer
Answer: (A) I, II and IV only.
A logical operation with NA gives a definite answer when the answer does not depend on the missing value: anything AND FALSE is FALSE, anything OR TRUE is TRUE. But a comparison with NA is unknown, so NA == NA is NA; missing values are tested with is.na.
Read this in the notes: Unit X, Built-in Functions, Missing Data & Logical Operators
s after this R code is run?s <- 0
for (i in 1:5) {
if (i %% 2 == 0) next
s <- s + i
}Show Answer
Answer: (C) 9.
next skips the rest of the loop body for even $i$, so only the odd values are added: $1+3+5=9$. With break in place of next the loop would stop at $i=2$ and s would be 1.
Read this in the notes: Unit X, Conditional Execution & Loops
n after this R code is run?x <- 100; n <- 0
while (x > 1) {
x <- x / 2
n <- n + 1
}Show Answer
Answer: (B) 7.
The successive values of x are 50, 25, 12.5, 6.25, 3.125, 1.5625, 0.78125. The loop stops when x is no longer greater than 1, after 7 halvings ($2^6=64\lt100\le2^7=128$).
Read this in the notes: Unit X, Conditional Execution & Loops
ifelse(c(1, 5, 3) > 2, "H", "L") is:Show Answer
Answer: (D) "L" "H" "H".
ifelse works element by element on a vector: 1 is not greater than 2, while 5 and 3 are. By contrast if takes a single condition and is not vectorised.
Read this in the notes: Unit X, Conditional Execution & Loops
seq(2, 10, by = 3) is:Show Answer
Answer: (A) 2 5 8.
The sequence starts at 2 and goes up in steps of 3 without passing 10: 2, 5, 8. seq(2, 10, length.out = 3) would give 2 6 10.
Read this in the notes: Unit X, Data Management: Sequences, Repeats, Sorting, Ordering, Strings
rep(c("a", "b"), each = 2) and rep(c("a", "b"), times = 2) are, respectively:Show Answer
Answer: (C) "a" "a" "b" "b" and "a" "b" "a" "b".
each repeats every element in turn before moving to the next; times repeats the whole vector.
Read this in the notes: Unit X, Data Management: Sequences, Repeats, Sorting, Ordering, Strings
x <- c(30, 10, 20), the results of order(x) and rank(x) are, respectively:Show Answer
Answer: (B) 2 3 1 and 3 1 2.
order gives the positions of the elements in increasing order: the smallest is in position 2, then 3, then 1. rank gives the rank of each element: 30 is third, 10 first, 20 second. x[order(x)] is the same as sort(x).
Read this in the notes: Unit X, Data Management: Sequences, Repeats, Sorting, Ordering, Strings
substr("statistics", 3, 6) is:Show Answer
Answer: (D) "atis".
substr(x, start, stop) extracts the characters from position 3 to position 6 inclusive, counting from 1: s-t-a-t-i-s-t-i-c-s, i.e. "atis". nchar("statistics") is 10.
Read this in the notes: Unit X, Data Management: Sequences, Repeats, Sorting, Ordering, Strings
f <- factor(c("b", "a", "b", "c")), the result of as.integer(f) is:Show Answer
Answer: (A) 2 1 2 3.
The levels of a factor are the distinct values in sorted order, "a" "b" "c", coded 1, 2, 3. The data b, a, b, c therefore have codes 2, 1, 2, 3. nlevels(f) is 3 and table(f) gives the counts 1, 2, 1.
Read this in the notes: Unit X, Lists, Factors, Display & Formatting
L <- list(a = 1:3, b = "x"), which statement is correct?Show Answer
Answer: (C) L["a"] is a list of length 1 and L[["a"]] is the integer vector 1 2 3.
Single brackets return a sub-list; double brackets (or L$a) return the element itself. So L[["a"]][2] is 2. The list has two components, so length(L) is 2.
Read this in the notes: Unit X, Lists, Factors, Display & Formatting
round(2.5) and round(3.5) are, respectively:Show Answer
Answer: (B) 2 and 4.
R follows the IEC 60559 standard and rounds a value exactly half-way to the even digit: 2.5 goes to 2 and 3.5 goes to 4. This avoids the upward bias of always rounding halves up.
Read this in the notes: Unit X, Lists, Factors, Display & Formatting
df <- data.frame(x = c(1, 2, 3), y = c("a", "b", "c")), the results of dim(df) and nrow(df[df$x > 1, ]) are, respectively:Show Answer
Answer: (D) 3 2 and 2.
dim gives rows then columns: 3 observations of 2 variables. df[df$x > 1, ] keeps the rows where x exceeds 1 (the second and third) and all columns, so it has 2 rows. The comma is essential: without it R would select columns.
Read this in the notes: Unit X, Data Frames, Data Input and Output
tapply(c(10, 20, 30, 40), c("a", "b", "a", "b"), mean) is:Show Answer
Answer: (C) a = 20, b = 30.
tapply applies a function to the values of a vector within the groups defined by a factor. Group a holds 10 and 30 (mean 20); group b holds 20 and 40 (mean 30). With sum it would give 40 and 60.
Read this in the notes: Unit X, Data Frames, Data Input and Output
| List I | List II |
|---|---|
(a) hist(x) | (i) Draws a scatter diagram |
(b) boxplot(x) | (ii) Draws a histogram |
(c) plot(x, y) | (iii) Adds the fitted regression line to an existing plot |
(d) abline(lm(y ~ x)) | (iv) Draws a box-and-whisker plot |
Show Answer
Answer: (B) (a)-(ii), (b)-(iv), (c)-(i), (d)-(iii).
The first three are high-level functions that start a new plot; abline is a low-level function that adds a line to the current plot, here the least-squares line from lm. par(mfrow = c(2, 2)) would arrange four plots on one page.
Read this in the notes: Unit X, Graphics & Plots
f <- function(x, y = 2) x^y, the values of f(3) and f(y = 3, x = 2) are, respectively:Show Answer
Answer: (A) 9 and 8.
When y is not supplied its default 2 is used: $3^2=9$. Arguments given by name are matched by name whatever their order: $x=2$, $y=3$ gives $2^3=8$.
Read this in the notes: Unit X, Scripts, Functions, and Programming Basics
x <- 5
f <- function() {
x <- 10
x
}
print(f())
print(x)Show Answer
Answer: (C) 10 and 5.
The assignment inside the function creates a local variable x that exists only while the function runs; the function returns 10, and the global x is still 5. Only the super-assignment operator <<- would change the global variable.
Read this in the notes: Unit X, Scripts, Functions, and Programming Basics
sapply(1:3, function(i) i^2) returns:Show Answer
Answer: (B) the numeric vector 1 4 9.
sapply applies the function to each element and simplifies the result to a vector where it can. lapply does the same but always returns a list. Here the vectorised (1:3)^2 gives the same result without any loop.
Read this in the notes: Unit X, Scripts, Functions, and Programming Basics
Show Answer
Answer: (D) $\bar{x} = \frac{1}{n} \sum_{i=1}^{n} x_i$.
\bar{x} puts a bar over x; \frac{1}{n} takes the numerator first and the denominator second; the lower limit of a sum follows _ and the upper limit follows ^. Option B has the limits interchanged and option C the fraction inverted; \mean is not a LaTeX command.
Read this in the notes: Unit X, LaTeX & Other Word Processing Software
| List I | List II |
|---|---|
(a) equation | (i) A numbered displayed equation |
(b) equation* | (ii) An unnumbered displayed equation |
(c) align | (iii) Several displayed equations aligned at the & signs |
(d) tabular | (iv) A table of rows and columns |
Show Answer
Answer: (A) (a)-(i), (b)-(ii), (c)-(iii), (d)-(iv).
A star after an environment or sectioning command suppresses the number. align (from the amsmath package) sets several equations aligned at &, with lines separated by \\. tabular builds a table, its argument (such as {|c|c|}) describing the columns.
Read this in the notes: Unit X, LaTeX & Other Word Processing Software
\usepackage commands are placed in the preamble, before \begin{document}.(II) The column specification {lcr} of a tabular environment declares three columns.(III) \includegraphics requires the graphicx package.(IV) \section*{Introduction} produces a numbered section heading.Which of the statements are correct?Show Answer
Answer: (B) I, II and III only.
The preamble, between \documentclass and \begin{document}, is where packages are loaded. {lcr} declares a left-aligned, a centred and a right-aligned column. \includegraphics is defined by graphicx. The starred form \section* gives an unnumbered heading: (IV) is false.
Read this in the notes: Unit X, LaTeX & Other Word Processing Software