'checking the normality using shapiro-test for the combine of two dataset
if i want to check the normality using shapiro-test for data
let's say i have :
from scipy import stats
x=[1.3,1.5,2.0,2.2,2.9,3.0,3.2,3.2,3.7,3.9,4.0,4.0]
print(stats.shapiro(x))
pvalue=0.10337740182876587 so it's normal distributed
y=[39343.0,46205.0,37731.0,43525.0,39891.0,56642.0,60150.0,54445.0,64445.0,57189.0]
print(stats.shapiro(y))
pvalue=0.015155534259974957 , it's not normal distributed
if I want to use these data together such as plotting , so the points set are(x,y) ,, is it considered as normal distributed or not, according to Assumptions of Linear Regression ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
