Skip to main content

Questions tagged [curve-fitting]

Methods used to fit curves (as in linear or non-linear regression) to data.

0 votes
1 answer
48 views

How do I calculate the error on the extrapolation of a double natural log fit? [duplicate]

I am writing software in Python that tries to fit a data set $t, y$ to the function $y = a \ln(pt) - b \ln(qt)$ and solve for the value of $y$ at $t=30$, denoted $y_0$, and its error $\sigma_{y_0}$. ...
ohshitgorillas's user avatar
0 votes
0 answers
28 views

How to measure the error on extrapolation from a double log fit? [duplicate]

I am writing residual gas analysis mass spectrometry software in Python. One of the functions of this software is to take the raw mass spec intensity data, $y$, and timestamps $t$, and fit them to the ...
ohshitgorillas's user avatar
-1 votes
1 answer
38 views

Calculating error on a double natural log fit

I am writing residual gas analysis mass spectrometry data reduction software in Python. The evolution of gas intensity $y$ over time $t$ in the mass spec is roughly a double natural logarithmic ...
ohshitgorillas's user avatar
4 votes
1 answer
228 views

Approximation function for MLP and LSTM

I have total of 6300 samples, 5800 of which are training data, and 500 of which are testing data. We compare the performance of LSTM and multilayer perceptron (MLP) with one hidden layer in terms of ...
D. S.'s user avatar
  • 69
0 votes
0 answers
17 views

Finding a function for the number of people on a bus

I've been trying to pin down the function that would describe the number of people on an ideal bus ( # of stops and passengers approaches infinity/ is large enough that the function is continuous), ...
Eda Toloch's user avatar
0 votes
3 answers
61 views

What is a good starting model for fitting a rotated sigmoidal curve?

I'm trying to make a model to fit a rotated sigmoidal curve in R but don't know where to start when looking for an appropriate equation for the model. Some example data and the type of fit I'm getting ...
jaysmith's user avatar
0 votes
0 answers
41 views

How to fit data to a parametric curve/model (x(t), y(t)?

I've got data of x and y pairs and I'd like to fit it to a model that is parametrized as f = (x(t), y(t)). Unfortunately, there is no way for me to analytically solve for t and get a direct ...
StatAnomaly123's user avatar
4 votes
1 answer
94 views

Help fitting doube-exponential curve to raw mass spec data, time

I am writing mass spec data reduction software in Python for a helium measurement system and could use a hand getting a double-exponential function to fit my data. Basically, the gas in the mass spec ...
ohshitgorillas's user avatar
0 votes
0 answers
23 views

Graphical analysis of residuals

For an electricity experiment, I have collected data on the charging and discharging of a capacitor. Using the data and scipy.curve_fit, I have fitted the theoretical models. Now, I need to validate ...
Iván Solich's user avatar
1 vote
1 answer
37 views

Parameter uncertainty in curve fitting

My real problem has a much more complexity and a different function than following. However, for the sake of simplicity assume I have a data that can be described as a one dimensional Gaussian ...
MOON's user avatar
  • 173
0 votes
1 answer
31 views

Fitting data to a Malthusian exponential model

I have some data from the exponential phase of yeast growth and I want to fit it to a exponential (Malthusian) growth model or curve, so the growth rate (with its error) and any metric of the goodness ...
Paolo Vallejo Janeta's user avatar
0 votes
0 answers
29 views

Fit on original data vs linear fit on transformed data

I asked a question yesterday (Better function to fit log-like data?) and the accepted answer got me thinking. For non-linear data, Is it better/more recommended to asses the goodness of fit on the ...
Gabriel's user avatar
  • 4,352
4 votes
3 answers
240 views

Better function to fit log-like data?

I'm trying to fit a two-parameter function to data that looks like this (black dots, x scale is logarithmic): The best fit I could find is an $arctan$, measured by the MSE. All the seven functions I ...
Gabriel's user avatar
  • 4,352
1 vote
0 answers
32 views

Help identifying a distribution

I'm seeing data whose rank-frequency curve is nearly log linear (b e^(a x)) but where the top few frequencies are higher than expected. The top fits a Bradford distribution well, and the middle is ...
Scott Deerwester's user avatar
0 votes
0 answers
19 views

How to numerically fit an adaptive composite bezier curve?

Given a set of points $X$ that define a smoothly varying curve $y$ that describe a highly sampled smoothly varying time series I would like to fit some bezier curve sections to the data to effectively ...
Goods's user avatar
  • 173

15 30 50 per page
1
2 3 4 5
44