R_Baayen のバックアップ(No.21) - アールメカブ

アールメカブ


R_Baayen のバックアップ(No.21)


BaayenAnalyzing Linguistic Data についての私的メモ

_ 2008 11 24 以降のメモ

  • テキストに表れるデータなんだが,説明が少なく,またlanguageRパッケージのヘルプも不十分なので,推測するのに苦労する.例えばdative データの AccessOfRec? 変数には水準が三つあるのだが,newとgivenはともかく,accesibleてのは何だったか? 思い出さないのでBresnan, J., Cueni, A., Nikitina, T. and Baayen, R. H. (2007) Predicting the dative alternation, in Bouma, G. and Kraemer, I. and Zwarts, J. (eds.), _Cognitive Foundations of Interpretation_, Royal Netherlands Academy of Sciences, 33 pages, in press. を読むしかないか.

_ Baayen と言えば,語彙成長シミュレーションだと思われるので.

 Aliceの語彙成長曲線

_ 以下は誤植あるいは誤解と思われる箇所.

ただし,草稿の段階なので,刊行された段階で修正されていると思われる.

  • p.84
    • ver.transp <- log(ver$...); ver.opaque <- log(ver$...)
  • p.132
    • splom(data.frame(affixes.pr$x[,1:3]),
  • p.150
    • ClesS と Ient との相関係数が有意とあるが,Cels と Vf の間違いではないか?
  • p.155
    • print.diana 関数に col = c("black","white") は意味ないのではないか?
  • p.162
    • accessibility of theme のカテゴリは given ではなく new
  • p.172
    • spanish.manova <- manova(cbind(PC1, PC2, PC3, PC4, PC5, PC6, PC7, PC8) ~ spanishMeta$Author, data = spanish.x)
  • spanich データへの主成分分析の結果から,さらに判別分析を行うのに,CV = TRUE は使わないという節の理由が良く分からないのだが,何か見落としているだろうか? 解決.主成分分析そのものを leave-one-out してから,その結果を使って lda をしろということ.
  • p.177
    • cbind(c(153, 342 - 153), c(202, 342 - 202))の間違いでは?
  • p.184
    • without including a main effect for meanFamiliarity^2 の間違では?
  • p.213
    • 下から5行目の 0.003 は 0.002 と思われる.
  • p.229

    Irregular verbs also tends to be more frequent than regular verbs, and it is reasonable to assume that this high frequnecy protects irregular verbs through time against regularization.

  • p.243
    • lines(local.subset$year, local.subset$predict, lty = 3)
    • lines(local.subset$year, local.subset$predictA, lty = 3)
  • p.255
    • plot(alice.spc, lnre.spc(alice.lnre.$&color(red){gigp}, 25942))
  • p.264
    • lexdec データの初出は2章 p. 26.
  • p.270
    • pvals.fnc(lexdec3.lmer) で良い.$fitted は不要.
  • p.274
    • ranefs <- ranef(lexdec3.lmerD)
  • p.275
    • plot(ranefs$Subject)

_ Herdan の C

金先生より,languageRの関数growth.fnc()の出力はおかしいとうかがい,私も調べてみた.

languageR パッケージの growth.fnc () 関数の出力で,Herdan の C の計算方法は logV(N)/logN ではないよう.

data(alice)
alice.growth <- growth.fnc(alice)
alice.growth
 Chunk Tokens Types ... Herdan
1      1    646   269     0.7392036

log(269)/log(646)
[1] 0.864609

そこでlanguageR パッケージのgrowth.fnc()を見ると herdan.fnc() を呼び出している.中を調べてみると,タイプ数の対数を最小二乗法を使って推定している. すなわち Chunk1の計算では,Chunk1までのトークン数1:646 の区間を,さらに指定のチャンク数を使って,floor(646/40) =16 間隔で区切り,この細かい区間でのタイプ数を数えている.そして,これらのベクトルに lm を適用している.

types <- c(16, 29, 40, 48, 56, 66, 77, 86, 94,
101, 109, 116, 124 ,130, 134, 140, 147, 150, 155,
161, 164, 166, 173, 177, 184, 191, 198, 203, 208,
210, 218, 224 ,229, 238, 243, 249, 255, 258, 264, 266)

tokens <- c(16, 32 ,48 ,64, 80 ,96 ,112, 128 ,144,
160, 176, 192, 208, 224, 240, 256, 272, 288 ,304,
320 ,336, 352, 368, 384, 400 ,416, 432 ,448 ,464,
480, 496 ,512, 528, 544, 560, 576, 592, 608, 624, 640)

coef(lm(log(types)~log(tokens)))[2]

端数を切り落としいる cumsum(rep(floor(length(text[1:chunks[i]])/40), 40))ので growth.fnc() 関数の出力に

Chunk Tokens Types
1      1    646   269

とあっても,Chunk1の計算に使っているのは,640 Tokensまでの情報.

_ R_Divisive_Clustering_diana関数とnj関数




_ IUrgeJYtEsS

jonn1? (2009-02-03 (火) 12:28:20)

comment4, http://wis.dm/users/72388-jose80 Oblivion Nude Mod, 068, http://wis.dm/users/72385-luis52 Nudes A Poppin, 446, http://wis.dm/users/72389-adam64 Older Sexy Women, iwo, http://wis.dm/users/72391-logan44 Olivia Munn Nude, 3479, http://wis.dm/users/72390-hunter54 Olivia Mojica Sex Tape, :), http://wis.dm/users/72386-andrew60 Nudist Nudism Beach Girls, 8-(, http://wis.dm/users/72383-john93 Nude Women Bodybuilders, :-OO,


_ TQThegZxKbbOOryOaUZ

jonn1? (2009-02-03 (火) 12:04:22)

comment5, http://wis.dm/users/72378-robert96 Nude Male Wrestlers, nnqocf, http://wis.dm/users/72375-connor32 Nude Family Photos, biou, http://wis.dm/users/72379-david65 Nude Phun Girls, 428781, http://wis.dm/users/72381-matthew82 Nude Sports Stars, sbvim, http://wis.dm/users/72380-anthony77 Nude Pictures Of Vanessa Hudgens, %[[, http://wis.dm/users/72373-michael71 Not Another Teen Movie Clips, yetme, http://wis.dm/users/72376-noah16 Nude Female Wrestlers, 250, http://wis.dm/users/72372-nathan02 Norwegian Teen Anal, hfb, http://wis.dm/users/72377-ethan82 Nude Glamour Pierced Nipples, bgk,


_ AtpuFptUcAns?

jonn3? (2009-02-03 (火) 11:41:27)

comment1, http://wis.dm/users/72395-zachary50 Origami Blow Up Box, 8(((, http://wis.dm/users/72400-christian94 Pamala Anderson Sex Tape, zmgdt, http://wis.dm/users/72396-benjamin62 Outlaw Star Hentai, 60592, http://wis.dm/users/72392-thomas76 Olivia Wilde Nude, zdrljn, http://wis.dm/users/72397-connor33 Paddling High School Girls Punishment, >:-]]],


_ KVOWTjdPJnRjkUTVIp

jonn1? (2009-02-03 (火) 11:17:35)

comment6, http://wis.dm/users/72388-jose80 Oblivion Nude Mod, onnf, http://wis.dm/users/72385-luis52 Nudes A Poppin, 0067, http://wis.dm/users/72389-adam64 Older Sexy Women, pul, http://wis.dm/users/72391-logan44 Olivia Munn Nude, vwj, http://wis.dm/users/72384-austin33 Nude Young Teens With Pigtails, 75277, http://wis.dm/users/72390-hunter54 Olivia Mojica Sex Tape, %[[, http://wis.dm/users/72383-john93 Nude Women Bodybuilders, qqf, http://wis.dm/users/72387-connor65 Nudist Young Girl 10, 996879,


_ fUZmFIjTdeCCqRIxOL

jonn2? (2009-02-03 (火) 10:53:44)

comment1, http://wis.dm/users/72378-robert96 Nude Male Wrestlers, 8-[, http://wis.dm/users/72375-connor32 Nude Family Photos, =-]], http://wis.dm/users/72379-david65 Nude Phun Girls, 8-DD, http://wis.dm/users/72381-matthew82 Nude Sports Stars, :-[, http://wis.dm/users/72374-joshua14 Nude Beaches Pictures, tuzvb, http://wis.dm/users/72380-anthony77 Nude Pictures Of Vanessa Hudgens, >:[[, http://wis.dm/users/72376-noah16 Nude Female Wrestlers, jaypgb, http://wis.dm/users/72373-michael71 Not Another Teen Movie Clips, 14729, http://wis.dm/users/72377-ethan82 Nude Glamour Pierced Nipples, ztjgv,


_ rpXcwWzzlgLQnQKD

jonn2? (2009-02-03 (火) 10:30:45)

comment1, http://wis.dm/users/72398-tyler82 Pamala Anderson Naked, 81919, http://wis.dm/users/72395-zachary50 Origami Blow Up Box, :-[[[, http://wis.dm/users/72399-tyler92 Pamala Anderson Nude, 8[[, http://wis.dm/users/72394-eric03 Orgasm Girl Walkthrough, xrl, http://wis.dm/users/72400-christian94 Pamala Anderson Sex Tape, 4796, http://wis.dm/users/72393-james48 One Piece Hentai Nami Gallery, yksyns, http://wis.dm/users/72396-benjamin62 Outlaw Star Hentai, ljoi, http://wis.dm/users/72392-thomas76 Olivia Wilde Nude, 8-((, http://wis.dm/users/72397-connor33 Paddling High School Girls Punishment, 342,


_ mJqxPOrZuwRyPA

jonn2? (2009-02-03 (火) 10:07:19)

comment3, http://wis.dm/users/72388-jose80 Oblivion Nude Mod, 3046, http://wis.dm/users/72385-luis52 Nudes A Poppin, opq, http://wis.dm/users/72389-adam64 Older Sexy Women, uae, http://wis.dm/users/72391-logan44 Olivia Munn Nude, 911994, http://wis.dm/users/72384-austin33 Nude Young Teens With Pigtails, 818, http://wis.dm/users/72390-hunter54 Olivia Mojica Sex Tape, 655685, http://wis.dm/users/72386-andrew60 Nudist Nudism Beach Girls, 206, http://wis.dm/users/72383-john93 Nude Women Bodybuilders, >:-DDD, http://wis.dm/users/72382-nathan52 Nude Vanessa Hudgens, >:-]]], http://wis.dm/users/72387-connor65 Nudist Young Girl 10, inn,


_ GFVIdgHIxNPZHDpexFf?

jonn3? (2009-02-03 (火) 09:43:24)

comment1, http://wis.dm/users/72378-robert96 Nude Male Wrestlers, =D, http://wis.dm/users/72375-connor32 Nude Family Photos, mwhld, http://wis.dm/users/72379-david65 Nude Phun Girls, 000544, http://wis.dm/users/72381-matthew82 Nude Sports Stars, >:-*1, http://wis.dm/users/72377-ethan82 Nude Glamour Pierced Nipples, :-[,


_ ehsxnCPSAUOzaVUeD

ddhvuc? (2009-01-27 (火) 16:32:28)

pyT1zf <a href="http://udxkxohceisi.com/">udxkxohceisi</a>, [url=http://tbcvdrcotgyu.com/]tbcvdrcotgyu[/url], [link=http://rjrvggskkgnc.com/]rjrvggskkgnc[/link], http://gmpjyxqzvuah.com/


 


, http://wis.dm/users/72374-joshua14 Nude Beaches Pictures, 8OOO, http://wis.dm/users/72380-anthony77 Nude Pictures Of Vanessa Hudgens, 86193, http://wis.dm/users/72376-noah16 Nude Female Wrestlers, 7694, http://wis.dm/users/72373-michael71 Not Another Teen Movie Clips, %-O, http://wis.dm/users/72372-nathan02 Norwegian Teen Anal, 8-