Community Profile

photo

Jeff Miller


Last seen: Today
491 2013 年以降の合計貢献数

Jeff Miller's バッジ

  • 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

詳細を表示...

貢献した分野
表示方法

回答済み
How can I evaluate characteristic functions in MatLab?
It seems like your question contains its own answer: mu = 1; sigma = 1; t = -2.5:0.01:2.5; cf = exp(i*mu*t - sigma^2*t.^2/2)...

3日 前 | 1

回答済み
How to perform 1way-ANOVA with matrices
manova might be a better approach, since it allows you to combine information from all three variables (x,y,z) into a single tes...

3日 前 | 1

回答済み
Passing Covariance Matrix in Likelihood Maximization
Sometimes this kind of problem can be solved by adding code within the LogLik function to make sure that a legal (i.e., positive...

7日 前 | 0

| 採用済み

回答済み
how can i calculate z^2 distibution?
The distribution of z^2/a^2 is a chi-square with 1 df.

8日 前 | 0

回答済み
How can I get randperm to return a permutation of a vector that has no entries at their original positions?
I don't think randperm can do that by itself, but I think this would work for an even number of items in the original vector: o...

8日 前 | 0

回答済み
R code to matlab, or simply generating a zero mean gaussian and finding the covariance matrix
x=normrnd(0,1,5000,1); v=normrnd(0,0.3,5000,1); y=0.5*x+v; cov=mean(x.*y)-(mean(x)*mean(y)); cov s=cov*(sqrt(var(x)))*(sqrt...

10日 前 | 0

| 採用済み

回答済み
Generating a histogram from lognormally distributed data
What about something like this: mu = 0.015; % mean particle size sg = 1.6; % standar...

11日 前 | 1

回答済み
How to integral a pdf of a continuous random variable to calculate its entropy
Try this: pd = makedist('beta','a',50,'b',40); fun = @(x) pdf(pd,x) .* log( pdf(pd,x) ); H = -integral(fun,0,1)

12日 前 | 0

| 採用済み

回答済み
Fit data to beta distribution
There is information here about how to fit a univariate distribution from an empirical CDFs with MATLAB. Unfortunately, it is a ...

12日 前 | 0

| 採用済み

回答済み
how to create a pdf function of two variables that are in different uniform distribution
If they are independent then the joint pdf is the product of the marginal pdfs, so in this case pdf(x,y) = 0.01

13日 前 | 0

回答済み
Calculate Exponetial Moving Covariance
Not really a hand, but maybe some hints...Let's say you have variables x and y, and you want the exponentially weighted rolling ...

16日 前 | 0

| 採用済み

回答済み
Select sample from an array
Maybe this: ints = [2:7:259 3:7:259 4:7:259 5:7:259]; srtints = sort(ints); X1 = x(:,srtints);

16日 前 | 0

| 採用済み

回答済み
Kruskal-Wallis test with very small p-values
p values can be anywhere between 0 and 1, depending on your data. a tiny p value like that is telling you that you would very r...

17日 前 | 0

回答済み
Fitting a multivariate Gaussian distribution on a histogram
There isn't really a universal answer to "which distribution fits best", because there are an infinite number of different distr...

20日 前 | 0

| 採用済み

回答済み
How to index through variable list in a table after doing calculation with each variable
myVars = {'Var1name' 'Var2name' 'Var3name'}; % list the names of the variables you want for iVar=1:numel(myVars) thisColu...

22日 前 | 1

回答済み
How to obtain the standard error for each of the fitted parameters
The notion of a standard error assumes some kind of random sampling. For example, the standard error of your 'b' parameter refl...

22日 前 | 0

回答済み
sqlite foreign key constraint not enforced
In case anyone else is interested, here is the answer from MATLAB technical support: This [is] a bug in executing PRAGMA querie...

23日 前 | 0

回答済み
Weird fitting result from using 'ksdensity'
Try histogram(x,'Normalization','pdf')

23日 前 | 0

| 採用済み

回答済み
How to plot a spatial correlation with a p-value threshold?
After you get X (bottom of your first code segment): rCrit = 0.312; % Based on N=40 and alpha = 0.05, 2-tailed, from a table of...

29日 前 | 0

| 採用済み

回答済み
double truncated data sample
This is pretty ugly, but I think will do what you asked for: function [x]=generate_sample(n,eta,beta,theta,t1,t2) % ...

約1ヶ月 前 | 0

質問


sqlite foreign key constraint not enforced
My question is how to get MATLAB's sqlite databases to enforce foreign key constraints. Here is a minimal working example illus...

約1ヶ月 前 | 1 件の回答 | 0

1

回答

回答済み
How to use least square fit in MATLAB to find coefficients of my polynomial?
% It sounds like you have data arrays like these: nPoints = 100; H = rand(nPoints,1); C = rand(nPoints,5); % If so, comput...

約1ヶ月 前 | 1

| 採用済み

回答済み
How to remove effect of "in" predictors on "out" predictors in stepwiseregression?
One way to think of it is that the "out" predictors will only improve the fit of the regression model if they bring in some new ...

約1ヶ月 前 | 1

回答済み
How to fit data in exponential fit (R = exp(-q*D)) and find coefficient "q" using Maximum Likelihood Estimate (MLE)?
As I read this question, it is about fitting a model rather than a distribution, so I don't think mle is appropriate. Instead, ...

約1ヶ月 前 | 0

回答済み
Multivariate analysis of variance in Matlab
You need to arrange your data in a table with one row per individual group member. For example, your first group seems to have ...

約1ヶ月 前 | 1

| 採用済み

回答済み
Selecting a "random" element from an array with each element having it's own weighting
% Wts is your vector of weights. Wts = Wts / sum(Wts); % make sure they sum to 1 cumPrs = cumsum(Wts); % cumPr is the cumula...

約1ヶ月 前 | 0

回答済み
Help fitting data to an implicit equation
I would suggest using fminsearch. The error function to be minimized would be something like: function thiserr = err(x,y,t) ...

約2ヶ月 前 | 0

| 採用済み

回答済み
Chi-squared for multiple groups
The crosstab function will do this--it is not limited to 2x2 tables. Example: % Make up example data for 200 participants, codi...

約2ヶ月 前 | 0

回答済み
using mle in matlab
One problem is that mle's search function (fminsearch) may try negative parameter values, in which case your pdf function return...

約2ヶ月 前 | 0

回答済み
ttest2 with a group describing independent values (statistics)
No, it is not possible to use ttest2 as you suggest. Your design has 2 factors: gender and time (day/night) with repeated measu...

2ヶ月 前 | 1

| 採用済み

Load more