Skip to content

Instantly share code, notes, and snippets.

@Bookoff
Created February 20, 2015 02:10
Show Gist options
  • Save Bookoff/1b0fb3bdc3a48e0c3b68 to your computer and use it in GitHub Desktop.
Save Bookoff/1b0fb3bdc3a48e0c3b68 to your computer and use it in GitHub Desktop.
One Sample t-test 2
print ss.ttest_1samp(a = df, popmean = 15000)
# ВЫВОД
# (array([ -1.12817385, 1.07053437, -65.81425599, -4.564575 , 6.17156198]),
# array([ 2.62704721e-01, 2.87680340e-01, 4.15643528e-70, 1.83764399e-05, 2.82461897e-08]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment