Can I use the Chi Squared Test on percentages?

56 Views Asked by At

I am writing a program where I want to check the fit of some data to a distribution through the Chi Squared test. The data is relative frequency, so could I use the percentages in each cell from the data and expected percentage in cell in place of the number of times the data is in each cell in the data set?