Answered
Permutation Generation Requiring at least A, B, or C MUST Equal x.
Would this give you what you want? Step 1: Generate all possible permutations of r-1 of the numbers in n. Step 2: Augment ...

7 years ago | 0

| accepted

Answered
how plot fitting curve with The Gumbel distribution
I guess your y values are counts indicating the number of times each x value was observed. So, the full data set of observed x v...

7 years ago | 0

Answered
How can i do monte carlo analysis
If X & Y are independent, then pdf_joint(x,y) = pdf_x(x) * pdf_y(y). You should be able to get contour lines from that. I'm not...

7 years ago | 0

| accepted

Answered
Evaluation Criteria for Missing Data Imputation Techniques
You can't evaluate the performance of the different imputaton methods with respect to your actual data set, for exactly the reas...

7 years ago | 0

Answered
How to know what distribution is my time data
Try the distribution fitter app: <https://au.mathworks.com/help/stats/model-data-using-the-distribution-fitting-tool.html dist...

7 years ago | 0

Answered
How to fit multivariate pdf and cdf from data
You don't need a bivariate histogram to fit the bivariate normal--just use the sample means and covariance matrix. Here's an ex...

7 years ago | 1

| accepted

Answered
How to speed up calculations of integral and summation
It seems wasteful to do this z2=load('Tc_Tmatrix_ordered.txt'); inside the function that you are integrating. Can't you...

7 years ago | 0

| accepted

Answered
using findgroups and splitapply (or an alternative) to find the minimu value in a range of values
Couldn't you just form a new variable Agrp which has the A values grouped into whatever bins you want? Then repeat what you are...

7 years ago | 0

| accepted

Answered
Most appropriate data structure for multi-level nested dataset
Maybe your best bet is to use a much simpler table data structure. Each row in the table would correspond to one combination of...

7 years ago | 1

| accepted

Answered
bootstrap p-value
Let me try to summarize your question (to see if I understand it correctly): You are evaluating some underlying model that pred...

7 years ago | 1

| accepted

Answered
can any one suggest me how we can fit a distribution which is a sum of various standard distributions to given data or to a normalized histogram
You might be able to use <https://github.com/milleratotago/Cupid Cupid> . It provides a lot of ways to form new distributions b...

7 years ago | 0

Answered
For loop to correlate column 1 in variable 1 to column 2 in variable 2 and so on.
for i=1:30 tmp = corrcoef(A(:,i),B(:,i)); C(i) = tmp(1,2); end

7 years ago | 0

Answered
How do I write the code to compute wave frequencies (alpha, beta, theta, gamma) and amplitude for specific timepoints of EEG data?
Have a look at <https://sccn.ucsd.edu/eeglab/index.php EEGLab>

7 years ago | 0

Answered
Why pdf value of gaussian Mixture Model (GMM) is greater than 1?
As I understand the question, the answer only depends on the pdf's, not on where they came from (here, GMM). GMM_sea=fitg...

7 years ago | 0

Answered
Interpretation of the p-values
I am not sure I understand your question, but maybe this will help: p is the probability of getting such an extreme correlati...

7 years ago | 0

Answered
how to generate log normal random number
<https://github.com/milleratotago/Cupid Cupid> has a class for a version of the lognormal where you specify the mean and sd of t...

7 years ago | 0

Question


How can I turn off fminsearch's exiting complaints?
Is there any way to turn off all of fminsearch's complaints to the command window, such as this one: Exiting: Maximum numbe...

7 years ago | 2 answers | 1

2

answers

Answered
Generation of numbers resembling a prior distribution
You could try to create a distribution with the shape you want using <https://github.com/milleratotago/Cupid Cupid>. Finding the...

7 years ago | 1

| accepted

Answered
How to calculate standard errors for estimated parameters for a 3-parameter Weibull Distribution?
One method is to use Fisher information; another method is to use bootstrapping. Google will explain these if you are not alrea...

7 years ago | 2

| accepted

Answered
Bounds on objective function and dependent state with FMINCON
Would it work to include a penalty for too-low y at the end of your function f? Something like this: function y = f(x) ...

8 years ago | 0

| accepted

Answered
fitting a 3-parameter of Weibull PDF using mle
Cupid ( <https://github.com/milleratotago/Cupid GitHub> ) says the ML estimates are Weibull(468169.4353,0.92433,11159.7031), obt...

8 years ago | 0

Answered
fminsearch from table or mat, choose row values
I don't think fminsearch is the best way to solve this problem. Here is a different approach: % T is your data table. % ...

8 years ago | 0

| accepted

Answered
How can I make a probability distribution that is composed of several normal distributions added and subtracted together?
A lot depends on exactly what you mean by “subtracted”, but here are a few thoughts. In general, you can decrease the probabi...

8 years ago | 1

| accepted

Answered
Model calibration in Matlab: find minimum RMSE
It seems like you have to start by writing the function to compute RMSE for a given set of parameter values, e.g., function thi...

8 years ago | 0

Answered
How to repeat function for different arrays?
Just to give a slight variant of db's answer, another option is to hold all these arrays as fields within a structure, say 's'. ...

8 years ago | 0

Answered
Mixed effect model with binary response variable
It sounds like you have a 2x2 table for each participant with a total of 240 observations across the four cells for that partici...

8 years ago | 0

Answered
How do I return the indices of randomly sampled matrices?
Especially if A has duplicated scores, it might be better to randomly sample the positions and then take elements of both arrays...

8 years ago | 0

| accepted

Answered
Investigating correlation for unequal signal lengths
It looks like you have a lot of readings, so you might be able to estimate the correlation pretty accurately even if you only us...

8 years ago | 0

| accepted

Answered
Simulate command window keystrokes from script/m-file
If the app will read from redirected input, you might be able to use something like this: 'app input.in < keys.txt' keys...

8 years ago | 0

Answered
How to Generate random number that most of them ZEROs
It depends a little on whether you want (1) _exactly_ the same number of zeros in each random set, or (2) a large number of zero...

8 years ago | 0

Load more