Answered
Constrained Polynomial Regression
The 12a release of Statistics Toolbox has some very nice new features for regression analysis. There is a new function named Li...

12 years ago | 0

Answered
Constrained Polynomial Regression
Curve Fitting Toolbox allows you to specify constraints for individual regression coefficients. With this said and done, coul...

12 years ago | 1

Answered
fitting curve to two points
Here's the rub... When you fit a second order Fourier series, you're estimating values for six different regression coefficie...

12 years ago | 0

| accepted

Answered
fitting curve to two points
From the looks of things, your daily load curve is a particular example of a second order Fourier series. If you have Curve F...

12 years ago | 0

Answered
Principal Component Analysis
The Statistics Toolbox product page has a good demo titled "Partial Least Squares Regression and Principal Components Regression...

12 years ago | 0

Answered
nonlinear curve-fitting: weight vector
nlinfit in Statistics Toolbox # Uses Levenberg-Marquardt under the hood # Allows you to input a vector of weights See <ht...

12 years ago | 0

| accepted

Answered
data management for large datasets
Have you looked into the dataset array that ships with Statistics Toolbox? The dataset array is a special data type that can ...

12 years ago | 1

| accepted

Answered
Regression
Try the following X = linspace(1, 2*pi, 50); X = X'; Y = sin(X) + randn(50,1); foo = fit(X,Y, 'sin1'); ...

12 years ago | 1

Answered
Multiple Regression under constraints
Lets start with the regression side of the problem: Given that you want to place constraints on your coefficients, you're goi...

12 years ago | 1

Answered
Robust orthogonal or total least squares linear regression
Unfortunately, Statistics Toolbox doesn't currently offer a robust version of PCA. Your best option would probably be to us...

12 years ago | 0

Answered
Histogram then a curve fitting to compare with normal
You might want to consult the following example: http://www.mathworks.com/products/statistics/demos.html?file=/products/demos...

12 years ago | 0

Answered
Curve fitting - periodic function
Here's a pretty basic example X = linspace(0, 2*pi, 100); X = X'; Y = sin(X) + randn(100,1); foo = fit(X,Y, 's...

12 years ago | 2

| accepted

Answered
Poisson random number generator
Mark Steyvers has written a nice book titled "Computational Statistics with MATLAB" which can be downloaded from http://psiex...

12 years ago | 0

Answered
Constraining a fitted curve
I'd strongly recommend that you look at a file exchange submission by John D'Errico titled "Shape Modeling Language" http://w...

12 years ago | 0

| accepted

Answered
Curve fitting with fails misarebly
Couple comments: Curve Fitting Toolbox includes a lot of nice code that will automatically choose "good" starting points for ...

12 years ago | 1

Answered
How to remove outliers?
Hi Michael MATLAB doesn't provide a specific function to remove outliers. In general you have a couple different options to ...

12 years ago | 0

Answered
normal distribution test
Statistics Toolbox offers a number of hypothesis tests that you can use to (formally) test whether your data is normally distrib...

12 years ago | 1

Answered
PCA princomp help please
There are some examples where Principal Component Analysis is used for regression. Traditional regression analysis assumes ...

12 years ago | 0

Answered
How to use the outputs of the Stepwise function?
Hi John The stepwise function in Statistics Toolbox is used for liner regression. If you want to use a stepwise type alg...

12 years ago | 0

Answered
Perform sequential feature selection for classification of noisy features - code explanation
Hi Adrian I did a two part series on Loren Shure's blog contrasting feature selection techniques with regularization. The ar...

12 years ago | 1

Answered
Non-linear regression
For what its worth, I just took a very quick look at the data set that you provided. years = [1982 1983 1984 1985 1986 1987...

12 years ago | 0

Answered
uncertainty and curve fitting
If you need confidence intervals nlinfit is a better option

12 years ago | 0

| accepted

Answered
Non-linear regression
I'd strongly suggestion that you watch a webinar titled "Electricity Load and Price Forecasting with MATLAB". The webinar is av...

12 years ago | 1

Answered
Linear Regression - more weight on specific Bins of data
MathWorks tech support has a solution documenting various options for weighted regression. http://www.mathworks.com/support/s...

12 years ago | 2

Answered
how to deal with a missing value of a time series?
Hi Yoshiko The treatment of missing data is a fairly complicated topic. The choice of techniques to handle a missing data prob...

12 years ago | 0

Answered
stats toolbox...fitting a curve to a plot in log log space
Question and a Comment First, the question: It's unclear whether you are trying to do a curve fit or a distribution fit. Yo...

12 years ago | 0

Answered
Surface fitting tool, results accuracy
Offhand, I don't know any way to change the display within the tool itself. With this said and done, its fairly easy to 1. ...

12 years ago | 0

| accepted

Answered
fitting a polynomial function to data points and ploting it
If you have Curve Fitting Toolbox, you can generate everything you need as follows X = 1:100; X = X'; Y = X.^2 + 3*X + 5 ...

12 years ago | 0

| accepted

Answered
SVM Regression
The SVM implementation in Bioinformatics Toolbox does not support Support Vector Regression. With this said and done, the boo...

12 years ago | 0

Answered
How to fit a curve with forced initial value
Hi Phillippe If you have Statistics Toolbox or Curve Fitting Toolbox its relatively easy to force this type of constraint. ...

12 years ago | 1

| accepted

Load more