Questions tagged [sequence-analysis]
Sequence analysis (in the social sciences) is the analysis of how people or other units of study move from one state to another (for example, single-->married-->widowed, unemployed-->employed-->retired) over the course of their lifespan.
sequence-analysis
5
questions with no upvoted or accepted answers
1
vote
2
answers
51
views
adjusting the legend in TramineR plots
I am new to using TramineR and I just cannot seem to figure out how to arrange the legend in any of the plot types. The legend keeps being cut off by the plots. I have tried to use the seqlegend ...
1
vote
1
answer
72
views
Sequence alignment for hierarchical cluster analysis on categorical sequence data
I have a dataset of short-term behaviors displayed by 30 individuals.
#Load packages
library(TraMineR)
# Function to generate a random non-numerical sequence
generate_random_sequence <- function(...
1
vote
0
answers
45
views
Comparing log-loss values for a probabilistic suffix tree?
In the PST package one can estimate the prediction quality of individual sequences using the log-loss, e.g:
R> ex2 <- c("a-a-b", "a-b-a-a-b", "b-b-b-b-a")
R> ex2 <- seqdef(ex2)
R> ...
1
vote
0
answers
1k
views
Sequence Mining using arulesSequence package in R
I am trying to learn about Sequence Mining, and I ran the following code from wikibooks as an example. The cspade function has taken over 30 minutes to run (and is still running) when the example ...
0
votes
1
answer
99
views
Sequence Analysis and Predicting the Next Label
I have recorded a dataset of about 1000 entries in the following format.
TimeStamp | Action | UserId
2015-02-05 | Action1 | XXX
2015-02-06 | Action2 | YYY
2015-02-07 | Action2 | XXX
...
I try to ...