bootTestCurvesSame(​X, Y, nBoot, func, P0)

Bootstrap test of whether two curves fit to two data sets are different.
165 Downloads
Updated 28 May 2015

View License

Many functions are available to test whether two data sets are drawn from different populations, and many tests are available to see whether two curves fit to the same data set are better fits. In some cases, it is desirable to fit two curves to two different data sets, and then ask whether the curves are different. This is not easy if the populations are not Normally distributed, or the curves are nonlinear. A solution to this problem is to bootstrap the curve fits. The bootTestCurvesSame function will perform such a test. The function will fit a curve you provide, or it can fit the data using a smoothing spline.

Cite As

Lance Optican (2024). bootTestCurvesSame(X, Y, nBoot, func, P0) (https://www.mathworks.com/matlabcentral/fileexchange/51008-boottestcurvessame-x-y-nboot-func-p0), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0