The process of fiting some statistical model to a particular set of data. Mostly done on a computer, and using varied numerical methods such as optimization or numerical integration, or simulation.
Questions tagged [fitting]
811 questions
5
votes
1 answer
Compute gaussian fit corresponding to a discrete variable
I collected data for a discrete probability distribution and I have the pairs (value, probability).
Value Probability
90 0,0033
125 0.0204
180 0.0847
250 0.2516
355 0.4653
500 0.175
710 0.0015
I have been…
mariosangiorgio
- 285
1
vote
0 answers
Fitting censored data
I want to fit model parameters $\omega$ to a data set $y$, where the model is time dependent, i.e. I want to optimise $f(t,\omega)$. The main problem I'm facing right now is that the data is left censored (below $c$). So I need an error function…
Jan
- 11
1
vote
0 answers
Significance of difference in quality of fit between two sets of parameters of the same model
I have one experimental data set and two fits to it. Both fits were generated from the same model - the fits are different because the parameters of the model are different.
The fit from set 1 is better in terms of chi^2 of fit, but visually the…
Maciej
- 111
1
vote
1 answer
Determining which of my two fit functions is better (python)
I am working on a python project right now, and it entails me fitting Gaussian curves with either a one component fit or a two component fit. Sometimes, the data just doesn't have two components in it, and I would like to know if there is a…
Jason
- 11
- 1
0
votes
0 answers
Model composite distribution outcome due to variability around multiple target specification
Statistics enthusiasts, I need your guidance!
I have encountered a modeling problem for which I could really need a push in the right direction. Both terminology wise (maybe with the right search words I will find a deep reference library on the…
Robert
- 15
0
votes
0 answers
Fitting power law with loglog or exponential?
I have $x$- and $y$-data, and I want a power-law fit ($y=ax^b$). I always fit $\log(x)$ and $\log(y)$ by $p_1x+p_2$ (Matlab poly1), but when I fit $x$ and $y$ with $p_1x^{p_2}$, I did not get exactly the same result. Why?!
And what is the best way…
mehrdad
- 1
- 1
0
votes
1 answer
What's a good test for assessing which model fits a particular dataset the best?
I understand you can graph the variable distributions but is there an actual best fit test?
Edit:Sorry about the wording. Basically what I did is run two linear regression models. One containing choice predictors and an outcome and the other with…
Sara A
- 31
-1
votes
2 answers
How can I do a fit for negative $y$-data, which has exponential phenomena?
How can I do a fit for negative $y$-data, which has exponential phenomena?
Such as:
coefs = np.polyfit(xs,np.log(rs+abs(np.min(rs))+1), 1)
fit = np.exp(coefs[1])*np.exp(coefs[0]*xs)
But if I move $\log(y)$ to $\log(y+a)$, then do a fit, how can I…
mavavilj
- 4,109