Answered

How do you verify and show independence/dependence of a pair of uniform random variables?

The math isn't showing up well in my browser so I don't entirely understand the question. But the general approach would be to ...

How do you verify and show independence/dependence of a pair of uniform random variables?

The math isn't showing up well in my browser so I don't entirely understand the question. But the general approach would be to ...

3 días ago | 0

Answered

anova1 to test difference accross values of elements in a row in a matrix, for the columns seperately (seperate anova1 test per column in a matrix)?

You can't statistically compare the values in different rows (e.g., 0.0075 versus 0.3143) using just the averages. The statisti...

anova1 to test difference accross values of elements in a row in a matrix, for the columns seperately (seperate anova1 test per column in a matrix)?

You can't statistically compare the values in different rows (e.g., 0.0075 versus 0.3143) using just the averages. The statisti...

9 días ago | 0

| accepted

Answered

skewness parameter in weibull distribution .is there any option for input in weibull distribution for skewness parameter

The answer at SolveWeibull might be helpful if you can compute the third moment that corresponds to the skewness value that you ...

skewness parameter in weibull distribution .is there any option for input in weibull distribution for skewness parameter

The answer at SolveWeibull might be helpful if you can compute the third moment that corresponds to the skewness value that you ...

14 días ago | 0

Answered

How can I build a Matlab parallel computing cluster from computers with existing standalong Matlab installations?

> after reading the documentation of Matlab distributed computing server, I feel a bit confused about how they work Yes, me too...

How can I build a Matlab parallel computing cluster from computers with existing standalong Matlab installations?

> after reading the documentation of Matlab distributed computing server, I feel a bit confused about how they work Yes, me too...

16 días ago | 0

Answered

How to generate random variable from t distribution with mean and scale

I don't see that your code is correct, because it does not take 1,000 draws from anything, which is what you said you want to do...

How to generate random variable from t distribution with mean and scale

I don't see that your code is correct, because it does not take 1,000 draws from anything, which is what you said you want to do...

17 días ago | 0

Answered

Normalised gaussian random variables

You may want to truncate the normal distribution as shown here. They give an example with truncation between -2 and +2, which y...

Normalised gaussian random variables

You may want to truncate the normal distribution as shown here. They give an example with truncation between -2 and +2, which y...

25 días ago | 0

Answered

How can I perform a semipartial correlation with two covariates?

