Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Compute p-value

# Compute p-value: p
p = np.sum(perm_replicates >= empirical_diff_means) / len(perm_replicates)
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #Compute
ADD COMMENT
Topic
Name
2+2 =