sequence

  1. B

    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. R

    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. T

    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. D

    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. E

    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. M

    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...
  7. W

    please help with this...

    hello,i´m new here and i´m looking for help about this problem.... well, i have 100,000 random binary sequences like this... 1-01011101101001100111001100100001010... 2-11110111001110000110001100001010101... 3-00110010100011111000100010101010101... 4-10001001110101000111000101010011110...
  8. M

    select array data in which column n's values rise consecutively

    I want to select only the data from an array that is sequential by column n. For example: n <- c(1, 2, 4, 6, 7, 8, 9, 11) x <- c(10, 20, 30, 40, 50, 60, 80, 90) y <- c(60, 20, 40, 90, 10, 30, 50, 40) a <- cbind(n,x,y) a n x y [1,] 1 10 60 [2,] 2 20 20 [3,] 4 30 40...
  9. M

    plot points that fall within an interest area

    I want to find which points fall within an interest area, and then plot only those points. Here is a basic example. install.packages("sp") #install package that allows usage of point in polygon library(sp) x <-1:10 y <- 1:10 #polygon is plotted as (1,1) (6,1) (6,5) (1,5) inIA <-...