Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 241130

An observable pattern in the data.

2 votes
1 answer
743 views

How to detrend exponential time series in R?

In R, when I see a linear trend, I use diff() function. Which, if I had the time series in a sheet of paper, I see it like "flipping the paper". I checked ? … diff hoping for a parameter, but there isn't one... is there an R function to achieve detrending for an exponential trend? …
Chicago1988's user avatar
8 votes
1 answer
11k views

Shall we use log(diff(x)) or diff(log(x))?

Generally, I use diff() for, let's say there is an upward trend like inflation... and I use log() to stabilise the variance. …
Chicago1988's user avatar