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
0
votes
1 answer

Fine tuning addADX() to avoind truncating the trend curves

I am using the following code to look at the past 9 months of a stock. library(quantmod) getSymbols("AMZN") candleChart(to.weekly(AMZN),multi.col=TRUE,theme="white",subset='last 9 months') addADX() You can see that the red line is essentially not…
Oposum
  • 1,155
  • 3
  • 22
  • 38
0
votes
2 answers

Algorithm to trend towards a given number after n iterations

I'm trying to find a good algorithm to accomplish the following: I have two RGB colors. I start off with one color (say, red = 255, 0, 0) and after a number of iterations, I want it to turn blue (0, 0, 255). My current algorithm simply takes the…
Duffluc
  • 27
  • 2
  • 6
0
votes
1 answer

Getting cumulative counts of word frequencies founds in a documents

I have been trying to detect word/bigram trends over pieces of text. What I have done so far is removing stop words, lowercasing and getting word frequencies and appended the top common 30 per text to a list, e.g. [(u'seeing', 2), (u'said.', 2),…
Swan87
  • 421
  • 6
  • 23
0
votes
1 answer

R Help - na.approx similar to SuperTrend in Excel

Raw Data na.approx desired result 1 1 1 NA 3 4 5 5 5 6 6 6 7 7 7 NA 8 4 NA 9 …
JJJ
  • 1
  • 2
0
votes
1 answer

Predicting Trends in Data

Good morning, Stack. I'm trying to figure out a way to predict trends in data.. I'm wondering if there is a better way to do this.. Are there any built-in functions or libraries I can look into? Here's what I've got:…
I wrestled a bear once.
  • 22,983
  • 19
  • 69
  • 116
0
votes
0 answers

Trend values of a 3d matrix having nan values

I have a 3D matrix (19-by-21-by-23) of mean AOD values. My dataset consists of NaN values at many positions in the matrix. I wish to calculate the trend of each grid of the matrix, but I am somehow getting incorrect results and mostly NaN value as…
0
votes
0 answers

Interpretation of trend in two models

I have estimated the following two models: Δy_t=0.015−0.410Δy_{t−1}−0.220Δy_{t−2} and Δyt=0.400+0.00145t−0.150y_{t−1}−0.325Δy_{t−1}−0.220Δy_{t−2} (Note that yt is the log of monthly trading volume.) How can I interpret how each is modelling the…
0
votes
1 answer

Building a logistic trend surface in R

I would like to build a very simple rectangular surface in R that would have a logistic trend. The values at the top would have the highest values (1) and at the bottom the lowest (0). I have drafted an image that shows example of the surface that I…
MIH
  • 1,083
  • 3
  • 14
  • 26
0
votes
1 answer

forecast data in R with very upward trend

i want to forecast data with very upward trend. First of all here is my data(units of a product ) 10493 13666 15590 18868 16008 19973 23929 25011 29010 28804 30239 35830 the data is at monthly base..so i have one year data..the product is new so…
vasilis
  • 33
  • 7
0
votes
2 answers

Data Trends in an Access Database

I am very new to using Access, and do not know many of the functions it is capable of, so my question may not be the clearest, but here goes... I am trying to design a database to statistically monitor the values that are input. i.e. I have a Data…
MissW
  • 3
  • 4
0
votes
1 answer

Why does my detrending not result in a different semivariogram in R?

I have a series of samples, which I wish to construct a variogram model of, and eventual kriging model. First, I neeed to detrend the data, as shown below: samples x y z 1 180 1180 2.763441 2 180 240 -2.000000 3 380 1840 …
makansij
  • 9,303
  • 37
  • 105
  • 183
0
votes
2 answers

Calculate momentum as weighted average by recency

I have a subscriptions table with an associated feed_id and creation timestamp. A feed has N subscriptions. It's easy enough to show the most popular feeds using a group query to count the number of records with each feed_id. But I want to calculate…
mahemoff
  • 44,526
  • 36
  • 160
  • 222
0
votes
0 answers

Detect which is trending based on graphs

I have multiple graphs. I have the data(count) also which is used to form that graph. Is there a way I can detect from those graphs which one is most trending. I want from multiple graphs the graph which is more trending or going upwards compared to…
cherry
  • 137
  • 2
  • 13
0
votes
0 answers

SQL Server 2008 Simple Forecasting

I'm creating the following output, and I am looking for a simple way to forecast the NULL values, based on previous months results. I want to say something like - If the value is NULL calculate the average increase of the past 4 months and apply it…
angiekia
  • 9
  • 1
0
votes
2 answers

Calculate the trend for 2000-rows time series and isolate the abnormal rows

I have a R dataframe which describes the evolution of the sales of a product in approx. 2000 shops in a quarterly basis, with 5 columns (ie. 5 periods of time). I'd like to know how to analyse it with R. I've already tried to make some basic…