Community Profile

photo

Jeff Miller


297 total contributions since 2013

Contact

Jeff Miller's Badges

  • 24 Month Streak
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 3
  • First Submission
  • Pro
  • Knowledgeable Level 4
  • Revival Level 1
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Answered
Within- & between-subjects in 'anovan'
I also found the lack of between/within terminology a bit daunting. With respect to your first question, here is an example tha...

alrededor de 11 horas ago | 1

Question


any trick to stop fminsearch early?
I am using fminsearch to minimize an error score in fitting a model to many, many data sets. Often, the error score gets close ...

alrededor de 16 horas ago | 2 answers | 0

2

answers

Answered
How can I introduce a known autocovariance to a lognormal process
You should be able to do it by generating your sequence one element at a time, if you can't find a canned routine that will do i...

4 días ago | 0

Answered
How to calculate the conditional proabability?
Crude, but maybe illustrative: all=readtable('RainTampa.txt','headerlines',31) nonzeroVar2 = all(all.Var2~=0,:); nonzeroVar2a...

10 días ago | 0

Answered
How to find the maximum of a normalized fit of a histogram
Try this: dist = Histogram(2) maxnorm = max(dist.YData); line([min(dist.XData) max(dist.XData)], [maxnorm maxnorm], 'LineWidt...

11 días ago | 0

Answered
Extreme Value Distribution y-axis not same with Histogram
histogram(total,'normalization','pdf');

12 días ago | 0

Answered
Multiple univariate or multivariate analysis?
No, that's probably not the right way to go. The problem with this approach is that you have a 5% chance of making a type 1 err...

13 días ago | 0

Answered
How to calculate the P-value using chi-square and degrees of freedom
p = 1 - chi2cdf(x,df)

17 días ago | 0

Answered
Is there a way to do a multi normal distribution fitting in Matlab?
The sigma isn't really off. GMModel.Sigma is variance = sigma^2

17 días ago | 0

| accepted

Answered
Log-Normal fit of histogram
fitdist wants the x values that were tabulated to get the histogram, not the bin counts. From your histogram, it looks like you...

19 días ago | 0

Answered
Parameter estimation - estimate integers only
One way to do this is to write your objective function to return an error function that is linearly interpolated between two int...

20 días ago | 0

Answered
Fmincon: how to change input variable of function which is not a design variable?
If I follow what you are trying to do, one way is by nesting your objective function within some outer master function, somethin...

22 días ago | 0

| accepted

Answered
How to define the Conditional probability density function from a n-by-2 matrix ?
Maybe start with 'ksdensity' to estimate the joint pdf of x & y from your observed x,y pairs. Once you have a good numerical es...

25 días ago | 0

| accepted

Answered
Plotting average of many empirical cumulative distribution functions
I'm pretty sure there is no function to do that. To compute the average function by Vincentizing, you first choose a set of CDF ...

28 días ago | 0

| accepted

Answered
Problems with fmincon for design optimization
Hi Soheil, You have posted a lot of information and I certainly have not digested even a large fraction of it (it would take me...

30 días ago | 0

| accepted

Answered
CDF-vector- 2 random variables
You apparently have a probability for each of the x and y values. So, you can just compute the different possible Ln(Z) values f...

alrededor de 1 mes ago | 0

| accepted

Answered
How create joint distribution of two dependent variables?
I don't think your two questions are equivalent. If you have the two marginal pdfs and the correlation, there are lots of ways ...

alrededor de 1 mes ago | 0

| accepted

Answered
Generate a random sequence with assigned probabiity
Homework? OK, here's a hint: Imagine that you have an array with 8 positions and that you choose array positions randomly (each...

alrededor de 1 mes ago | 0

Answered
Multivariate Nomral Distribution Matlab
If you have only those 9 discrete combinations, then you can make their probabilities be any values you want (summing to one). ...

alrededor de 1 mes ago | 0

| accepted

Answered
Multivariate Nomral Distribution Matlab
I don't see anything wrong with what you are doing, but only with your expectations about things summing to 1. In general, the ...

alrededor de 1 mes ago | 0

Answered
Choose samples from statistical distribution for fmincon optimization
It is probably a better idea to select the samples randomly and then have fmincon optimize for the given sample. If you must ta...

alrededor de 1 mes ago | 0

| accepted

Answered
How to synchronise inherited properties of class
I would say your UTubeClass should not descend from TubeClass. It's not the case that UTube "is a" Tube, but rather than UTube ...

alrededor de 1 mes ago | 0

| accepted

Answered
Bootstrap Confidence interval Error: "Statistic size 999 for one jackknife sample is not equal to statistic size for the entire data 1000"
The problem is that the output of function m is a vector of 1000 elements for the full sample and it is a vector of 999 elements...

alrededor de 1 mes ago | 0

Answered
Monte Carlo Simulation to generate 10,000 data from 100 data.
Here is one way: originalSample = rand(100,1); % You have your own original sample. This is some fake data to use instead for ...

alrededor de 1 mes ago | 0

Answered
Monte Carlo Simulation Result Tabulation
% rand(2,5) doesn't do what you seem to think. Try this % (with a little extra code that might help you see how to do this in ...

alrededor de 1 mes ago | 1

| accepted

Answered
Histogram Fitting in Matlab
First, I suggest you change the histogram plot so that the frequencies are represented by the areas of the different bars rather...

alrededor de 1 mes ago | 1

| accepted

Answered
zeros in data for gamma distribution
rain1positive = rain1(rain1>0);

alrededor de 2 meses ago | 0

| accepted

Answered
How to add a time limit to response time?
One way is to use GetSecs, which returns the current time. For example, MaxWait = 1.5; % As an example, suppose you want a ma...

alrededor de 2 meses ago | 0

| accepted

Answered
Parameters for Frechet Distribution
You could write a function to compute -log(likelihood of your data) from alpha & beta, then use fminsearch to find the alpha,bet...

alrededor de 2 meses ago | 0

Load more