Estadistica Practica Para Ciencia De Datos Y Python High Quality Patched Now
Measures how spread out the numbers are. Variance: The square of the standard deviation.
Before running a Machine Learning model, check if your variables are significantly different across groups. Measures how spread out the numbers are
# Evaluar modelo y_pred = modelo.predict(X_test) print(f'MSE: np.mean((y_test - y_pred) ** 2):.2f') no rechazamos H0
Quantify uncertainty.
_, p_value = stats.normaltest(normales) # H0: los datos son normales print(f"p-valor para normales: p_value:.5f") # >0.05, no rechazamos H0 Measures how spread out the numbers are