Réponse apportée
How to define a cumulative distribution function with variable in it
If you need to use Symbolic Toolbox sym variables, then you may want to use the erfc function in place of normcdf. Consider this...

environ 13 ans il y a | 0

Réponse apportée
correlation should be less than or equal to 1 but in my case it is exceeding,so give me a solution
In general, unless there is something special about your problem, it is perfectly reasonable for rmse to be larger than 1. It's ...

environ 13 ans il y a | 0

Réponse apportée
Labeling Dendrogram Plot x-axis
You can try this: > [h,nodes,orig] = dendrogram(clustTreeEuc,0); >> orig(1:5) ans = 102 143 114 122 115...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Make the data tip ignore superimposed plot data
If h is a handle to the plot line, I'd expect set(h,'HitTest','off') to do what you want. Not 100% sure, but give it a try.

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Using Gumbel distribution to calculate extreme events.
If you have the Statistics Toolbox, take a look at "help evfit" and pay particular attention to the statement at the bottom abou...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Does anyone know how to create a custom distribution?
You have a four-parameter distribution with density (1-p)*normpdf(x,mu,sigma) + p*exppdf(x,lambda) and with a cdf that i...

environ 13 ans il y a | 0

Réponse apportée
What sort of support elements does naive bayes classifier need?
If you are referring to NaiveBayes.fit and its 'KSSupport' argument, then you can omit this in most cases. You would specify it ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
ANOVAN: Undefined function or variable "denommat"
I agree this looks like a bug where if you specify a variable as random but it doesn't actually appear in any terms, the code ge...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Principal Component Analysis (Princomp)
Are there just some columns whose signs differ between the two SCORES matrices? That can happen as a result of a change in svd o...

environ 13 ans il y a | 0

Réponse apportée
How can i include the fitted model and goodness of fit into my regression analysis plot
Try something like this: load census [fitresult,gof] = fit(cdate,pop,'poly2') plot(fitresult,cdate,pop) text(1800,...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
different cdf plot produced by 2 different code
When I try your commands after rng(0) data = 150 + 10*randn(200,1); bin = 100:10:250; I get the same cdf curve in ...

environ 13 ans il y a | 0

Réponse apportée
cell array to dataset: the use of cell2dataset
I can't tell what ds is when it gets passed into cell2dataset. This, for example, works: >> ds = [{'name1';1;2;3}, {'name2'...

environ 13 ans il y a | 0

Réponse apportée
How to measure the quality of regress?
I find it hard to picture exactly what you want. You have several groups of variables, but the same Y variable each time? In tha...

environ 13 ans il y a | 0

Réponse apportée
why is LinearModel.stepwise() so much slower than stepwisefit() ?
The stepwise method in the LinearModel class is written to make its selection using any of a variety of measures. Also, it consi...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
rectify error in kmeans
The kmeans function has an option 'EmptyAction' that you could try. With this option you can request that, if a cluster becomes ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
why regstats give an error when I try to build a quadratic model
The warning is just an indication that the significance of the Durbin-Watson statistic is outside the range of a table of exact ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
Setting weights for robustfit command.
If you want to specify the weights yourself, I recommend using glmfit or LinearModel instead of robustfit.

environ 13 ans il y a | 0

| A accepté

Réponse apportée
returning p-values when using lscov function
If you want p-values for each coefficient, then t is the coefficient estimate divided by its standard error (both returned by ls...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
K-nearest neighbour Classifier- Cross validation
This example illustrates k-fold cross validation for knn classification: <http://www.mathworks.com/help/stats/classification-...

environ 13 ans il y a | 0

Réponse apportée
How to fit data to a Gaussian distribution
Similar question in the newsgroup: <http://www.mathworks.com/matlabcentral/newsreader/view_thread/325685>

environ 13 ans il y a | 0

Réponse apportée
Why histfit cannot fit my data very well?
Try fitting the 'gev' (generalized extreme value) or 'tlocationscale" (location/scale shift of the t) distribution.

environ 13 ans il y a | 0

Réponse apportée
Large datasets: Any way to perform regression analyses on select variables within a large table based on row name?
If you have the Statistics Toolbox, you might find it handy to use "dataset" to read in the csv file and create a dataset array ...

environ 13 ans il y a | 0

Réponse apportée
Nonlinear fit to multiple data sets with shared parameters
Take a look at this example of a function that partitions the parameters into a set sharing values across all datasets and a set...

environ 13 ans il y a | 6

| A accepté

Réponse apportée
boxplot insists on removing outliers, is there an option to disable outlier removal?
Can you explain more about what you want? Ordinarily the boxplot doesn't remove outliers, but instead shows them as separate mar...

environ 13 ans il y a | 7

Réponse apportée
how to improve the precision when using the cumulative density function
This may be too elaborate an answer, but it's all I have. You are computing the probability of falling into a rectangle. If t...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
gmdistribution.fit and gmdistribution help needed
I don't know if your code is correct, but: 1. The text seems not to declare that the covariance is diagonal, and does use not...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Chi-square test with 2 bins, why do I get P = nan ?
The default for chi2gof is to test against the normal distribution, estimate the parameters, and deduct the number of estimated ...

environ 13 ans il y a | 0

Réponse apportée
Aggregation by Multiple Grouping Variables (With Custom Circular Mean Function)
For your simpler example with the hospital dataset, you can do this: grpstats(hospital,{'Sex' 'Smoker'},'mean','DataVar','W...

environ 13 ans il y a | 0

Réponse apportée
Why data cursor showing wrong values?
Try this instead: set(gca,'YDir','reverse') Your way retains the y tick locations and values, and just labels them with ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Why there is difference in standard deviation calculated by normfit and dfittool with normal distribution?
I don't know anything about images. In general, to calculate the standard deviation related to a histogram of data in a variable...

environ 13 ans il y a | 0

Charger plus