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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 3

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 3

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 2

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 2

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

Cargar más