For a Student’s t-distribution with mean 0, standard deviation 1, and degrees of freedom 30, which of the following Python lines outputs the probability Probability that t is between 1.50 and 2.85? Select one.
Question 1 options:
import scipy.stats as st
print(st.t.cdf(2.85, 30, 0, 1) - st.t.pdf(1.5, 30, 0, 1))
import scipy.stats as st
print(st.t.sf(2.85, 30, 0, 1) - st.t.sf(1.5, 30, 0, 1))
import scipy.stats as st
print(t.cdf(2.85, 30, 0, 1))
import scipy.stats as st
print(st.t.cdf(2.85, 30, 0, 1) - st.t.cdf(1.5, 30, 0, 1))