답변 있음
Why the p value is so small in mann-whitney test?
I think you use ranksum like this: [p, h, stats] = ranksum (A,B) With your command, it is testing whether the A & B scores are...

5년 초과 전 | 0

| 수락됨

답변 있음
How to generate random numbers with constraints and different boundaries (for a high dimension)?
I don't know if this will be any use to you, but here is a way to generate "random" scores that meets some of your criteria (i.e...

5년 초과 전 | 0

답변 있음
systematic random sampling from excel file
Let's say you have 537 people in your excel file, numbered 1-537. You can use the command participants = randperm(537) to rand...

5년 초과 전 | 0

| 수락됨

답변 있음
Integrate kernel probability distribution function
If you just want to know the percentages in various ranges, it seems easier to tabulate the scores directly than to mess about w...

5년 초과 전 | 0

답변 있음
How to find 'within group correlation'?
I would guess the idea is this: grp0 = t == 0; grp1 = t == 1; corr(x(grp0,:)) corr(x(grp1,:))

5년 초과 전 | 0

답변 있음
matrix of random distribution
n = 8; % whatever n you want sd = 1; % whatever you want for the standard deviation of the normal distribution in ...

5년 초과 전 | 1

| 수락됨

답변 있음
generate random sample for linear regression
% First you have to define the characteristics of x1, x2, and e. % These can be any values you want, such as: mu1 = 0; % M...

5년 초과 전 | 1

| 수락됨

답변 있음
Detect collinear points in a 3d points cloud
This is going to be a pretty fuzzy suggestion: Maybe you can speed things up by temporarily throwing away precision. The idea i...

5년 초과 전 | 0

답변 있음
How can I generate Conditional Lognormal distribution
Those mu and sigma values don't look right for lognormal distributions. These distributions have only positive values, so they ...

5년 초과 전 | 0

| 수락됨

답변 있음
log likelihood output from the distribution fitter app
Just be a bit careful here... I think those log likelihood values are likelihoods under the maximum likelihood parameter estima...

5년 초과 전 | 0

답변 있음
Finding P-Values with the Null Hypothesis Being a Coefficient Equal to 0
The easiest way is with the corr function, because the p value for the slope is the same as the p value for the correlation coef...

5년 초과 전 | 0

답변 있음
How do I set a seed to generate different random initial numbers and storing them
Maybe the FileExchange contribution RNGMgr will be helpful.

5년 초과 전 | 0

| 수락됨

답변 있음
How to accurately process an Anderson Darling test?
Looks to me like the same problem as in your previous question. MATLAB's 2-parameter Weibull starts from a minimum of 0, but Mi...

5년 초과 전 | 2

| 수락됨

답변 있음
Where is the coefficient for the reference condition when using 'fitlm' to perform ANOVA with intercept omitted?
Why not just use this? for iGrp=1:5 stderr = std(y(x==iGrp)) / sqrt( sum(x==iGrp) ) end

5년 초과 전 | 0

| 수락됨

답변 있음
How to solve for 3 parameters for a Weibull distribution
Here is what I get using Cupid: Build_Array_Final{1}=[214.42,214.99,215.35,215.98,221.08,222.54,214.78,215,215.32,215.75,217.06...

5년 초과 전 | 0

| 수락됨

답변 있음
How to find the minimum of the function?
fminsearch is a good place to start

5년 초과 전 | 0

답변 있음
Distribution that works with positive and negative skewness
The skew normal is in Cupid. The last parameter controls the amount and direction of skew. E.g., posSkew = SkewNor(10,1,2); p...

5년 초과 전 | 0

| 수락됨

답변 있음
how can I do a double summation with dependent indices?
Sorry, I am having trouble relating your code to your equation, and I would have no idea how to do this with syms. But maybe go...

5년 초과 전 | 0

| 수락됨

답변 있음
Random samples from combination of poisson distributions
One easy way to generate a random score from a poisson mixture distribution is to randomly select the particular poisson first a...

5년 초과 전 | 0

| 수락됨

답변 있음
How can I calculate the 95% confidence interval for spearman correlation values?
I don't think there are formulas for that but you can estimate it with bootstrapping: mycorr = @(x1,x2) corr(x1,x2,'Type','Spea...

5년 초과 전 | 1

| 수락됨

답변 있음
Finding the t values of the Student's t test (t1-α,ν)
critt = tinv(1-alpha,v)

5년 초과 전 | 0

| 수락됨

답변 있음
Draw PDF and CDF of random values of distance from a 10X10 matrix
I'm guessing you want the empirical PDF and CDF functions (that will change slightly every time you rerun the code, due to rando...

5년 초과 전 | 0

답변 있음
How to find 2d spearman and kendall correlations using corr2?
corr2 is doing the same computation as corr, except that it allows 2d inputs rather than 1d. So, you can get your Spearman or K...

5년 초과 전 | 0

| 수락됨

답변 있음
calculate empirical distribution function and interpolation
You want to use the regress function, something like this: X = [ones(size(temp) temp)]; % temp is a column vector of temperatu...

5년 초과 전 | 0

답변 있음
How to find P value in chi2inv
Not sure what you are asking, but maybe p = chi2cdf(3.7920,df,'upper') where df is the degrees of freedom for your computed ch...

5년 초과 전 | 0

답변 있음
Updating multiple variables randomly with a constraint in a while cycle
You might be able to do what you want with nested while loops, something like this. Pretty tedious though. x = zeros(6,1); st...

5년 초과 전 | 0

답변 있음
How to test for a main effect of the between subjects-variable with fitrm and ranova?
% Define the within-Ss factor and give it a name. The 1 & 2 refer to Awake / Asleep WithinStructure = table([1 2]','VariableNa...

거의 6년 전 | 1

답변 있음
fitgmdist for loop; nested for loop, combine array of different sizes
I don't really follow what you are trying to do, but maybe some of these comments will help a bit: I. Use a cell array to outpu...

거의 6년 전 | 1

| 수락됨

답변 있음
How do I fit multiple Gaussians to my data?
From the new graph you've posted, it looks like the values in AbsY are not the type of data expected by fitgmdist, and I suspect...

거의 6년 전 | 1

답변 있음
How to compare appropriateness of fitted Weibull and lognormal models via the likelihood ratio test
Unfortunately the likelihood ratio test cannot be used this way. It is only for comparing nested models (i.e., one model has to...

거의 6년 전 | 0

| 수락됨

더 보기