Calculating Chi Squared

posted by on .

I did a biology experiment where I need to analyze the statistical significance of betweeen a data set. My experiment consisted of measuring the effects in photosynthesis and cellular respiration by exposing solutions with leaf discs to different light wavelength. For the statistical significance, I have to compare data I got with blue and green light to white light. The amount of discs for the time point I chose for blue was: 3, white: 23 and for green: 6 I'm supposed to use the chi square method to compare this values and I got 13 for my expected value between blue and white and 8.5 between green and white and then a chi square of 7.69 for blue/white and of 24.735 for green/white. Are those values right? I have to use this method for many other time points but if I have this one right probably I have the others right, same if I have it wrong, if they are wrong, please explain how to calculate it.

The equation I used waschi^2= (obs-exp)^2/exp I calculated my expected value by taking the average of the ones I have. Will my observed value be any of the two I have, or do I have the add them and that will be my observed value?