Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
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 ...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 5

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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 ...

casi 14 años hace | 1

| aceptada

Respondida
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 ...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 1

Respondida
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; ...

casi 14 años hace | 32

| aceptada

Respondida
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.

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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' ...

casi 14 años hace | 7

Respondida
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...

casi 14 años hace | 0

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

casi 14 años hace | 1

| aceptada

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

casi 14 años hace | 6

| aceptada

Respondida
Gibbs Sampler
You may want to look at "help gmdistribution.fit" if you have the Statistics Toolbox.

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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...

casi 14 años hace | 4

| aceptada

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
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: ...

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 0

Respondida
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.

casi 14 años hace | 0

Cargar más