Menu

Commit [r27214]  Maximize  Restore  History

Reverted range of commits r27213:r27202 as this was a bad implementation.

To get the distribution, one should look at the sum of squares.
But this should be from the weighted sum of squares, which is stored as chi2.
The API provides a method of model_statistics(), to get:
k - number of parameters.
n - number of data points.
chi2 - the chi-squared value.

Then reduced chi2 can be computed. chi2_red = chi2/(n-k)
And the error distribution be drawn from this.

The command used was:
svn merge -r27213:r27201 .

Task #7882 (https://gna.org/task/?7882): Implement Monte-Carlo simulation, where errors are generated with width of standard deviation or residuals.

tlinnet 2015-01-17

changed /trunk/pipe_control/error_analysis.py
changed /trunk/specific_analyses/api_base.py
changed /trunk/specific_analyses/parameter_object.py
changed /trunk/specific_analyses/relax_disp/api.py
changed /trunk/specific_analyses/relax_disp/optimisation.py
changed /trunk/target_functions/relax_disp.py
changed /trunk/test_suite/system_tests/relax_disp.py
changed /trunk/user_functions/monte_carlo.py
/trunk/pipe_control/error_analysis.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/api_base.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/parameter_object.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/relax_disp/api.py Diff Switch to side-by-side view
Loading...
/trunk/specific_analyses/relax_disp/optimisation.py Diff Switch to side-by-side view
Loading...
/trunk/target_functions/relax_disp.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/system_tests/relax_disp.py Diff Switch to side-by-side view
Loading...
/trunk/user_functions/monte_carlo.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.