답변 있음
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

더 보기