-
-
Save aditya0811/9ac9b248080aeb5079f0c5da728499fd to your computer and use it in GitHub Desktop.
dofstudenttest
This file contains 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
num_a,num_b=len(a),len(b) | |
dof=((a.var()/num_a) + (b.var()/num_b))**2/((a.var()**2/(num_a**2 * (num_a-1)))+(b.var()**2/(num_b**2 * (num_b-1)))) | |
print(dof) | |
>>>20.059045836684753 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment