Q. What will be the output of the following R code?
> set.seed(20)
> x <- rnorm(100)
> e <- rnorm(100, 0, 2)
> y <- 0.5 + 2 * x + e
> summary(y)

  • (A) Min. 1st Qu. Median Mean 3rd Qu. Max. -6.4080 -1.5400 0.6789 0.6893 2.9300 6.5050
  • (B) Min. 1st Qu. Median Mean 3rd Qu. Max. -6.4080 -10.5400 0.6789 5.6893 2.9300 6.5050
  • (C) Min. 1st Qu. Median Mean 3rd Qu. Max. -1.4080 -6.5400 0.6789 0.6893 2.9300 6.5050
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Min. 1st Qu. Median Mean 3rd Qu. Max. -6.4080 -1.5400 0.6789 0.6893 2.9300 6.5050

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate