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

Answered
how to select random rows from a matrix?
Statistics Toolbox includes a nice function called randsample % Generate a matrix named foo foo = randn(10000,2); ...

12 years ago | 4

Answered
Linear data fitting
From my perspective, the easiest way to solve this one is # Fit a linear model to the complete data set # Apply a clustering al...

12 years ago | 0

Answered
Which curve fitting function do I need?
nlinfit uses optimization solvers under the hood, so it's not too surprising that you're getting the same answer. nlinfit is pa...

12 years ago | 1

Answered
General Least Squares Fit
Thanks for clarifying. From the sounds of things, you need some kind of solution for non-parametric fitting. The choice of...

12 years ago | 0

Answered
General Least Squares Fit
I am somewhat confused by the question. Regression analysis is used to estimate a set of regression coefficients than minimiz...

12 years ago | 0

Answered
Multinomial logistic regression
The following example deals with Poisson regression rather than logistic regression. I'm posting this because it includes a fair...

12 years ago | 0

Answered
How to estimate Standard Error for the coefficients in ridge regression aproach
If you're working with a ridge regression model (as opposed to lasso or elastic net) then its relatively easy to code up a paire...

12 years ago | 1

Answered
Populating a 3D lookup table
Hi Stephen I did a webinar a couple years back focusing on using sftool to generate lookup tables for Simulink. The webi...

12 years ago | 0

Answered
Markov Chain - Hidden Markov Model; how to create markov chains and combine them to a hidden markov model
When I am working with Markov Chains I'm normally looking at stationary distributions which, by definition, don't depend on the ...

13 years ago | 1

Answered
Bootstrap sampling depending on portfolio
Hi Philip I attached a couple different examples of residual bootstraps using MATLAB The following reference provides some...

13 years ago | 0

Answered
Curve fitting to data sets with multiple parameters
The easiest way to solve this type of problem is the nlinfit function inside Statistics Toolbox. Here's a simple example that d...

13 years ago | 1

Answered
Optimal(default) bandwidth estimation method
You can open ksdensity.m in your editor and inspect the bandwidth estimation code. This section of the code starts at line 29...

13 years ago | 0

Answered
Bootstrap for surface fit goodness of fit stats
Few quick observations First: There are a lot of different ways to bootstrap a regression model. Some of the more common exam...

13 years ago | 1

Answered
Multi-Dimensional Data for SVM
Hi Ziggy First: Statistics Toolbox has a number of good classification algorithms. The 11a release includes a variety of di...

13 years ago | 0

Answered
how to use cfit to get fitobject and gof from a separately provided line
The aren't any constructor options for the Fit Objects in Curve Fitting Toolbox. The easiest way to accomplish your goal is t...

13 years ago | 0

Answered
Interpolating Multivariate time series
Handling missing data is a very complicated topic. There are a number of different approaches that you can use including listwi...

13 years ago | 0

Answered
Problem of robust fitting using the "robustfit" function
Hi Massinissa In your first example, you are fitting Z as a function of X and Y. In the second you are fitting X as a function...

13 years ago | 0

| accepted

Load more