I am using the seqgranularity command in TraMineRExtras. I read in the help documentation that I can indicate method = "mostfreq". What happens if, for example, I move from monthly to yearly data and in the 12 months I have 6 months in a state and 6 months in another state? Which of the two will be used to define the yearly sequences?
Thank you!
seqgranularity in TraMineRExtras
72 Views Asked by emanuela.struffolino At
1
There are 1 best solutions below
Related Questions in SEQUENCE
- Recent development in recoding repeated variables in R?
- All increasing sequence of length k of first n whole numbers
- Oracle sequence.NEXTVAL strange order from JSP app
- Creating an alphanumeric sequence
- Longest Snake Sequence
- Using a BackSlash in Java
- R add columns indicating start and end for a sequence within columns
- I can't figure out this sequence - 11110000111000110010
- Tools for generate sequence diagram(UML) from PHP class(files)
- Custom List data structure implementing SequenceType with using of GeneratorOf struct
- Longest Snake Sequence in an Array
- Longest Snake Sequence in a list of numbers
- XQuery - Doing math on elements within a sequence and aggregating results
- group by until changed sequence
- Multiple TSQL sequences in one sequence
Related Questions in TRAMINER
- Compute "substring" distances between sequences
- Keeping the label order on the y-axis when using seqpcplot in TraMineR
- Extracting data from TraMineR for use in other plotting packages (e.g. ggplot2)
- Sequence index plots in ggplot2 using geom_tile( )
- meaning of MinSupport in traminer
- treating overlapping states TraMineR
- Plot 20 lowest occurring sequences using TraMiner in R
- Definition of sequence notation...(A), (A>B), and (A) - (A>B)
- Searching for most common substrings into subsequences
- Abbreviations in Sequence Regression Trees
- How to configure y-axis using seqmtplot in R?
- The difference between max.gap and window.size in seqeconstraint
- Strange number of subsequences?
- Counting subset membership co-occurrences and group alphabet length
- TraMineR - Seqiplot include more x axis labels and rotation
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The most frequent category is identified by applying
which.maxon the outcome ofseqistatd, which returns the state frequencies in the order of the alphabet.which.maxreturns the index of the first encountered maximum. Therefore, withmethod="mostfreq",seqgranularityassigns the category that appears first in the alphabet among those that share the maximal frequency.The example below with two sequences of length 24 shows how the outcome changes with the alphabet order