已回答
The Treebagger give different results in 2012a and 2013a
This might be the explanation, and it includes a suggestion of how to avoid the problem: http://www.mathworks.com/support/b...

11 years 前 | 1

| 已接受

已回答
Confidence Interval on the mean curve (SSANOVA)
I'm having trouble understanding the code you wrote. Perhaps you can figure out how to compute the mean and std for each grou...

11 years 前 | 0

已回答
Arranging data for test of statistical significance from multiple subjects
It sounds like you have a univariate rather than multivariate problem. So anova1 rather than manova1. You have two choices. F...

11 years 前 | 0

已回答
Maximum Likelihood Estimation for custom distribution
Here are some tricks to help debug this sort of thing: makedist -reset % will cause MATLAB to revisit your fil...

11 years 前 | 0

已回答
Obtaining standard deviation in cftool
The thing labeled RMSE is the root mean squared error. It's an estimate of the standard deviation of the residuals or error term...

11 years 前 | 0

| 已接受

已回答
error message using polyfit (nonlinear regression)
There was a time when this function issued an error asking you not to have repeated X values. But the new error message is more ...

11 years 前 | 0

已回答
K- Means clustering problem
Try "help hold" to see how to make plotting commands stop overwriting previous figure contents.

11 years 前 | 0

已回答
k-means - missing to plot some data points
I think they're just clipped at the boundary of the plot. Try adding this: xlim([.9 3.1]); ylim([.9 8.1])

11 years 前 | 0

| 已接受

已回答
How to create a boxplot from a PDF?
The boxplot shows the median, lower quartile, and upper quartile. You may be able to calculate these for your pdf. For example, ...

11 years 前 | 0

已回答
2-way random effects ANOVA exceeded maximum variable size
It wasn't clear from the original post that the 14879 values were all different. I don't really need to see the actual data, ...

11 years 前 | 0

已回答
classification/ Discriminant analysis functions
I don't have your data. I suspect you need to define train_set and test_set to have only the data without the class labels. Then...

11 years 前 | 0

已回答
How to set bounds for coefficents when fitting a second order Exponential?
Type "help fit" and you'll see the fourth input can be a fitoptions structure. Then type "help fitoptions" and you'll see you ca...

11 years 前 | 2

已回答
Using fit 'exp2' an error with "weights"
Since you didn't specify weights, it seems like the NaN value must be in either x or y. You can find the usable values (using yo...

11 years 前 | 3

已回答
Problem using nlinfit . The code works with a random model function that I found on the web, but not with my model functions
It looks like you want "1./exp(...)" in place of "1/exp(...)" so you get the reciprocal of each element instead of a matrix divi...

11 years 前 | 0

已回答
How to obtain trend p-values for each cell of a matrix?
You are right that regstats returns a structure, but it contains numeric values that you can assign into a matrix. For example, ...

11 years 前 | 0

已回答
gplotmatrix problem in GUI
The gplotmatrix function plots into multiple axes (a rectangular array of them), so I don't see how to make sense of asking it t...

11 years 前 | 0

| 已接受

已回答
Interpretation of Kernel Density
I suggest the best way to verify this is to write the equation that you expect and check that ksdensity does what you want. A...

11 years 前 | 0

已回答
nlinfit using 3D coordinates
I like your reasoning for using nlinfit. I see two issues. First, use ".^" instead of "^" in your expression, because you wan...

11 years 前 | 0

| 已接受

已回答
Curve fitting to get gamma curve parameter
I'm not sure what you mean by a gamma curve. If you mean a scalar multiple of a curve with the same form as a gamma probability ...

11 years 前 | 0

| 已接受

已回答
why do I get zero likelihood!
Are you using the Statistics Toolbox mle function in combination with the Optimization Toolbox fmincon function? Can you try com...

11 years 前 | 0

| 已接受

已回答
Testing equality of two coefficients of the same model within two sub-sample (Wald test)
There is a linhyptest Statistics Toolbox function that may help. It requires a vector of coefficient values and a matrix of thei...

11 years 前 | 0

已回答
Warning: Negative data ignored
Could you have already had "hold on" in effect for a plot with log axes? The following commands illustrate what I mean: sem...

11 years 前 | 1

已回答
A question regarding mvnpdf
I'm not sure if the separate Sigma/lambda values correspond to the separate rows of u_t. If they do, here's an example where sup...

11 years 前 | 0

已回答
to find cosine fit and residual ?
It appears you start with x and y taken from columns of AC, so they are the same length. Then when you call smooth you pass only...

11 years 前 | 0

已回答
Combining standard errors of fit parameters
The standard error is an estimate of the standard deviation of the estimator in repeated sampling. The square of the standard de...

11 years 前 | 0

已回答
Find out seperate results from Confusionmat
If I run this code: load fisheriris x = meas; y = species; yhat = classify(x,x,y); [cm,order] = confusionmat(y,...

11 years 前 | 0

| 已接受

已回答
how can I create a plot with box the density function of a normal distribution and a log normal distribution
You could simply use the normpdf, lognpdf, and tpdf function to compute these densities, and plot the results together. If yo...

11 years 前 | 0

| 已接受

已回答
Integral of a product between a function and a Cumulative Normal Distribution
You didn't really explain what you tried. Here's an example that works: quad(@(x) x.*normcdf(x),-1,1) If I use matrix mu...

11 years 前 | 0

| 已接受

已回答
how to save decision tree view (classification tree viewer) ?
On Windows at least, choose "Save As" from the File menu. You can save a .fig file, but also various graphics file types.

11 years 前 | 0

加载更多