Réponse apportée
Finding quantiles from bucket/frequency data
Check this out: x = (1:5)'; freq = [.4 .3 0 .2 .1]'; ecdf(x,'freq',freq) You can provide x values and their freque...

presque 14 ans il y a | 0

Réponse apportée
How to check if data is normally distributed
The functions you mention return H=0 when a test cannot reject the hypothesis of a normal distribution. They can't prove that th...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Normal Distributions: Standard Deviation from Statistics Toolbox vs Standard Deviation computed using std(data)?
The expression you show for X defines grid of values over which the fitted pdf is to be calculated for plotting. I don't seen th...

presque 14 ans il y a | 0

Réponse apportée
Defining my own response model using Regstats function
One way to do this is to move all the known stuff to the left-hand-side: y - 3*x1 - 4*x2 - 5*x3 = a*x1^2*x2 + b*x2^2*...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
How to fit the Copula to the data beased on parametric marginal distribution?
If you have fit the marginals so that you have both the family (such as generalized Pareto) and the parameters, you could use a ...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
How does multcompare function work?
Can you be more specific about what code you ran? When I try this, I only get groups 1 and 2, comparing the two columns: >>...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Group-specific predictors in nlmefit
If you are happy with a toy illustration rather than a realistic example, here's one. Set up some fake data following a linear m...

presque 14 ans il y a | 3

| A accepté

Réponse apportée
Curve Fitting with Individual trial function
If you are talking about the Curve Fitting Toolbox, try this: f = @(a,b,c,x) a*sqrt(x).*(b*x.^2+exp(c*x)) y = f(1,2,-3...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Error when using custom pdf for mle
The mle function needs a real pdf. Yours isn't normalized to integrate to 1. Here's an example that integrates to 1 from 0 to +I...

environ 14 ans il y a | 0

Réponse apportée
why square() cannot work with cftool
I suspect this is because the derivative of the function is always 0 or +/-Inf. The optimizer that tries to perturb the inputs i...

environ 14 ans il y a | 0

Réponse apportée
How to keep a Fixed Effect constant in NLMEFIT and NLMEFITSA?
I can't think of any way to fix the variance. To fix a parameter value, I suppose you could write a new function model=@(PH...

environ 14 ans il y a | 0

Réponse apportée
Testing for a Poisson Process
I find the same thing. I got 52/1000 rejected the first way. That's close to the 5% value that you would expect. I got fewer the...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
program for calculating skin probability not working. please help.
Best to keep the discussion in a single thread <http://www.mathworks.com/matlabcentral/answers/41974-why-change-in-mean-and-cova...

environ 14 ans il y a | 0

Réponse apportée
Problem in gmdistribution function
See <http://www.mathworks.com/matlabcentral/answers/41974-why-change-in-mean-and-covariance-doesnot-effect-gmdistribution this> ...

environ 14 ans il y a | 0

Réponse apportée
why change in mean and covariance doesnot effect gmdistribution
There are two ways to create a gmdistribution. One is by specifying the mean, covariance, and mixing proportion. The result is a...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Differences between treefit() and classregtree() functions in Matlab
There's no difference. The treefit function is older. The classregtree object was intended to do this same thing with a cleaner ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Is that necessary to set the start points for fitting?
Starting points can be very important in some cases. Your analysis is correct. If you fit the 'exp2' model from the cftool GU...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Copula family
If you type "help copularnd" or look at the documentation some other way, you'll find these families supported: Gaussian, t, C...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Another Issue with Join
Your desired result has v=6 for x=2, but A and B provide different values for v in that case. One thing you could do is joi...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Does the Kolmogorov smirnoff test implemented in matlab already perform a correction for small sample sizes?
If you "edit kstest" you'll see some references. The paper by Marsaglia et al. describes how the p-values are computed. The kste...

environ 14 ans il y a | 0

Réponse apportée
'histfit': change line color
h = histfit(randn(100,1)); set(h(1),'facecolor','g'); set(h(2),'color','m') Changing other properties is similar. Just r...

environ 14 ans il y a | 5

| A accepté

Réponse apportée
Errorbar Plot
Since the points you mentioned appear to be the first two, I wonder if something is setting the axis limits and leaving them fix...

environ 14 ans il y a | 0

Réponse apportée
Obtaining smoother polynomials from polyfit for curve fitting (Best Fit Curve) or an alternate function.
It's hard to say what's going on without seeing your data or results. If you have more than 7 points with distinct x values, the...

environ 14 ans il y a | 0

Réponse apportée
Polyfitting in for loop
Without having your data and just looking at your code, I observe that you have for n = 1 : 1 : 48 ... clippedfP2=cli...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Generate random numbers with custom PDF
If you have the Statistics Toolbox, then take a look at the beta distribution. Use it with disttool to see how the parameters af...

environ 14 ans il y a | 0

Réponse apportée
Generating data points according to a distribution
1. If RV is a set of possible data points, you can randomly sample from it. One way to do that if you have the Statistics Toolbo...

environ 14 ans il y a | 0

Réponse apportée
t-test weird degrees of freedom
I can think of two possibilities. First, if you have any NaN values, they are treated as missing and the df would be reduced acc...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
gscatter grouping variable
The idea is that the jth point on the plot is x=T(j) vs y=C(j) with the symbol chosen according to the group value group(j). The...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Naive Bayes - within-class variance must be positive.
Suppose you have data X and classes C. Can you look at var(X(C==1,:) If you see that columns 5, 6, 12, etc. have zero va...

environ 14 ans il y a | 4

| A accepté

Réponse apportée
expected correlation / transitivity ?
It seems like you are saying [1 c4 c2; c4 1 c3; c2 c3 1] is the correlation matrix of A,A',B'. This is a valid correlation for s...

environ 14 ans il y a | 0

| A accepté

Charger plus