884 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
1
answer
105
views
How to compute an optimal enclosing segment of a circle from a 2D point set?
I am looking for some advice on how to fit a circular segment to a set of 2D points. My dataset looks like this: 2d data to fit segment to
For clarity, my definition of an "optimal" segment ...
6
votes
1
answer
161
views
Scipy OptimizeWarning: Covariance of the parameters could not be estimated when trying to fit function to data
I'm trying to plot some data with a non-linear fit using the function:
kB and Bv being a constant while J'' is the independent variable and T is a parameter.
I tried to do this in Python:
#Constants
...
0
votes
2
answers
71
views
AUC by integration using Gnuplot results '0'
I am trying to find AUC after fitting a peak and integrating the fit. Following is the code (I am a newbie gnuplot user !^_^!).
FILE = 'rdf_1.dat'
f(x) = (a/2/d*exp(c**2/2./d**2 + (b - x)/d) * (erf((...
0
votes
0
answers
119
views
How to fit an Erlang mixture to a sample?
How can I fit an Erlang mixture to such data via R?
set.seed(123)
n <- 500
data1 <- rgamma(n / 2, shape = 9, rate = 10)
data2 <- mean(data1) + rgamma(n / 2, shape = 5, rate = 5)
sample <- ...
0
votes
0
answers
39
views
How to fit truncated distributions to truncated data? [duplicate]
I am familiar with the fitdistrplus package, which offers relevant tool for statistical inferences.
Meanwhile, I have trouble to understand what needs to be done when facing a sample that is left and/...
0
votes
2
answers
168
views
fitting theory with experimental data
I want to do fitting on experimental data and my theory I want to try to find the parameters that fit the same as the theory and experiment
do I have to make an algorithm? what algorithm do I use to ...
0
votes
1
answer
106
views
Nonlinear model fitting with several ifelse conditions
I am trying to fit a nonlinear model to empirical data and estimate the model parameters using the minpack.lm::nlsLM function. However, I am encountering difficulty in fitting the model with two ...
2
votes
1
answer
72
views
Fitting a function to exponentially decreasing numbers: Ensuring equal weight for each data point
So this question is based on a biochemical experiment. For those who know a bit about biochemistry it is an enzyme kinetics experiment. I have a dilution series of an activator (a or x) and am ...
0
votes
1
answer
75
views
Removing Noise (Jumps and Drops) from Sensor Data for Fuel Consumption
I am working with fuel consumption data received from a sensor, but sometimes the data contains noise (sudden jumps or drops) that makes it inconsistent. My goal is to identify and remove these ...
0
votes
1
answer
99
views
Determine most accurate best-fit algorithm for scattered points
I'm currently working with the skspatial package in Python3. I currently have two functions:
skspatial.objects.Cylinder.best_fit to try to best fit the points into a cylinder
A function that returns ...
2
votes
0
answers
120
views
R GAMLSS : How to fit a log-logistic distribution (truncated)?
I'm trying to fit a log-logistic distribution (truncated) with GAMLSS and can't find how to do it.
In the documentation, it says that for Generalized Beta 2 (GB2) :
Setting ν = 1 and τ = 1 in (15.20) ...
0
votes
1
answer
99
views
Sinusoidal Fit to Data in R [closed]
I have 45 years of daily temperature data parsed from a csv file. I was already able to convert the data in terms of years instead of days, and plotted the yearly maximum temperature, yearly minimum ...
1
vote
1
answer
67
views
Given the distribution of the data, how to infer the parameters?
I have data, only discrete data points, and know how the data is distributed, i.e:
y = w * gamma.pdf(x, alpha1, scale=scale1) + (1-w) * gamma.pdf(x, alpha2, scale=scale2)
How do you accurately infer ...
0
votes
1
answer
89
views
Gamma function fitting OptimizeWarning: Covariance of the parameters could not be estimated in Python
I am trying to fit functions to histograms using curve_fit from scipy, however a warning occurs when running the program:
import numpy as np
import matplotlib.pyplot as plt
from scipy.optimize import ...
0
votes
0
answers
119
views
Improving speed and robustnes for opencv HoughCircles for only single circle
There are many threads on how to detect multiple circles via OpenCV's HoughCircles function, and I understand that this is a complex task with no single good answer. However, maybe someone can give ...
user avatar
user5231990