답변 있음
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 ...

거의 7년 전 | 0

답변 있음
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...

거의 7년 전 | 0

답변 있음
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...

거의 7년 전 | 0

답변 있음
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...

거의 7년 전 | 0

답변 있음
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...

거의 7년 전 | 0

| 수락됨

답변 있음
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...

거의 7년 전 | 0

| 수락됨

답변 있음
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...

거의 7년 전 | 0

답변 있음
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...

거의 7년 전 | 0

| 수락됨

답변 있음
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 ...

대략 7년 전 | 0

| 수락됨

답변 있음
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 ...

대략 7년 전 | 0

| 수락됨

답변 있음
[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...

대략 7년 전 | 2

답변 있음
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...

대략 7년 전 | 1

| 수락됨

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

대략 7년 전 | 0

답변 있음
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(...

대략 7년 전 | 1

답변 있음
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...

대략 7년 전 | 1

| 수락됨

답변 있음
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...

대략 7년 전 | 0

| 수락됨

답변 있음
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...

대략 7년 전 | 0

답변 있음
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 ...

대략 7년 전 | 0

| 수락됨

답변 있음
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...

대략 7년 전 | 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...

대략 7년 전 | 0

| 수락됨

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

대략 7년 전 | 0

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

대략 7년 전 | 1

제출됨


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

대략 7년 전 | 다운로드 수: 1 |

0.0 / 5

답변 있음
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...

대략 7년 전 | 0

답변 있음
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...

대략 7년 전 | 1

| 수락됨

답변 있음
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...

대략 7년 전 | 0

답변 있음
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 ...

대략 7년 전 | 0

| 수락됨

답변 있음
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...

대략 7년 전 | 0

답변 있음
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...

대략 7년 전 | 0

| 수락됨

답변 있음
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. ...

대략 7년 전 | 0

더 보기