Réponse apportée
Latin Hypercube sampling from distrete, non-uniform distribution
This is probably not what you want, but if you explain further why it's not what you want, maybe we can come closer to a solutio...

plus de 14 ans il y a | 0

Réponse apportée
How can I plot cdf of Y, Ft(t) using Matlab?
Do you need a theoretical result? If not, can you just simulate A and B values, calculate Y, and plot its empirical cdf? Eith...

plus de 14 ans il y a | 0

Réponse apportée
Latin Hypercube sampling from distrete, non-uniform distribution
I can't think of any good way to use the latin hypercube feature here. You can apply poissinv to a distribution inside the unit ...

plus de 14 ans il y a | 0

Réponse apportée
p value of f test
This does not produce the exact result you desire, but it may be instructive. Suppose we compute the p-value for different F val...

plus de 14 ans il y a | 5

Réponse apportée
Logistic Regression - Error: The sizes of B and X are incompatible.
If I type load fisheriris data = meas and then run your code after from the "load" line, then it works okay after I c...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Where is the t statistic reported for [R,P]=corrcoef(...)?
If you are comfortable editing the corrcoef.m file, you can add Tstat as an additional output. This variable is computed inside ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
mu and sigma for every pixel
I similarly don't understand, but if your video is a 3-D array with V(i,j,:) representing pixel (i,j) for all frames, then this ...

plus de 14 ans il y a | 0

Réponse apportée
confint and predint bounds trouble
CONFINT returns confidence intervals for the parameters. So if you fit y=a+b*x, you get confidence intervals for a and b. PRE...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Clearing rows in dataset arrays
That's because you can't delete individual "cells" from a dataset array. You need to delete entire rows. (Besides that, strcmp w...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Generate random number from inverse gamma distribution
If I understand the inverse gamma correctly, you can generate from x=gamrnd(a,1./b) and then take y=1./x. This would require the...

plus de 14 ans il y a | 1

Réponse apportée
Continuous Error bars
You may be able to modify this to suit your needs: x = linspace(0,1,20)'; y = sin(x); dy = .1*(1+rand(size(y))).*y; ...

plus de 14 ans il y a | 32

| A accepté

Réponse apportée
How to use clssregtree function for a mixture of conitious and categorical explanatory variables?
You can use the 'categorical' option to tell classregtree which columns to treat as categorical.

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Finding Unknown X from Known Y with cftool
You realize that some fitted functions are not monotone, so there may be multiple x values that evaluate to the same y value. Bu...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How do I display different boxplot groups on the same figure in MATLAB?
The boxplot function has more options than you can shake a stick at. Try this: data = rand(20,24) month = repmat({'jan' ...

plus de 14 ans il y a | 7

Réponse apportée
Why 'Linkage' returns wrong result??
Your distance matrix isn't in the vector form that pdist computes and linkage expects. So linkage is treating it as a data matri...

plus de 14 ans il y a | 0

Réponse apportée
Error in linear regression with predefined error in y
Take a look at the lscov function and see if it does what you need.

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Log likelihood
If you have the most recent release of the Statistics Toolbox: >> x = poissrnd(4,20,1); >> pd = fitdist(x,'poisson'); ...

plus de 14 ans il y a | 6

| A accepté

Réponse apportée
Gibbs Sampler
You may want to look at "help gmdistribution.fit" if you have the Statistics Toolbox.

plus de 14 ans il y a | 0

Réponse apportée
Question of mean
As Oleg and Titus imply, one idea is to change the test so that it allows for things that differ by a small amount to be treated...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
What is it that I get from MATLAB function probplot?
Take a look at this for illustration of the mechanics of how the function works: x = exprnd(2,20,1); subplot(1,2,1); pro...

plus de 14 ans il y a | 4

| A accepté

Réponse apportée
Problem in runnning .m file
I believe MATLAB is getting confused because when it first examines the file, your "data" symbol does not appear to be a variabl...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Parametric bootstraping in curve fitting
This line creates a matrix with 1 in one column and X in the other. You could also include X^2 or higher to use polynomials: ...

plus de 14 ans il y a | 1

Réponse apportée
CART Algorithm with categorical predictor variables which consist of strings?
If you use ClassificationTree.fit or RegressionTree.fit from the Statistics Toolbox, the input X matrix has to be numeric. Howev...

plus de 14 ans il y a | 0

Réponse apportée
Probability Density Function
This could be a very complicated question depending on how far you want to take it. Here's a simple attempt. You can simulate va...

plus de 14 ans il y a | 1

Réponse apportée
K-means cosine zero-vector detection
The function wants to treat each row of the data matrix as a point in some space with dimension size(data,2). Imagine rays exten...

plus de 14 ans il y a | 1

Réponse apportée
percentage of the variance of the dependent variable explained by multiple independent variables
If you have the latest version of the Statistics Toolbox, then it sounds like you want the anova method of LinearModel. Unfor...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
multiple correlation
You can get R^2 (multiple correlation) from various Statistics Toolbox routines. If you don't have the toolbox or you need to do...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Reliability
The Statistics Toolbox has exprnd and expfit. In fact, you could do this without that toolbox pretty easily as well. Please let ...

plus de 14 ans il y a | 1

Réponse apportée
Weighted probability density function plot?
Check out the "lognfit" function with its FREQ argument. Also the "mle" function with its 'frequency' argument. These can estima...

plus de 14 ans il y a | 0

Réponse apportée
Weighted probability density function plot?
If you are content with a kernel smooth density estimate of the pdf, the "ksdensity" function accepts a 'weights' argument.

plus de 14 ans il y a | 0

Charger plus