let' go to an actual example and see how you might measure -statistics and -values using python measuring -statistics and -values using python let' fabricate some experimental data and use the -statistic and -value to determine whether given experimental result is real effect or not we're going to actually fabricate some fake experimental data and run -statistics and -values on themand see how it works and how to compute it in python running / test on some experimental data let' imagine that we're running an / test on website and we have randomly assigned our users into two groupsgroup and group the group is going to be our test subjectsour treatment groupand group will be our controlbasically the way the website used to be we'll set this up with the following codejnqpsuovnqzbtoq gspntdjqzjnqpsutubut oqsboepnopsnbm oqsboepnopsnbm tubutuuftu@joe "in this code exampleour treatment group ("is going to have randomly distributed purchase behavior where they spendon average$ per transactionwith standard deviation of five and ten thousand sampleswhereas the old website used to have mean of $ per transaction with the same standard deviation and sample size we're basically looking at an experiment that had negative result all you have to do to figure out the tstatistic and the -value is use this handy tubutuuftu@joe method from tdjqz what you do isyou pass it in your treatment group and your control groupand out comes your -statistic as shown in the output here