Actuarial Notes

Exam DISC-DA Practice Question 11

Study guide: Exam DISC-DA

A dataframe pol has columns terr and prem. Territory T2 has three rows, with premiums 900, NA and 1,500. An analyst runs

pol |> group_by(terr) |> summarize(n = n(), avg = mean(prem))

What does the T2 row of the result show?

  • A) n = 3 and avg = NA
  • B) n = 2 and avg = 1,200
  • C) n = 3 and avg = 800
  • D) n = 3 and avg = 1,200

Answer this question and see the worked solution

Concepts tested

More questions from this set