Community Profile

photo

Jeff Miller


Last seen: Today 2013 이후 활성

Statistics

All
  • 36 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

배지보기

Content Feed

보기 기준

답변 있음
Distribute a sum using binomial distribution
If I understand correctly, it is fine to use binornd with n = row total. It sounds like that is what was done in the paper. j...

2일 전 | 0

답변 있음
Why is fitlm affected by variable scale?
Your understanding is correct for linear regression but your model is nonlinear because of the interaction terms. Consider: zX ...

3일 전 | 0

답변 있음
understanding Linear regression model equation after simplifying.
I think the notation y~ 1+ x1*x2 is shorthand for y~ 1*b0+ b1*x1 + b2*x2 + b3*x1*x2. The four b values are the four estimates...

17일 전 | 0

| 수락됨

답변 있음
Is there a way to normalizing a probability density function / keep the density values between 0 and 1?
Dividing by the max density value would have the unfortunate ramification that the resulting function would no longer be a densi...

17일 전 | 0

| 수락됨

답변 있음
plot of log likelihood values
I think this might be what you are after: x = [2 4 3 1 6 2 2.5 7 10]; % data ShapeCandidates = 1:10; Scale = 6; loglik...

24일 전 | 0

답변 있음
How can I see specific likelihood values with MLE (or possibly another function?)
Once you have the parameter estimates (e.g., from mle) you can compute the likelihood value by calling your custom density funct...

약 1달 전 | 0

답변 있음
Facing an error while using 'anovan' function
anovan needs the original data (y1 and y2) to compute an error term, but you are only giving it the averages (ybar). This is why...

약 1달 전 | 0

| 수락됨

답변 있음
Generating random variable from inverse gaussian dist.
Do you really need to write the random generator yourself? This one is already available: >> pd = makedist('inversegaussian') ...

약 2달 전 | 0

답변 있음
How do I get MATLAB to display the d' when my hit rate = 1 using the norminv function?
No, d' cannot be computed when an observed hit_rate is 1 or fa_rate is zero. One of the most common work-arounds for this probl...

약 2달 전 | 0

답변 있음
How to delete some of anonymous variables randomly?
One way to approach the problem is to write a function f(x) where x is a vector with 47 positions. When you call f, put numeric...

약 2달 전 | 0

| 수락됨

답변 있음
Random Laplacian distribution in a specified interval
Here is a quick and dirty way to do this with Cupid: location = 0; % set whatever Laplacian parameters you want. scale = 1; ...

약 2달 전 | 0

| 수락됨

답변 있음
kstest for uniform distribution
you can test for the fit of a discrete distribution, including uniform, with chi2gof. One of the examples (about 1/3 of the way...

약 2달 전 | 1

| 수락됨

답변 있음
How to remove the outliers in distribution fitter
If you click on the "Exclude" button in the picture you posted, you will get the option to set lower and upper limits to exclude...

약 2달 전 | 1

답변 있음
Bootstrap multi linear model
The problem is that fitlm produces a complicated output structure and bootstrp doesn't know what to do with it. x = (1:1000)'; ...

2달 전 | 0

| 수락됨

답변 있음
How Can I simulate Data for Least-Squares Variance Component Estimation (LS-VCE) for Multiple regression?
You could use mvnrnd to generate random values of x1-x4. Is that what you need?

2달 전 | 0

답변 있음
How to group data for MANOVA1 analysis
84*84 is not going to work, sorry. For MANOVA, you need to have more cases in each group than the number of variables. Some pos...

3달 전 | 0

답변 있음
How to test if values are close togather using p-value (ttest)
A small p value means that the data are incompatible with some underlying assumption/model. For example, you could potentially ...

3달 전 | 0

답변 있음
Finding the minimum of a complicated function with variables and parameters
If I understand the problem correctly, then this should be close to what you want: function bestEsts = MyOuterFn(x,y) MyErrFn ...

3달 전 | 0

답변 있음
How to get correct p-values for the Steel-Dwass test?
The problem is with the 'inf' value given as the degrees of freedom in this line p_steelDwass(i, 1) = 1 - tcdf(t_steelDwass...

3달 전 | 0

답변 있음
How to calculate for significant difference between Cohen's Kappa values?
As I understand it, the fundamental question is whether tests A & B agree better than tests A & C, beyond a minor improvement th...

3달 전 | 0

답변 있음
fsolve doesn't find a solution when the value of the objective function is obtained through a Montecarlo simulation
I don't know if it can be done in the context of your simulation, but sometimes it is helpful to pick the "random" variables sys...

3달 전 | 0

질문


speed up integrating the same function over many overlapping intervals?
I need to compute many different integrals of the same function fn, essentially like this: Xint = size(X); for i=1:numel(X) ...

3달 전 | 답변 수: 2 | 0

2

답변

답변 있음
Differences between functions ezfit and Matlab's gamfit in fitting data to the gamma distribution?
There are two somewhat different parameterizations of the gamma distribution. In one (which I think is used by gamfit), the mean...

3달 전 | 0

답변 있음
How do I calculate the R^2?
Either of these: Rsqr = corr(x(:,2),y)^2; RsqrAlso = 1-(std(resids)/std(y))^2;

3달 전 | 1

답변 있음
I would like to find elements of a matrix that fulfill a condition but after every loop the condition is changing.
I think this will almost do what you want. edges = 0:0.05:30; [~,~,bin_numbers] = histcounts(diameters,edges); The output bin...

3달 전 | 0

| 수락됨

답변 있음
Generating a categorical array with group names
Is this what you are after? part1 = repmat({'Name1'},1055,1); part2 = repmat({'Name2'},1641,1); part3 = repmat({'Name3'},2055...

3달 전 | 0

| 수락됨

답변 있음
Forming a CDF by adding different types of PDF and generating random number
It seems like there are several different questions here. If you want to generate random numbers from a custom CDF, one simple ...

3달 전 | 2

| 수락됨

답변 있음
Calculating pdf and cdf for data extracted as a table
This command pdfwindspeed = pdf('Normal',A) returns the pdf of the A values within the standard normal with mu=0 and sigma=1. ...

3달 전 | 0

답변 있음
How to use one data set to find the mean of another?
NON1 = NON == 1; % this makes a boolean vector that is true for the positions where NON==1 mean(PLCm(NON1)); % this computes ...

3달 전 | 1

질문


Request for help computing convolution of random variables via fft
Inspired by the answers of @David Goodmanson to this earlier question, I have been trying to understand exactly how in general t...

3달 전 | 답변 수: 2 | 0

2

답변

더로드