Questions tagged [trend]

A trend is the general drift or tendency in a set of data.

Trend in math is a mathematical tool used to show a pattern in the occurrence of data. An example would be; if a set of numbers in any given data increases and the values of the other set of numbers increases, then they are said to have a positive trend and vice versa. If the data shows no relation then the set shows no trend.

332 questions
19
votes
2 answers

How can I detect if trend is increasing or decreasing in time series?

I have few weeks data with units sold given xs[weeks] = [1,2,3,4] ys['Units Sold'] = [1043,6582,5452,7571] from the given series, we can see that although there is a drop from xs[2] to xs[3] but overall the trend is increasing. How to detect the…
Kanika Singhal
  • 253
  • 1
  • 2
  • 10
17
votes
3 answers

Jenkins—get "Build Time Trend" values using "Remote Access API"

Is there a way that we can get all Jenkins-"Build Time Trend" information ( Build number + Status[success/failed etc] + Duration ) for an application; using the Jenkins remote access API? Or else I would appreciate if you could post a link of any…
Chathura Kulasinghe
  • 2,640
  • 5
  • 23
  • 23
16
votes
6 answers

Calculating length of 95%-CI using dplyr

Last time I asked how it was possible to calculate the average score per measurement occasion (week) for a variable (procras) that has been measured repeatedly for multiple respondents. So my (simplified) dataset in long format looks for example…
Rasul89
  • 588
  • 2
  • 5
  • 14
15
votes
1 answer

Similarity of trends in time series analysis

I am new in time series analysis. I am trying to find the trend of a short (1 day) temperature time series and tried to different approximations. Moreover, sampling frequency is 2 minute. The data were collocated for different stations. And I will…
A.Amidi
  • 2,502
  • 5
  • 25
  • 37
12
votes
2 answers

Identifying trend with SQL query

I have a table (let's call it Data) with a set of object IDs, numeric values and dates. I would like to identify the objects whose values had a positive trend over the last X minutes (say, an hour). Example data: entity_id | value | date 1234 …
Dan Markhasin
  • 752
  • 2
  • 8
  • 20
11
votes
3 answers

Java random is always delivering a negative trend on the long run?

I'm constructing an app and for that I have a function to fill it with test data. Short outline: HashMap iIDs = new HashMap(); HashMap vals = new HashMap(); long…
Toni Kanoni
  • 2,265
  • 4
  • 23
  • 29
10
votes
2 answers

System Design of Google Trends?

I am trying to figure out system design behind Google Trends (or any other such large scale trend feature like Twitter). Challenges: Need to process large amount of data to calculate trend. Filtering support - by time, region, category etc. Need a…
mithya
  • 363
  • 1
  • 10
9
votes
1 answer

Using ElasticSearch to find trends

I have implemented elastic search for my search and have a good feeling it could easily be leveraged for finding trends , but its a the tip of my tongue how one would start to go about such a thing. Can anyone point me in the right direction or give…
ChuckKelly
  • 1,742
  • 5
  • 25
  • 54
7
votes
1 answer

How to calculate and plot multiple linear trends for a time series?

Fitting a linear trend to a set of data is straight forward. But how can I fit multiple trend lines to one time series? I define up and down trends as prices above or below a exponential moving average. When the price is above the EMA I need to fit…
cJc
  • 813
  • 1
  • 11
  • 33
7
votes
3 answers

Calculate if trend is up, down or stable

I'm writing a VBScript that sends out a weekly email with client activity. Here is some sample data: a b c d e f g 2,780 2,667 2,785 1,031 646 2,340 2,410 Since this is email, I don't want a chart…
user736893
7
votes
1 answer

timeseries fitted values from trend python

I have daily stock price data from yahoo finance in a dataframe called price_data. I would like to add a column to this which provides the fitted value from a time series trend of the Adj Close column. Here is the structure of the data I am…
datavoredan
  • 3,536
  • 9
  • 32
  • 48
6
votes
1 answer

Automatic Trend Detection for Time Series / Signal Processing

What are the good algorithms to automatically detect trend or draw trend line (up trend, down trend, no trend) for time series data? Appreciate if you can point me to any good research paper or good library in python, R or Matlab. Ideally, the…
Joshua G
  • 239
  • 8
  • 12
6
votes
2 answers

How to build a trendline on a graph in R

I've checked everywhere, and people refer to examples that I can't understand (yes I'm kinda slow). Could anyone please explain me how to build a logarithmic trendline in R? Here's the working example: myds <-…
LoomyBear
  • 449
  • 2
  • 8
  • 19
5
votes
2 answers

Hot topics extraction from Twitter

I am building a website of finding and showing the hottest topics curretly on Twitter for my final project. Does anyone know how to extract the topics from the huge amount of tweets in the last week, or in a single day? I'm also wondering how to…
Lenny
  • 85
  • 1
  • 7
5
votes
3 answers

How do I recreate an Excel formula which calls TREND() in C#?

I'm building a .net page to mimic a spreadsheet. The sheet contains this formula =ROUND(TREND(AA7:AE7,AA$4:AE$4,AF$4),1) Can someone provide the C# equivalent of TREND() ? Alternatively if anyone can provide a shortcut around it that's fine too;…
lincolnk
  • 11,218
  • 4
  • 40
  • 61
1
2 3
22 23