回答済み
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...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

回答済み
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 ...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 5

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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 ...

14年弱 前 | 1

| 採用済み

回答済み
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 ...

14年弱 前 | 0

回答済み
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...

14年弱 前 | 1

| 採用済み

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 1

回答済み
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; ...

14年弱 前 | 32

| 採用済み

回答済み
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.

14年弱 前 | 0

| 採用済み

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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' ...

14年弱 前 | 7

回答済み
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...

14年弱 前 | 0

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

14年弱 前 | 1

| 採用済み

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

14年弱 前 | 6

| 採用済み

回答済み
Gibbs Sampler
You may want to look at "help gmdistribution.fit" if you have the Statistics Toolbox.

14年弱 前 | 0

回答済み
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...

14年弱 前 | 0

| 採用済み

回答済み
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...

約14年 前 | 4

| 採用済み

回答済み
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...

約14年 前 | 1

| 採用済み

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

約14年 前 | 1

回答済み
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...

約14年 前 | 0

回答済み
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...

約14年 前 | 1

回答済み
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...

約14年 前 | 1

回答済み
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...

約14年 前 | 1

| 採用済み

回答済み
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...

約14年 前 | 0

| 採用済み

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

約14年 前 | 1

回答済み
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...

約14年 前 | 0

回答済み
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.

約14年 前 | 0

さらに読み込む