# sequence

1. ### determining the most probable permutation of a set

Is there any way to determine the most probable permutation of any given set? For example, given the set of letters SKTANH, is there a way to compute that the most probable sequence of these letters is THANKS? The background behind this question: I've trained a recurrent neural network on...
2. ### Create visit values based on time

I am trying to create a visit number based on time. The data I have currently looks like this: Date Time Cow 11/1/15 2:00 77 11/1/15 2:01 77 11/1/15 2:02 77 11/1/15 2:03 77 11/1/15 2:04 77 11/1/15 2:05 77 11/1/15 2:06 77 11/1/15 4:00 77 11/1/15 4:01 77...
3. ### weighting of aligned subsequences by their length

I have a pool of subsequences, each one associated with a probability (and other properties that you don't need to know) that quantifies how frequently that subsequence occurs. In order to select those subsequences that may be part of a longer sequence (template sequence), I align them to the...
4. ### Predicting a Finite Sequence of Events

Hello everyone, I have very little experience with statistics, but I have a general problem that I think it might be applicable to. My primary difficulty is that I'm not familiar enough with the field to know which areas I should be researching. The data I have consist of many ordered...
5. ### How can I drop observations when a variable is equal to any number from a sequence?

I have a variable in a data set that has numbers between 0 and 1000. I want to drop observations where the variable is equal to any number from the sequence S=42 + k*12 k=(0,infinity) Right now the only way I know to do this is by typing out drop if var == 42 | var == 54 | etc...
6. ### statistical significance of sequence

Hi, Suppose I have a set of sequences of length n with symbols from an alphabet A = {a1, a2, ..., an} A particular sequence may appear multiple times in the set. I would like to know which sequences have frequencies that are statistically significant. That is, I would like to identify...