Not sure if this is what you want, but maybe: [b1,bint1,resid1] = regress(task1,covar1); [b2,bint2,resid2] = regress(task2,c...

How can I perform a semipartial correlation with two covariates?

Not sure if this is what you want, but maybe: [b1,bint1,resid1] = regress(task1,covar1); [b2,bint2,resid2] = regress(task2,c...

29 días ago | 0

| accepted

Answered

multcompare and anovan result in zero and nan

You can't use anovan with numerical predictors like thickness, weight, and adhesion. Have a look at regression models. You wil...

multcompare and anovan result in zero and nan

You can't use anovan with numerical predictors like thickness, weight, and adhesion. Have a look at regression models. You wil...

alrededor de 1 mes ago | 0

| accepted

Answered

Transforming a right skewed data set to normal

One very general two-step approach is to convert the original scores to percentiles within the original distribution replace e...

Transforming a right skewed data set to normal

One very general two-step approach is to convert the original scores to percentiles within the original distribution replace e...

alrededor de 1 mes ago | 0

Answered

how to do mle on custom mvnpdf ?

I don't really understand what you are trying to do, but the error message "SIGMA must be a square, symmetric, positive definite...

how to do mle on custom mvnpdf ?

I don't really understand what you are trying to do, but the error message "SIGMA must be a square, symmetric, positive definite...

alrededor de 1 mes ago | 0

| accepted

Answered

matlab dummyvar is creating extra binary variable

I guess there is a typo in your question and you really want ''b0=1,b1=0 for '2'". Notice that you get what (I think) you want ...

matlab dummyvar is creating extra binary variable

I guess there is a typo in your question and you really want ''b0=1,b1=0 for '2'". Notice that you get what (I think) you want ...

alrededor de 1 mes ago | 0

| accepted

Answered

Change the value of a variable between each iteration of fminsearch

If gamma has to be changed at each iteration, can't you let the error function change it? The error function is called at each ...

Change the value of a variable between each iteration of fminsearch

If gamma has to be changed at each iteration, can't you let the error function change it? The error function is called at each ...

alrededor de 1 mes ago | 0

| accepted

Answered

Wish-list for MATLAB Answer sections.

As far as I can see, Activity Feed / Manage Followed Content apparently only shows threads that I follow if there is a post to t...

Wish-list for MATLAB Answer sections.

As far as I can see, Activity Feed / Manage Followed Content apparently only shows threads that I follow if there is a post to t...

alrededor de 1 mes ago | 1

Answered

How to include a fixed point in exponential fit?

You can approximate this by using the 'weights' input parameter to fit. Give the first point much higher weight than any of the...

How to include a fixed point in exponential fit?

You can approximate this by using the 'weights' input parameter to fit. Give the first point much higher weight than any of the...

alrededor de 1 mes ago | 1

| accepted

Answered

spearman correlation in bootstrap function

scorr = @(a,b)(corr(a,b,'Spearman')); bootstat = bootstrp(1000,scorr,a,b);

spearman correlation in bootstrap function

scorr = @(a,b)(corr(a,b,'Spearman')); bootstat = bootstrp(1000,scorr,a,b);

alrededor de 1 mes ago | 0

Answered

How to calculate the Product between Gaussian and exponential distribution in Matlab?

You might find Cupid useful for this. You could set up the clampforce random variable like this: wheelforce=TruncatedX(Normal(...

How to calculate the Product between Gaussian and exponential distribution in Matlab?

You might find Cupid useful for this. You could set up the clampforce random variable like this: wheelforce=TruncatedX(Normal(...

alrededor de 2 meses ago | 0

Answered

Use parametric Name generator to adress existing cell arrays

One almost-convenient way to do this is to put all of your cell arrays within a structure, call it 'a'. So, for example, create...

Use parametric Name generator to adress existing cell arrays

One almost-convenient way to do this is to put all of your cell arrays within a structure, call it 'a'. So, for example, create...

alrededor de 2 meses ago | 1

| accepted

Answered

fitting scatter plot with two-dimensional normal distribution (Gaussian)?

You can calculate the 5 parameters of the best estimated bivariate normal directly from the x and y values: mean & sd of each va...

fitting scatter plot with two-dimensional normal distribution (Gaussian)?

You can calculate the 5 parameters of the best estimated bivariate normal directly from the x and y values: mean & sd of each va...

alrededor de 2 meses ago | 0

| accepted

Answered

Kernel density estimates....group data into bin and KDE

No, you don't need to make bins. This might give you a start: Pressure = importdata('Pressure.txt'); kernest = fitdist(Pressu...

Kernel density estimates....group data into bin and KDE

No, you don't need to make bins. This might give you a start: Pressure = importdata('Pressure.txt'); kernest = fitdist(Pressu...

alrededor de 2 meses ago | 0

Answered

Histogram Fit: Scaling and offset

I think there are a couple of problems. Try this: load Data.mat bins = round(sqrt(length(Data))); % Number of bins ...

Histogram Fit: Scaling and offset

I think there are a couple of problems. Try this: load Data.mat bins = round(sqrt(length(Data))); % Number of bins ...

alrededor de 2 meses ago | 0

| accepted

Answered

Loop to pick random variables from separate probability distributions

It sounds like you want to select the second number from a truncated version of the lognormal distribution. If I understand wha...

Loop to pick random variables from separate probability distributions

It sounds like you want to select the second number from a truncated version of the lognormal distribution. If I understand wha...

2 meses ago | 0

| accepted

Answered

solve 3 parameter weibull using method of moments - integral with parameters inside a solve

Lauren, If you just want to get numerical estimates, Cupid will give them to you. Here is a script for that: load('Location_0...

solve 3 parameter weibull using method of moments - integral with parameters inside a solve

Lauren, If you just want to get numerical estimates, Cupid will give them to you. Here is a script for that: load('Location_0...

2 meses ago | 0

| accepted

Answered

Passing data through fminsearch

One way is to nest the rss function: function [ par_hat , rss ] = finder % A wrapper function to avoid globals ...

Passing data through fminsearch

One way is to nest the rss function: function [ par_hat , rss ] = finder % A wrapper function to avoid globals ...

2 meses ago | 0

Answered

generate n random number between two numbers follow exponential distribution

With Cupid the command is somerands = TruncatedX(Exponential(lambda),a,b).Random(n,1);

generate n random number between two numbers follow exponential distribution

With Cupid the command is somerands = TruncatedX(Exponential(lambda),a,b).Random(n,1);

2 meses ago | 1

Submitted

RNGMgr

A class to facilitate saving RNG seeds when it may be desirable to regenerate the same sequence of random numbers.

2 meses ago | 0 downloads |

Answered

Regression analysis; How do I detect a delayed relation between two signals

It sounds like you are looking for what is sometimes called "lagged regression". The basic idea is to use regular regression to...

Regression analysis; How do I detect a delayed relation between two signals

It sounds like you are looking for what is sometimes called "lagged regression". The basic idea is to use regular regression to...

3 meses ago | 0

Answered

Using chi2gof to test two distributions

Sorry, the x's really do have to be the data values. Try this: bins=[0:9:81] xvals = bins(1:end-1)+4.5; % Here are some fak...

Using chi2gof to test two distributions

Sorry, the x's really do have to be the data values. Try this: bins=[0:9:81] xvals = bins(1:end-1)+4.5; % Here are some fak...

3 meses ago | 0

| accepted

Answered

Using chi2gof to test two distributions

It looks like chi2gof expects the values in x to be the actual, original scores, not the bin counts. Try adding 'Frequency',x t...

Using chi2gof to test two distributions

It looks like chi2gof expects the values in x to be the actual, original scores, not the bin counts. Try adding 'Frequency',x t...

3 meses ago | 0

Answered

Find flattest line from matrix of vectors plotted against x values

If you want to find the y-matrix row with the least variation, you could simply find the row with the small std, range, or mean ...

Find flattest line from matrix of vectors plotted against x values

If you want to find the y-matrix row with the least variation, you could simply find the row with the small std, range, or mean ...

3 meses ago | 0

| accepted

Answered

Fitting a Gaussian to multiple data sets

If you are just trying to save the fit outputs, it seems like this should work: saveme = cell(size(y_data,2),1) % before the l...

Fitting a Gaussian to multiple data sets

If you are just trying to save the fit outputs, it seems like this should work: saveme = cell(size(y_data,2),1) % before the l...

3 meses ago | 0