Questions tagged [extrapolation]

extrapolation is a method of constructing new data points outside the range of a discrete set of known data points

Extrapolation is a method of constructing new data points outside the range of a discrete set of known data points.

197 questions
0
votes
1 answer

Extrapolate data in an excel file using python script

I have a given dataset of some countries with the following fields: DATE SOURCE COMPANY DESTINATION COMPANY QUANTITY UNITS I have 2 days worth of data and I need to extrapolate the data for a year with dates and quantity values for each company…
0
votes
1 answer

Scipy interpolate/extrapolate spline

I had a working python code that generates an interpolating function from row data: scipy.interpolate.interp1d(Static_V_E[:,0], Static_V_E[:,1], kind = INTERP_KIND, bounds_error=False, fill_value="extrapolate") It was working with INTERP_KIND =…
0
votes
3 answers

Right syntax for extrapolating a variable with javascript template literals?

Could somebody please point me in the right direction regarding the correct syntax of template literals ? I have the following code (without template literals, works just fine) : const dbUrl =…
ChennyStar
  • 350
  • 1
  • 2
  • 11
0
votes
1 answer

Matlab Extrapolation Sign Flip

I need to extrapolate values values = [4.7725677013567795e-25,5.259671597595681e-25,5.271571307092517e-25,5.804522928756955e-25,5.817596178596506e-25,6.400225475961127e-25,6.414575757297374e-25,7.05099062804588e-25,7.066729446412066e-25]; when i…
jonnyx
  • 345
  • 2
  • 16
0
votes
1 answer

Create coordinate grid given number of rows, columns and starting point

I need some help with extrapolating a lat/lon pair to a square grid. The grid is 200x200 cells. Each cell is 1NM*1NM. The starting lat/lon pair is the southwest corner of the grid. For example, column 0 and row 0 should be the first four coordinate…
Zach
  • 143
  • 3
  • 13
0
votes
0 answers

Alternatives to linear / bilinear interpolation for extrapolation on 2D array

I’m searching for a way to interpolate a portion of a 2d array, likely with a power law approach though perhaps more knowledgeable users have other suggestions more suited to the data. In truth, I'm at a loss for how to even implement a power law…
Harry B
  • 351
  • 1
  • 5
  • 17
0
votes
1 answer

Extrapolation Fourier prédiction finance

I try to do an extrapolation with the FFT method thanks to this code: https://gist.github.com/tartakynov/83f3cd8f44208a1856ce and i would like to knw how can i select only the highest frequencies of the data serie because this code don't give me…
bibio95100
  • 31
  • 5
0
votes
0 answers

Interpolating and Extrapolating in R

Will anyone educate me on how to interpolate and extrapolate in R. For example, take a 2D dataframe with ages and associated values. The end result is that ages that increment by one year up to a certain value. Take the below sample data: df <-…
Jordan
  • 1,415
  • 3
  • 18
  • 44
0
votes
0 answers

Extrapolate Values MATLAB 2D

I have the following image. It contains unwrapped phase angles. As you can see from the image below, they increase left to right. However, the size of the image I have below is only 700 x 700 pixels (approx). I would like to have the values…
keyserSoze
  • 137
  • 1
  • 9
0
votes
1 answer

extrapolating a 2D matrix to predict a future output

I have a 2D 2401*266 matrix K which corresponds to x values (t: stored in a 1*266 array) and y values(z: stored in a 1*2401 array). I want to extrapolate the matrix K to predict some future values (corresponding to t(1,267:279). So far I have…
0
votes
0 answers

Extrapolating a fitted curve with predict nls in R

I'm trying to predict a nls fit in R. My values are intensities (y) and excitation energy (x). My code is the following: mydata<-read.delim("TrapDepthExcSpec.txt", header = TRUE) x <- mydata[1:5,1] y <- mydata[1:5,2]…
0
votes
1 answer

Estimate and extract point values from a 3D kernel density in R

From the following code in the R documentation link I would like to figure out how to extract a single value ("density") for each of the original points of a data frame This, so that I can use the new column for further applications that i have in…
Mark
  • 2,789
  • 1
  • 26
  • 66
0
votes
1 answer

Interpolation/ Extrapolation in R

I have a data sets where in which duration of days varies for the value column. Start End Value Days 24-03-2011 24-05-2011 398 60 25-05-2011 21-07-2011 275 56 22-07-2011 13-09-2011 389 52 14-09-2011 18-11-2011 482 …
ann_dos
  • 83
  • 4
0
votes
1 answer

Interpolating curves whose x ranges are contained in the x range of another curve (Python)

I have two sets of data points, set1 and set2, each of which contains two columns of x and y values, like that (for one of them, the other has similar structure and values) x y 0.015 0.01 0.025 0.015 .. .. 0.115 …
johnhenry
  • 1,293
  • 5
  • 21
  • 43
0
votes
1 answer

R: Interpolate + Extrapolate over borders - with data.table?

So, I have the following problem: I have a data set, A (data.table object), of the following structure: date days rate 1996-01-02 9 5.763067 1996-01-02 15 5.745902 1996-01-02 50 5.673317 1996-01-02 78 5.608884 1996-01-02 169…
Daedalus
  • 235
  • 1
  • 2
  • 9