**Statistics**

RANK**990**

of 247,161

REPUTATION**51**

CONTRIBUTIONS

**17** Questions

**14** Answers

ANSWER ACCEPTANCE **
82.35%
**

VOTES RECEIVED**18**

RANK**5,290** of 17,234

REPUTATION**203**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **9**

ALL TIME DOWNLOADS**1833**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

degrees of freedom for random factors in anovan

"anovan" seems to give the same number of degrees of freedom to a factor whether it is declared as random or fixed. I though...

7 years ago | 1 answer | 0

### 1

answerHow to compare two proportions ?

Since I could not find a build-in function for my purpose I ended up writing this little function: http://www.mathworks.com/mat...

7 years ago | 0

| accepted

Submitted

Compare two proportions (Chi-square)

A simple Chi-square test to compare two proportions.

7 years ago | 9 downloads |

Question

How to compare two proportions ?

I have a vector of x1=[0 1 1 0 1 0 ... 1 0 1] and a cell array of string x2={'Condition A' 'Condition A' 'Condition B'..... 'Con...

7 years ago | 2 answers | 0

### 2

answersFitting parameter to a dataset

i would fit the two portions of the curve separately since the parameters for both portions (c and d) are independent. there...

8 years ago | 0

| accepted

Question

anovan returns NaN p-values

hello, i have this mixed-model ANOVAn set up with 5 factors, including one random factor (subjects) nested in the between-sub...

8 years ago | 1 answer | 0

### 1

answerQuestion

mnrfit : how to include interaction terms ?

Hello, I would like to compute a logistic regression on accuracy data (accuracy is 0 or 1). There are 3 predictors (X1, X...

8 years ago | 1 answer | 0

### 1

answerObtaining fundamental frequency wave from a PWM signal

it seems you want to do a Fourier transform of your signal. See http://www.mathworks.fr/fr/help/matlab/ref/fft.html once you ...

8 years ago | 0

| accepted

subplot of already saved figures

Here is a small bit of code that does just that for two saved figures. The figures need to be saved in the .fig format with this...

8 years ago | 16

PSNR, NPCR, UACI and how to convert gray to RGB

hi, you may try have a look there : http://www.getreuer.info/tutorials/matlabimaging good luck :-)

8 years ago | 0

Question

how to use anovan for repeated measures and within subject factors ?

Hi, I would like to do a n-way ANOVA with two within subjects factors plus their interaction, but I don't understand how to g...

8 years ago | 0 answers | 0

### 0

answersClassification of many vectors of the same length

you could add one column/line at the beginning or end of each of the 6000 vectors you have that would take a value from 1 to 10 ...

9 years ago | 0

Question

ttest : independent and dependent samples

hi sorry this is a statistics question as well as a Matlab question... i have two groups of data that i want to compare us...

9 years ago | 1 answer | 0

### 1

answerQuestion

Alternative to the Statistics toolbox

Hi I went from a place that owns a license for the Statistics toolbox to a place that does not (hello, budget cuts). Now all ...

9 years ago | 2 answers | 0

### 2

answersLegend in for loop

if you know mydistance, you can generate legend names in the for loop, than add a legend(legend_name(1), legend_name(2)....) aft...

9 years ago | 0

Draw uninterrupted lines on a plot with missing values

Thanks, the "any(isnan(.." code works like a charm for :-)

9 years ago | 0

Question

Draw uninterrupted lines on a plot with missing values

Hi I have data (Y) sorted into different columns and i want to plot it using Matlab. Each column represents one value of X an...

9 years ago | 2 answers | 1

### 2

answersQuestion

t-test weird degrees of freedom

Hi, I did some t-test (two-tailed) and keeps geting weird degrees of freedom. I have some pairs of vectors, all of size = ...

9 years ago | 1 answer | 0

### 1

answerQuestion

expected correlation / transitivity ?

hi, i have an "experimental correlation" between A and B (coefficient c1), and a "control correlation" between A and B' (coef...

9 years ago | 1 answer | 0

### 1

answerQuestion

anova1 within groups degree of freedom ?

Hi, I am doing an ANOVA with anova1 : anova1(D,X) X is such that there are only two groups, but the number of observations is...

9 years ago | 1 answer | 0

### 1

answerQuestion

How to make a function/script start over

Hello, How can I make a script/function start over (as if nothing had happened) if certain criteria are not met ? Thank yo...

9 years ago | 2 answers | 0

### 2

answersQuestion

Creating a customized grid on a imagesc() figure

Hi, I have a matrix of values between -1 and 1, I look it up with imagesc(). I would like to trace a customized grid over ...

9 years ago | 1 answer | 0

### 1

answerQuestion

Multicolinearity/Regression/PCA and choice of optimal model (2nd try)

Hi there I have a set of results and 4 "candidate" explanatory variables. Those variables are correlated beteween each other ...

9 years ago | 1 answer | 0

### 1

answerGabor filter.

those are the parameters of the Gabor filter. see Wikipedia for the formula. but basically if you just want to display a Ga...

9 years ago | 0

Plotting results of three different data sets on same Plot

How about: load file1.mat data1=data; load file2.mat data2=data hold all plot(data1) plot(data2) d...

9 years ago | 1

| accepted

Distribution uniformity assessment

Hi Xu Maybe you can use the Goodness of fit test against the uniform distribution see Exemple 3 here: http://www.mathwor...

9 years ago | 0

Question

comparing angles from two trajectories

Hello there, I am trying to compare the angles from two trajectories, (0,0) being at the center of the screen and the traject...

9 years ago | 0 answers | 0

### 0

answersLinearModel.stepwise Matlab R2011a

Hi cyclist :) Thank you ! that is exactly what i was looking for. Do you know if stepwisefit() automatically includes intera...

9 years ago | 0

Question

LinearModel.stepwise Matlab R2011a

Hi there I am trying to perform a stepwise regression. The code i tired is the following : mdl = LinearModel.stepwise(...

9 years ago | 2 answers | 0