How to Calculate a Trend for Binary Time Series Data?

  • Context: Undergrad 
  • Thread starter Thread starter IMK
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 6K views
IMK
Messages
61
Reaction score
0
Hello,
So how do calculate a trend please for a set of time series data where the data values are binary thus:

000100111100010010101111000010101010101010000010111110000110

I know this must be real simple but I can’t seem to find a simple reference.
Many thanks IMK
 
Physics news on Phys.org
HallsofIvy said:
What do you mean by a "trend" here?

Hello HallsofIvy and many thanks for your reply.
The best way I can describe what I mean be the Trend is as if you plot the data sequence as a graph in Excel and then add a trend line you can see if the number of one's to zero's is rising or falling. Any I had a soak in the bath on the problem and well I think it is simple arithmatic, unless I have mist something.
IMK