Answered
ranova with two within factors
datatable.Properties.VariableNames = {'pre_A','pre_B','post_A','post_B'}; % When you have more than one repeated-measures fac...

6 years ago | 4

| accepted

Answered
How to perform Welch ANOVA?
You have to download these functions from FileExchange--they are not built-ins. E.g. wanova

6 years ago | 0

| accepted

Answered
Re-centering a t-skew distribution
I take it you want to find the values a,b for a linear transformation such that newScores = a + b*oldScores; Presumably you ca...

6 years ago | 0

Answered
N-way ANOVA wrong results
Both of the MATLAB output tables make sense to me, but I don't really know what SPSS is doing. For the MATLAB continuous case, ...

6 years ago | 1

| accepted

Answered
N-way ANOVA wrong results
The SPSS output does not match up with the data that you posted, so maybe you should check that analysis first. For your connec...

6 years ago | 0

Answered
How to fit a curve above/below another one?
> I am afraid you posted the answer as a comment. Oops. Let this be the follow-up to the above as an answer. >do you have a ...

6 years ago | 1

| accepted

Answered
Histogram fitting best distribution
If you haven't tried it already, maybe tell distfit to use the 'kernel' option.

6 years ago | 0

| accepted

Answered
How to shuffle with replacement every n values of a given dataset into 1000 new sequences
It might be easier to reshape your matrix so you don't have to worry so much about index bookkeeping. E.g. Seq = 1:5000; Incre...

6 years ago | 0

Answered
How to obtain exponential equation parameter from probplot function?
For a standard exponential distribution, probability = 1 - exp(-lambda*x) where x is the data value and lambda is the paramete...

6 years ago | 1

Answered
Crop a normal distribution to a predefined uniform distribution
Maybe: Choose an interval randomly (e.g., the middle distribution in your original figure seems to have about 14 intervals rang...

6 years ago | 0

| accepted

Answered
How to display text in the command window?
if abs(a-b)<0.0001 disp('LHS==RHS') end

6 years ago | 1

| accepted

Answered
Estimating a regression model using matlab
g=randn(1000,1); error=randn(1000,1); % Model: g(2:end)=k1+ k2*(g(1:end-1)-k1) + error(2:end)*k3 ; y = g(2:end); x1 = g(...

6 years ago | 0

| accepted

Answered
Comparing table values using IF statements
Change if uRiDdD(k,1) == allContacts(i,1) to if uRiDdD{k,1} == allContacts{i,1}

6 years ago | 1

Answered
How do I extract elements from a table according to specific conditions?
I think if you want to select rows then the colon operator is in the wrong place, and that you would want something like T1(str...

6 years ago | 0

| accepted

Answered
Skew Normal and Owen's T function
Here is an updated link: http://people.sc.fsu.edu/~jburkardt/m_src/asa005/tfn.m

6 years ago | 0

Submitted


BudgetCluster
Routines for running many tasks in parallel across several computers---essentially a low-budget, low-hassle substitute for a clu...

7 years ago | 2 downloads |

0.0 / 5

Answered
How to calculate the skewness and kurtosis from MATLAB gaussian mixture model function---fitgmdist ?
The gaussians in the mixture have different means and sigmas, but since they are gaussians they all have the same skewness (0) a...

7 years ago | 0

| accepted

Answered
linear fit with fitlm or regress
Your three variables are y, temp, and sigma? If I understand the model you want to fit, you might get a cleaner picture if you ...

7 years ago | 0

| accepted

Answered
Randomly dividing an integer (non-uniform distribution)
There are any number of ways to do that, depending on exactly what you mean by "considerably". Here are a few: %% Transform th...

7 years ago | 1

| accepted

Answered
How to minimize this function
If the problem is to find good starting parameter values, then maybe you could start with a grid search over your parameter spac...

7 years ago | 0

| accepted

Answered
Presenting random images from a file, where each image is presented only once?
Store a random sequence of the images in advance and then cycle through them one by one. Something like this, emotionalImageDi...

7 years ago | 0

| accepted

Answered
How to find parameter of function using MLE method?
It looks like you have defined DGDpdf as having a single argument, the vector phat. But when you call DGDpdf within Llikef, you...

7 years ago | 0

Answered
Proving CLT using real data
I'm not sure exactly what you would accept as proving CLT, but you find this helpful: X_bar = bootstrp(1000,@mean,Data); histo...

7 years ago | 0

Answered
Fit Lognormal function on already generated bins
Cupid has a command called EstChiSq that will do this. See https://github.com/milleratotago/Cupid

7 years ago | 0

Answered
How can I separate a bimodal distribution into two normal distributions?
GMModel = fitgmdist(x,2); % Your data are in x

7 years ago | 0

Answered
Passing variable names to batch script
Try system(['batchfile.bat ', Variable1, ' ', Variable2])

7 years ago | 1

Answered
distribution of function of random variables
In principle you can do this numerically for many distributions f1,f2,f3, and many functions F with the routines in Cupid at htt...

7 years ago | 0

Answered
Create a simple table from using data from other table and an Iteration loop
If you are really using the table datatype (as the error message suggests), then you are not indexing it properly. A table has ...

7 years ago | 0

| accepted

Answered
How do you verify and show independence/dependence of a pair of uniform random variables?
The math isn't showing up well in my browser so I don't entirely understand the question. But the general approach would be to ...

7 years ago | 0

Answered
anova1 to test difference accross values of elements in a row in a matrix, for the columns seperately (seperate anova1 test per column in a matrix)?
You can't statistically compare the values in different rows (e.g., 0.0075 versus 0.3143) using just the averages. The statisti...

7 years ago | 0

| accepted

Load more