# understanding chi squared test: is it appropriate on the following problem

I am trying to get my head around the Chi squared test. Let's say I have collected data on two different days: day A: the weather was good and I sold X ice-creams day B: the weather was bad and I sold Y ice-creams.

I want to understand if I can use the chi-squared test to understand if there is a relation between the weather and the number of ice-cream sold (my null hypothesis would be that there is no statistical significance). If chi squared is not appropriate, what statistical tool should I use?

• Any test will implicitly make an assumption about the distribution of ice-creams sold: your chi-square test that $X+Y$ ice creams were going to be sold on the two days and under the null hypothesis that each one could have been sold on either day. – Henry May 2 '18 at 11:58