This is undoubtedly a basic question but I suffer from being in the situation where I do not even know what to google so I can't solve this one myself. On the data below I want to test the hypothesis that species distributions between communities are different than would be expected from a random distribution of each species across the study site.
I have a list of species counts in different communities, and I have the proportions of these communities across the study site.
Can I calculate the expected distribution for each community by multiplying the total count of each species by the proportion of that community across the study site (species1_total*studysite_c1). In my mind this is a rational way to calculate the likely distribution of each species in each community were they randomly situated across the study site.
Can I then calculate do a chi-squared test on this data where the species1_total*studysite_c1 is the expected value, and species1_c1 is the actual value?
c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 total
species1 0 38 0 6 94 2 0 0 12 6 158
species2 1 7 0 0 0 0 0 0 0 1 9
species3 3 30 0 0 1 1 0 0 11 3 49
species4 7 5 1 3 11 0 0 0 1 2 30
species5 5 2 0 0 0 4 0 0 9 0 20
species6 24 78 0 0 7 2 5 0 19 242 377
species7 3 13 0 0 0 3 0 0 28 9 56
species8 0 29 0 0 4 16 0 0 2 2 53
species9 44 66 13 0 1 0 0 0 37 10 171
species10 0 20 0 0 3 4 0 0 6 0 33
species11 1 0 0 0 0 0 0 8 0 0 9
species12 0 0 0 0 0 0 0 0 5 0 5
study site 0.22 0.40 0.01 0.01 0.03 0.01 0.00 0.00 0.07 0.25 1