Hi all, I have a data set with 100 observations; each observation represents an organization that submitted a survey response to us that includes their demographic distributions as proportions. For example, an organization reported members aged 20-29 at 10% of total, 30-39 at 30% of total, 40-49 at 50% of total, and 50-59 at 10% of total, whereas another organization reported 30%, 40%, 30%, and 0% respectively. I would like to create a variable that indicates whether or not each of these age distributions significantly differ from the known age distribution in the area (for this hypothetical, lets say 30%, 30%, 25%, and 15%. As I'd like to avoid typing these manually into a chi-sq on OpenEpi, is there a way to code this to generate that "goodness of fit" variable automatically? Thanks in advance!
... View more