Answered
bhhh method for nonlinear regression
BHHH is a specific optimization algorithm. Under certain conditions, the BHHH algorithms is guaranteed to converge. I am not...

nästan 13 år ago | 0

Answered
Need Help in Monte Carlo and comparing operational sequence
Hi Hammad It's difficult to answer this without more information about your model. The easiest way to implement this would...

nästan 13 år ago | 0

Answered
Multi level regression analysis
Statistics Toolbox includes two different algorithms (nlmefit and nlmefitsa) for fitting nonlinear mixed effects model. nlmefit...

nästan 13 år ago | 1

| accepted

Answered
Appending dataset of varying length
Hi Oleg This strikes me as more of a data representation issue than a question of MATLAB syntax. Your eventual solution will...

nästan 13 år ago | 0

Answered
Bioinformatics GO Ontology, leave-one-out cross validation
Here's a simple example that shows how to do leave one out cross validation using the cvpartition and crossval commands in Stati...

ungefär 13 år ago | 0

Answered
Residuals from Regress
% Generate some random data X = linspace(1,100,100)'; Y = X + randn(100,1); % Use Curve Fitting Toolbox to genera...

ungefär 13 år ago | 0

| accepted

Answered
Nonlinear fit to multiple data sets with shared parameters
Hi Kenneth Coincidentially, I did a webinar a couple weeks back that uses lsqcurvefit to solve just this type of problem. You ...

ungefär 13 år ago | 0

Answered
removing outliers
Automatically detecting outliers is tricky stuff. You normally need fairly precise information regarding your data as well as t...

ungefär 13 år ago | 4

Answered
Fitting data from differential scanning calorimetry to the Lumry-Eryring equation
Much as I love Curve Fitting Toolbox, I think that this is a case where Optimization Tbx will suffice....

ungefär 13 år ago | 0

Answered
Fitting data from differential scanning calorimetry to the Lumry-Eryring equation
Hi William I did a quick Internet search on "Lumry-Eyring". I found a lot of references to kinetic models. While the curves ...

ungefär 13 år ago | 0

Answered
Ridge regression and MSE
Use the "scaled" option to restore the coefficient estimates to the scale of the original data. You can then use b to estimat...

ungefär 13 år ago | 0

Answered
nonlinear regression
The quality of a nonlinear regression is often highly dependent on the starting conditions that you provide to the optimization ...

ungefär 13 år ago | 0

Answered
Curve fitting to experimental sets of data
1. Start by using the Curve Fitting Tool to fit one of your data sets. 2. Select "Generate Code" from the file menu. This ...

ungefär 13 år ago | 1

Answered
Fitting an exponential curve to data and comparing it to excel
Hi Alice I just ran this same example using MATLAB and Excel. In both cases, the coefficients from the nonlinear regression ag...

ungefär 13 år ago | 3

| accepted

Answered
Does MATLAB have a Birthday Problem?
Hi Derek Your question about the birthday problem is best viewed as a special case of a more general topic: How should measure...

ungefär 13 år ago | 1

Answered
Finding regression values for a fixed gradient line
Here's some simple code to calculate R^2 SStot = sum((Y - mean(Y)).*(Y - mean(Y))); resid = Y - YHat; resid_sqrd = resid.*r...

ungefär 13 år ago | 0

Answered
correlation coefficient for a non-linear fit
Hi Marina You might find the following blog posting of interest. (It shows some interesting ways to use Curve Fitting Toolbo...

ungefär 13 år ago | 1

Answered
Contour Plotting in Surface Fitting Tool
Here's some code that should help get you started. Most of this code is framing the problem. The section dealing with the cust...

ungefär 13 år ago | 0

Answered
3D plot from imported Excel data
Curve Fitting Toolbox supports command line functions and interactive tools for surface fitting. The toolbox assumes that sur...

ungefär 13 år ago | 1