已回答
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 ...

10 years 前 | 0

已回答
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...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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: ...

10 years 前 | 0

| 已接受

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 1

| 已接受

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 0

已回答
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 ...

10 years 前 | 0

已回答
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...

10 years 前 | 0

| 已接受

已回答
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.

10 years 前 | 1

| 已接受

已回答
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...

10 years 前 | 0

已回答
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...

10 years 前 | 1

| 已接受

已回答
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...

10 years 前 | 8

| 已接受

已回答
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...

10 years 前 | 0

| 已接受

已回答
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 ...

10 years 前 | 1

已回答
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...

10 years 前 | 2

已回答
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: ...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

已回答
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 ...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
Minimum distance classifier code
If you have the Statistics Toolbox, try "help knnclassify" and consider the case with k=1.

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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 ...

11 years 前 | 1

已回答
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....

11 years 前 | 0

已回答
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 = ...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 1

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

加载更多