Here's what I've got in R for MI (given Davies' formula for MI):
freq.node <- 1262
freq.collocate <- 115
freq.collocation <- 24
size.corpus <- 96263399
span <- 3 # words on either side of node
log10((freq.collocation * size.corpus) / (freq.node * freq.collocate * (span * 2))) / log10(2)
Thanks in advance for any help. Best, Earl Brown
Hi Earl
If you go to my research website, to appear h, you will find a formula for t that is easy to paraphrase into R.
Cheers,
STG
--
Stefan Th. Gries
----------------------------------
Univ. of California, Santa Barbara
http://tinyurl.com/stgries
----------------------------------
--
You received this message because you are subscribed to the Google Groups "CorpLing with R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to corpling-with...@googlegroups.com.
To post to this group, send email to corplin...@googlegroups.com.
Visit this group at http://groups.google.com/group/corpling-with-r.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks, I'll keep my eyes open for that typo when the proofs arrive!