Format for using chisq.test in R using only observed count and expected count data -


i'm trying figure out how use chi.sq test in r using observed count , expected count data.

for example, i've observed in total population of birds, there 12 pairs of parent-offspring (po) pairing, 24 pairs of full-sibling (fs) pairing, , 8 pairs of first-cousin (fc) pairings. have calculated expected counts each type of pairing 1 pair of parent-offspring pairing, 4 pairs of full-sibling pairing, , 9 pairs of first-cousin pairings.

                      po     fs     fc      observed count   12     24     8      expected count    1      4     9 

i know how use function using observed counts , expected proportions, if way example, doesn't work because expected proportions not add 1, , because these types of pairings (po, fs, fc) not represent entire population of birds, there other types of pairings not looking @ here.


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -