currently running into a problem solving this. The objective of the exercise given is to find a polynom of certian degree (the degree is given) from a ...
currently running into a problem solving this. The objective of the exercise given is to find a polynom of certian degree (the degree is given) from a ...
I am using optimize.leastsq to fit the data I have collected from a Mossbauer Spectroscopy experiment. The data was successfully fit, and the best fit ...
I'm trying to solve the following formula via least squares: Data: So I wrote: Which doesn't do what I expected since it's only returning the ...
I have 2 formulas that describes the behaviour in 2 perpendicular axes. Also I have data from FEM simulation. The goal is to use least mean square met ...
so I have to find the coefficients of this function. https://mathworld.wolfram.com/LeastSquaresFittingPowerLaw.html I think I input the equation for ...
The goal is to detect and fix why the report between my sklearn "summary" implementation is not matching with the results of OLS statsmodels. The only ...
I have a set of points (x1,y1,z1) and I would like to transform them to another coordinate system which has points (x2,y2,z2). I would like to calcula ...
Given a parabola, $f(x)=10(x-1)^2-1,x\in \Omega =[1,2]$, find the best approximation in the space of all linear functions. The Python code is as follo ...
I'm trying to plot a graph with points, OLS line and I want to add a square to every point to explain how OLS work. I am doing so using for loop which ...
In the code below, I found that the coefficients comes out differently depending on the position of a.I tried the same using ols in Python, and the sa ...
I have a table “clean_factor“ where the column “y“ indicates the stock returns and the subsequent columns indicate factor exposures. How do I calculat ...
I'm struggling a bit finding a fast algorithm that's suitable. I just want to minimize: norm2(x-s) st G.x <= h x >= 0 sum(x) = R G is spar ...
I am trying to fit experimental data to a set of 3 PDEs: dX/dt = mumax.(S/(Ks+S)).(1-X/Xm).X dS/dt = -1/Y_x/s * dX/dt - m_s.X - k_LD * dL/dt dL/dt ...
image Initial idea is to use euclidean distances. But I do not understand how should I solve this task. Does anyone have some hints on how to approac ...
. Answers to this question are eligible for a +100 reputation bounty. I ...
Hi everybody, I'm trying to fit the experimental data on a set of 3 PDEs to find 4 coefficients including mumax, Ks, Y_(x/s), and Y_(p/s). The code I ...
I'm currently comparing several traditional methods for selecting an exponential trend in a series of points. Trends are often selected in my industry ...
I need to get fitting result for each parameter created in each least_sq run. Can anyone guide me on Parameter names inferred from the function argume ...
I am trying to find the 'long axis' of a 3D object (described as a 3D boolean or label array), which passes through (or near) the centroid of that obj ...
I want to fit a set of data points in the xy plane to the general case of a rotated and translated hyperbola to back out the coefficients of the gener ...