Hello -
#1) I am trying to derive the MODE of a sequence of times of day. In other words, I'd like to see what times of day are the most frequently occurring times, from a list of observed times. I have been given the following format to convert:
12:00:00 EDT
I imagine it does need to be converted Into text or some other kind of number format so as to derive the MODE of this sequence? I have tried several approaches to no avail.
For instance, If I had the following:
12:00:00 EDT
12:00:00 EDT
22:00:00 EDT
22:00:00 EDT
22:00:00 EDT
22:00:00 EDT
The MODE would be: 22:00:00 EDT - the most frequently occurring value.
My data does have blank lines in rows, so perhaps that is an issue as well? I have tried approaches where they are all together, and MODE didn't work there either, so I think that's not the "main," MODE issue, though I will need a way to deal with blank cells, too.
#2) I also wish to derive the MODE of the day of the week, as well. I have converted the actual date into day of week with a custom format of, "ddd," and would like to derive the MODE of this (separate) sequence too. Like so:
4/26/18 Thu
4/27/18 Fri
5/4/18 Fri
The MODE for this sequence of days of the week (would be) Fri, as it is the most frequently occurring day in this very small sample.
Is there anyone with any ideas on how to proceed on either of these please?
Thanks much to you all —
#1) I am trying to derive the MODE of a sequence of times of day. In other words, I'd like to see what times of day are the most frequently occurring times, from a list of observed times. I have been given the following format to convert:
12:00:00 EDT
I imagine it does need to be converted Into text or some other kind of number format so as to derive the MODE of this sequence? I have tried several approaches to no avail.
For instance, If I had the following:
12:00:00 EDT
12:00:00 EDT
22:00:00 EDT
22:00:00 EDT
22:00:00 EDT
22:00:00 EDT
The MODE would be: 22:00:00 EDT - the most frequently occurring value.
My data does have blank lines in rows, so perhaps that is an issue as well? I have tried approaches where they are all together, and MODE didn't work there either, so I think that's not the "main," MODE issue, though I will need a way to deal with blank cells, too.
#2) I also wish to derive the MODE of the day of the week, as well. I have converted the actual date into day of week with a custom format of, "ddd," and would like to derive the MODE of this (separate) sequence too. Like so:
4/26/18 Thu
4/27/18 Fri
5/4/18 Fri
The MODE for this sequence of days of the week (would be) Fri, as it is the most frequently occurring day in this very small sample.
Is there anyone with any ideas on how to proceed on either of these please?
Thanks much to you all —
Last edited: