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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 1

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 3

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 1

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

circa 11 anni fa | 1

| accettato

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 1

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 1

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 3

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

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

circa 11 anni fa | 2

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

circa 11 anni fa | 0

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

circa 11 anni fa | 1

| accettato

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

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

circa 11 anni fa | 0

| accettato

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

circa 11 anni fa | 1

| accettato

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

circa 11 anni fa | 2

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 1

| accettato

Carica altro