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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

| akzeptiert

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

etwa 7 Jahre vor | 0

| akzeptiert

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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

| akzeptiert

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

etwa 7 Jahre vor | 0

| akzeptiert

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

etwa 7 Jahre vor | 0

| akzeptiert

Beantwortet
[DISCONTINUED] 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...

etwa 7 Jahre vor | 2

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

etwa 7 Jahre vor | 1

| akzeptiert

Beantwortet
spearman correlation in bootstrap function
scorr = @(a,b)(corr(a,b,'Spearman')); bootstat = bootstrp(1000,scorr,a,b);

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 1

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

etwa 7 Jahre vor | 1

| akzeptiert

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

etwa 7 Jahre vor | 0

| akzeptiert

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

etwa 7 Jahre vor | 0

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

etwa 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

Beantwortet
generate n random number between two numbers follow exponential distribution
With Cupid the command is somerands = TruncatedX(Exponential(lambda),a,b).Random(n,1);

mehr als 7 Jahre vor | 1

Gesendet


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

mehr als 7 Jahre vor | 1 Download |

0.0 / 5

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 1

| akzeptiert

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

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

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

mehr als 7 Jahre vor | 0

Beantwortet
How to randomly present stimuli a specific number of times
If you want to present 48 stimuli, you need to replace your line for a =randperm(numel(d)) with something like this for a =nu...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How to generate covariance matrix (SIGMA) for mvnrnd function, given the marginal normal probability density functions of two random variables X and Y.
Since you have two mu's, sigma will be a 2x2 covariance matrix. Then numbers on the diagonal are the variances of the two RVs. ...

mehr als 7 Jahre vor | 0

Mehr laden