Degree of freedom:
Chi-square:
p-value:
p-value type: right tail left tail
Chi-square = 6, df = 4
Right-tail p-value is 0.1991
R command: pchisq(6, 4, lower.tail=FALSE) or 1-pchisq(6, 4)