# compute the 95% quantile of a t distribution with 10000 degrees of freedom
# compute the 95% quantile of a standard normal distribution
# compute the 95% quantile of a t distribution with 10000 degrees of freedom
qt(0.95, df = 10000)
# compute the 95% quantile of a standard normal distribution
qnorm(0.95)
# both values are very close to each other. This is not surprising as for sufficient large degrees of freedom the t distribution can be approximated by the standard normal distribution.
test_function_result("qt")
test_function_result("qnorm")
success_msg("Correct! A t-distributed RV converges to a standard normal as the degrees of freedom get large.")