Réponse apportée
column 6 at matrix 'm' of multcompare
The sixth column was added some time after the multcompare function was originally created. Could it be that you are looking at ...

plus de 11 ans il y a | 0

Réponse apportée
How to use Mauchly's test results in matlab2014a
You can ask for the C matrices from the ranova function, for example: [tbl,a,c] = ranova(R,'within','w1*w2') Then you ca...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Why does the ecdf function return duplicate x values?
This is just for convenience in plotting. Compare these: >> y = rand(10,1); >> [f,x] = ecdf(y); >> subplot(2,1,1); st...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
how to fix Iteration limit reached warning
This can be a symptom of perfect separation between the classes, or of something similar to perfect separation. Consider this: ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Problem using 'interactions' model type using ANOVAN
If two predictors A and B are perfectly correlated, then removing any one of them will not affect the model. This can lead to re...

plus de 11 ans il y a | 0

Réponse apportée
Equivalent code to regress(), using fitglm()
I believe these are not the same. For the |fitglm| model we are saying that Y has a normal distribution whose log(mean) has a li...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Need help with importing database with text field in Regressiontree
You don't say what your data looks like and what problem you are having. I'm guessing the michenicname variable is text and t...

plus de 11 ans il y a | 0

Réponse apportée
How the CI of GLM parameters are calculated?
I'm not exactly following what you are trying to do. It looks like you are using the estimated standard deviation of the observe...

plus de 11 ans il y a | 0

Réponse apportée
Plotting Y=f(X) after a regression where X contains 2 predictors
Have you considered the plotSlice function? It will plot predicted y vs. x1 for a fixed value of x2, and predicted y vs. x2 for ...

plus de 11 ans il y a | 0

Réponse apportée
Specifying which category is the reference level for glmfit
There is not currently a way to specify the reference category for categorical predictors in functions like fitglm. The glmfit f...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Reproducible results using "bootci" matlab function
If you insert reset(s) before the second call to |bootci| , you should find that the two calls yield the same answer.

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Find clusters within a set of 3D points
To find points within a threshold distance, try the rangesearch function from the Statistics Toolbox. If you want three-point...

plus de 11 ans il y a | 0

Réponse apportée
How does plotslice used to analyze generalized linear models generate simultaneous confidence bounds?
I'm not sure how you are comparing intervals from |coefCI|, which are for the coefficients, and intervals from |plotSlice|, whic...

presque 12 ans il y a | 1

| A accepté

Réponse apportée
Does fitrm & ranova support within subject models without between subject factors
Instead of 'Y1-Y4' try 'Y1-Y4~1' You do have to specify a complete formula, but you can include just the const...

presque 12 ans il y a | 8

| A accepté

Réponse apportée
Multiple linear regression to fit data to a third degree polynomial equation with interaction terms
You have only three distinct values in the first column of your X matrix, so you won't be able to estimate constant, linear, qua...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Reuse dimensionality reduction after designing model
Greg seems to have some good ideas. However, going back to your original question, this is how it looks to me. If you apply PCA ...

presque 12 ans il y a | 1

Réponse apportée
How to manually set K-means centroids when classifying an image
If your goal is to specify the centroids in advance, and not just have kmeans start with them and adjust them as things go along...

presque 12 ans il y a | 2

Réponse apportée
How to create multidimensional arrays of distribution objects?
This looks like something that we should fix in a future release. Meanwhile, perhaps you would find this work-around useful: ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
piecewise curve fit of a biexponential function
You have a number of places where you are multiplying two vectors. Most likely you want element-wise multiplication (".*") rathe...

plus de 12 ans il y a | 0

Réponse apportée
What's the difference between simultaneous and nonsimultaneous confidence bounds for function?
Take a look at <http://www.mathworks.com/help/curvefit/confidence-and-prediction-bounds.html> especially the table "Types ...

plus de 12 ans il y a | 0

Réponse apportée
Error importing file using dataset
Would you explain some more? Your quoted line starts "41.2249.214" but you say you want "4" as string, "1.22" as integer, and th...

plus de 12 ans il y a | 0

Réponse apportée
Minimum distance classifier code
If you have the Statistics Toolbox, try "help knnclassify" and consider the case with k=1.

plus de 12 ans il y a | 0

Réponse apportée
Plane of best fit (without using the sftool)
If you set up a matrix X with three columns containing your x values, your y values, and a column of twenty ones, and set up a Y...

plus de 12 ans il y a | 0

Réponse apportée
How to regress a three-variables function from two two-variables functions?
Is the idea that F1 and F2 both try to predict F using just two of the three possible variables? I'm not sure how you would be e...

plus de 12 ans il y a | 0

Réponse apportée
In an assignment A(I) = B, the number of elements in B and I must be the same.
If the variable y is not a vector (if it is a matrix with more than 1 row and column), then sum(y.^2) is not a scalar. It looks ...

plus de 12 ans il y a | 1

Réponse apportée
Error message from matlab that I do not understand
I see j=1 in your code but I don't see j incremented after that. I suspect you intended to change j somewhere. Here's a hint....

plus de 12 ans il y a | 0

Réponse apportée
How do I calculate the t-statistic of a regression when I already have the coefficients?
If you use regstats to estimate the coefficient standard errors, here's what you get using the Hald data: load hald s = ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to use t-copula in Matlab for around 450,000 variables?
I see no limitation imposed by the copularnd function when I look at the code. However, the correlation matrix is going to be 45...

plus de 12 ans il y a | 1

Réponse apportée
How do I calculate the t-statistic of a regression when I already have the coefficients?
The t statistic is the ratio of the estimate to its standard error. If you can determine the standard error, you can take this r...

plus de 12 ans il y a | 0

Réponse apportée
I have a wblfit error
Nor do I understand it. But if I look inside wblfit I see it displays an error message if either of these is true: if ~isve...

plus de 12 ans il y a | 0

| A accepté

Charger plus