Answered
How to retrieve probabilities from normplot applied to data in matlab?
If you turn on the data cursor in the figure and then click on a point, these values are shown for that point. If you want to...

11 years ago | 0

| accepted

Answered
what is the difference between pca(x) and princomp(x) matlab commands?
If you type "type princomp" you will see that it is just a call to pca with certain default inputs defined. The pca function was...

11 years ago | 1

| accepted

Answered
Creating multiple boxplots from a single vector
Are you looking for this? nyears = 5; g = kron((1:nyears)',[1;1;1;1])

11 years ago | 0

Answered
T test p values for regression coefficients
If you look at "help regstats" you will see that the default model is 'linear' and this includes the constant. But you will also...

11 years ago | 3

Answered
Continuous laplacian random variable
Take a look at this: sigma = 1; p = rand(10000,1); A=sqrt(sigma^2/2)*log(1./p); hist(A,100) I'm not sure if it'...

11 years ago | 0

| accepted

Answered
Is it possible to do multiple linear regression with constaint?
I don't really understand the question, but to the part where you express a desire to retain the variable names when you save th...

11 years ago | 0

| accepted

Answered
Bug using LinearModel.fit in a loop?
I don't really understand the question. But with the hint from Sean, I will show you the following code that will collect R-squa...

11 years ago | 1

Answered
transformation parameter estimation using robusfit()
I should have realized what you meant at first. I don't know much about image registration, but perhaps this will have some anal...

11 years ago | 1

| accepted

Answered
How to calculate Chi-square statistic
I believe you got an answer separately on comp.soft-sys.matlab, but: * replace 'weibull' by @wblcdf (not in quotes) * replac...

11 years ago | 0

| accepted

Answered
How to open an obsolete `cfit` file in 2012a?
Type "help cftool" and look at the description of "cftool -v1".

11 years ago | 0

Answered
Counting How Many Cluster Index
Look at these, and see if it helps: unique(g) find(g==3)

11 years ago | 1

Answered
Scatterhist + hold on + scatterhist
This is not possible. What is possible is to use a function that plots into one set of axes, and have it add to the scatterpl...

11 years ago | 0

Answered
log likelihood ratio to probability measure
For large L, you might consider changing P(1)=exp(L)/(1+exp(L)) to P(1)=1/(1+exp(-L))

11 years ago | 0

Answered
Curve fitting, setting domain/forcing asymptote
I can't think of a generic way to constrain a function to tend to infinity as x approaches 1, but you might have some luck defin...

11 years ago | 0

| accepted

Answered
How to use prctile in grpstats?
The trick is to use an anonymous function that has the desired percentiles built in. For example, the following two calls to grp...

11 years ago | 1

| accepted

Answered
how do i turn off the anova1() display option?
Right idea but put an empty array between the commas: anova1(Z,[],'off')

11 years ago | 0

Answered
Are multcompare plots compatible with subplots?
You are right that the code clears the current figure before plotting, so setting up a subplot won't help. I just tried dele...

11 years ago | 3

| accepted

Answered
Can you help me with a logistic regression?
I don't understand your notation, in particular log(pR,i/pL,i). I guess you tried to explain that in PROBLEM 1, but I still don'...

11 years ago | 0

Answered
Help with mdscale starting configuration?
You could set R=rand(6,2) outside the function, and try using that as the 'Start' argument each time you run the function. This ...

11 years ago | 0

Answered
displaying number in general format when using loglog plot
I don't know if there is a direct way to do this, but the following shows a roundabout way. Just don't make a log plot, but inst...

11 years ago | 2

Answered
performing multivariate non linear regression
Curve Fitting Toolbox will probably not work well for this. There are functions in MATLAB itself, as well as Statistics and Opti...

11 years ago | 0

Answered
Multcompare function does not compare all variable groups from anova2
You are right, it looks like multcompare with anova2 can only compare one dimension at a time. But multcompare with anovan can c...

11 years ago | 1

| accepted

Answered
How to take haltonset numbers randomly
I am not aware of a CreateDesign function. Where do you find it? Perhaps you can generate a Halton set of the desired size, t...

11 years ago | 0

Answered
Problem in plotting confidence interval in a probability plot
You are right that probplot has no feature for including confidence bounds. The cdf method for the probability distribution o...

11 years ago | 0

Answered
What is the formula to calculate the number of experiment based on orthogonal array?
I would think the orthogonal array for 5-level factors would have to have a number of runs that is a multiple of 5, so it could ...

11 years ago | 0

Answered
plot the distribution of a dataset
I suggest you plot the histogram this way: n = n/length(SPX)/diff(x(1:2)); bar(x,n,'hist') Then you plotted the norma...

11 years ago | 0

| accepted

Answered
How do I Define Zero Truncated distribution to find MLEs And How do I Calculate Loglikelihood value
You ask a number of questions. Here are two answers. You ask how to compute the negative log likelihood. If you have the Statist...

11 years ago | 1

| accepted

Answered
what is exactly yhat in output of regstat ?
Looks to me like you reversed the two inputs to regstats. Unfortunately this function takes (y,x) rather then (x,y): >> hel...

11 years ago | 2

| accepted

Answered
Finding the maximum likelihood estimates ?
I believe you want f1 = 0.5*length(x)*log(2*pi*(y(2))); You start with 1/sqrt(2*pi*sigma^2), then take logs so you get a...

11 years ago | 0

Answered
Use of sequential feature selection
I would try 'KeepIn',[true false false true] in the function call to keep in the first and fourth of four features.

11 years ago | 1

| accepted

Load more