Community Profile

photo

Jeff Miller


Last seen: Today Active since 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

View badges

Content Feed

View by

Answered
How to turn a function handle with 3 inputs (1 variable and 2 parameters) and then assign the inputs parameters and get a function handle with one input? ?
Not sure I understand the situation, but this sounds to me like a case where an OO approach could be very helpful. Consider: cl...

3 Tage ago | 0

Answered
Repeated measures ANOVA Matlab (Statistic)
% Note the transpose operator: single-column vectors are more convenient. A = [10 11 13 16 15 18 17 16 11 12]'; B = [20 22 21 ...

5 Tage ago | 0

| accepted

Answered
How to fit an uniform distribution to a histogram?
histogram(data, numBars); avgHeight = numel(data)/numBars; hold on; plot([min(data), max(data)],[avgHeight, avgHeight])

6 Tage ago | 1

Answered
Spearman correlation fails in ranking strings
The first two inputs to the corr command have to be the numerical values that are to be correlated, so you will want something l...

7 Tage ago | 1

| accepted

Answered
I want to compute mean median and mode for the distribution from its c.d.f.
The median is the value at p=0.50, which you already seem to have in your table. You can't really compute the mean and mode fr...

13 Tage ago | 0

Answered
How to calculate StdErr for intercepts and slopes in a multivariate ANCOVA (function ANOVAN() with continuous independent variable)?
If you set up dummy variables to code your categorical independent variables, you can then do analysis of covariance with fitlm....

14 Tage ago | 2

| accepted

Answered
Is it appropriate to use ranksum to compare statistical means for time series data?
The ranksum test ignores the sequential order of scores, so for example ranksum(x,y) will give you the same answer no matter how...

29 Tage ago | 0

Answered
pca with more than one grouping variable
gscatter will accept multiple grouping variables, in your case organism & dead/alive. There is an example in the gscatter docu...

etwa ein Monat ago | 0

| accepted

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

etwa 2 Monate ago | 0

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

etwa 2 Monate ago | 0

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

2 Monate ago | 0

| accepted

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

2 Monate ago | 0

| accepted

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

2 Monate ago | 0

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

3 Monate ago | 0

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

3 Monate ago | 0

| accepted

Answered
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') ...

3 Monate ago | 0

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

3 Monate ago | 0

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

3 Monate ago | 0

| accepted

Answered
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; ...

3 Monate ago | 0

| accepted

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

3 Monate ago | 1

| accepted

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

3 Monate ago | 1

Answered
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)'; ...

4 Monate ago | 0

| accepted

Answered
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?

4 Monate ago | 0

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

4 Monate ago | 0

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

4 Monate ago | 0

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

4 Monate ago | 0

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

4 Monate ago | 0

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

4 Monate ago | 0

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

4 Monate ago | 0

Question


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

4 Monate ago | 2 answers | 0

2

answers

Load more