daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Mar 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from scipy.stats import ttest_ind
  2.  
  3. y_pred = [2,3,4,3,5,6]
  4. y_real = [5,7,8,8,5,6]
  5.  
  6. t_valor, p_valor = ttest_ind(y_pred, y_real)
  7.  
  8. print(p_valor)
  9. #>>> 0.0088828669913688148
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top