标签: markov-chains pst traminer sequence-analysis
在lock包中,可以使用PST估计单个序列的预测质量,例如:
lock
PST
log-loss
如何统计比较这些R> ex2 <- c("a-a-b", "a-b-a-a-b", "b-b-b-b-a") R> ex2 <- seqdef(ex2) R> predict(S1.p1, ex2, output = "logloss") logloss [1] 0.9183 [2] 0.7311 [3] 0.9600 值?有没有办法证明log-loss与0.9183显着不同?
R> ex2 <- c("a-a-b", "a-b-a-a-b", "b-b-b-b-a") R> ex2 <- seqdef(ex2) R> predict(S1.p1, ex2, output = "logloss") logloss [1] 0.9183 [2] 0.7311 [3] 0.9600
0.9183