Created
October 3, 2019 06:27
-
-
Save lylayang/eff93ec446f299ec29adcadeca2b106b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scipy.stats as stats | |
CA=[364, 245, 284, 172, 198, 239, 259, 168, 188, 256, 400, 329, 198, 209, 412, 358, 593, 261, 209, 245, 329, 136, 358] | |
NY=[564, 345, 484, 172, 298, 259, 219, 198, 234, 356, 127, 427, 298, 229, 171, 600, 172, 280, 209, 245, 188, 256, 400] | |
TX=[364, 245, 284, 172, 198, 239, 259, 168, 188, 256, 400, 329, 198, 209, 412, 358, 593, 261, 239, 245, 329, 136, 358] | |
VA=[356, 127, 427, 298, 229, 171, 600, 172, 280, 364, 245, 284, 172, 198, 239, 259, 168, 188, 256, 400, 329] | |
IL=[364, 245, 284, 172, 198, 239, 259, 168, 188, 256, 400, 329, 198, 209, 412, 358, 284, 172, 198, 239, 259, 168] | |
stats.f_oneway(CA, NY, TX, VA, IL) | |
#Output: | |
#F_onewayResult(statistic=0.3838385795048716, pvalue=0.8197813592833273) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment