Quiz Space

Linear Statistical Models · Quiz 1 · 26 Oct 2025 · September 2025 term

Question 1: If X \sim \text{Normal}(0, 1) and Y = X^2, then show that…

Question 1

+35 marksOne correct option
  1. If X∼Normal(0,1)X \sim \text{Normal}(0, 1) and Y=X2Y = X^2, then show that Y∼χ12Y \sim \chi^2_1. Write all the steps clearly. [4 Marks]

  2. Consider the following R code and answer the sub-questions based on the code.

r
N <- 1000
x <- rpois(N, lambda = 2)
summary(x)
var(x)
## Output
> summary(x)
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.000 1.000 2.000 1.957 3.000 9.000
> var(x)
[1] 1.975126

(i) What does the command x <- rpois(N, lambda = 2) do? Explain your answer. [2 Marks]

(ii) Interpret the output of the command summary(x). [2 Marks]

(iii) What are the values of the theoretical mean and the observed sample mean of the distribution XX? [1 Mark]

(iv) Are the theoretical mean and variance close to the sample mean and sample variance? Why or why not? Justify your answer. [2 Marks]

  1. A nutrition researcher is investigating whether two different diets (Diet A and Diet B) affect people's daily protein intake differently. She records the protein intake (in grams) of individuals on the two diets, and the observations yijy_{ij} is shown in the following table:
Diet A (Population 1)Diet B (Population 2)
58
74
812
88

Using a one way classification model, answer the given subquestions.

(i) Calculate Y‾1o,Y‾2o,Y‾oo\overline{Y}_{1o}, \overline{Y}_{2o}, \overline{Y}_{oo}. [4 Marks]

(ii) Find the value of sum of squares within group (SSW). [4 Marks]

(iii) Find the value of sum of squares between group (SSB). [2 Marks]

(iv) Calculate the value of total sum of squares (TSS). [4 Marks]

(v) Verify that TSS == SSB ++ SSW. [1 Mark]

  1. Suppose we have data D={(x,y):(0,3),(1,4),(2,7)}D = \{(x, y) : (0, 3), (1, 4), (2, 7)\} and assume the linear model (y⃗,Xβ⃗,I3×3)(\vec{y}, X\vec{\beta}, I_{3\times3}) for the data.

(i) Write the linear regression model for the given data and then find Y⃗,X,β⃗\vec{Y}, X, \vec{\beta} and ϵ⃗\vec{\epsilon}. [2 Marks]

(ii) Find the least square estimate for β⃗\vec{\beta}. [5 Marks]

(iii) Write the fitted equation and estimate the value of yy when x=3x = 3. [2 Marks]

  1. A

    I have written answers on the answer sheets

  2. B

    Not applicable

Show answer

Correct answer

  • A

    I have written answers on the answer sheets

Question 1 of 1 in the IIT Madras BS Linear Statistical Models (Linear Statistical Models) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term (IIT M IMPROVEMENT AN EXAM QIE2 26 Oct 2025). It carries 35 marks.

More questions from this paper