运行 ❯
获得您
自己的
网站
×
更改方向
更改主题,深色/浅色
转到 Spaces
# Specify the sample mean (x_bar), the sample standard deviation (s), the mean claimed in the null-hypothesis (mu_null), and the sample size (n) x_bar <- 62.1 s <- 13.46 mu_null <- 55 n <- 30 # Output the test statistic (x_bar - mu_null)/(s/sqrt(n))
[1] 2.889175