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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 1

| 採用済み

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

9年以上 前 | 0

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

9年以上 前 | 3

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 1

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

9年以上 前 | 1

| 採用済み

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 0

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

9年以上 前 | 1

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

9年以上 前 | 0

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

9年以上 前 | 0

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 1

| 採用済み

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

9年以上 前 | 0

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

9年以上 前 | 3

| 採用済み

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

9年以上 前 | 0

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

9年以上 前 | 0

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

9年以上 前 | 1

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

9年以上 前 | 0

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 0

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

9年以上 前 | 0

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

9年以上 前 | 0

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

9年以上 前 | 0

| 採用済み

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

9年以上 前 | 1

| 採用済み

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

9年以上 前 | 2

| 採用済み

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

9年以上 前 | 0

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.

9年以上 前 | 1

| 採用済み