Community Profile laurie

Active since 2012

Statistics

All
• • • • • • • Content Feed

View by

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...

8 years ago | 1 answer | 0

1

How 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...

8 years ago | 0

| accepted

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...

8 years ago | 2 answers | 0

2

Fitting 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

Question

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

Obtaining 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

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 :-)

9 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...

9 years ago | 0 answers | 0

0

Classification 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

Question

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

Legend 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

Question

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

Question

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

Question

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

Question

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

Question

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 ...

10 years ago | 1 answer | 0

1

Question

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 ...

10 years ago | 1 answer | 0

1

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

10 years ago | 0

EEG data
do you have EOG and/or EMG channels in your data ?

10 years ago | 0

| accepted

Plotting results of three different data sets on same Plot

10 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...

10 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...

10 years ago | 0 answers | 0

0

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

10 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(...

10 years ago | 2 answers | 0