Rank: 200 based on 1787 downloads (last 30 days) and 8 files submitted
photo

Francesco Pozzi

E-mail

Personal Profile:

Professional Interests:
Evolution on Networks

 

Watch this Author's files

 

Files Posted by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Feb 2009 Screenshot Inequality Package Inequality Metrics: Gini Coefficient associated to the Lorenz Curve, Theil and Atkinson Indexes Author: Francesco Pozzi lorenz curve, theil, statistics, inequality, atkinson, probability 269 0
14 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi bootstrap, correlation, standard deviation, statistics, percentiles 193 3
06 Jan 2009 Download the entire archive of mp3 and zip files from Project Gutenberg Some very rudimental functions for downloading all mp3 & zip files from Project Gutenberg Author: Francesco Pozzi data import 217 0
09 Dec 2008 Fast Correlation between two vectors fastcorrelation is a fast and numerically stable algorithm for computing the correlation (in C) Author: Francesco Pozzi correlation, vectors, algorithm 217 0
08 Nov 2008 Screenshot Analytical solution for Orthogonal Linear Least Squares in two dimensions The function returns the Orthogonal Linear Least Squares estimate for parameters of line ax+by+c=0 Author: Francesco Pozzi statistics, least squares, orthogonal linear lea..., probability, econometrics, orthogonal least squa... 252 0
Comments and Ratings by Francesco View all
Updated File Comments Rating
11 Sep 2009 RANDP Random integers with given probabilities ( (v2.0) Author: Jos

I've tried this small experiment:

N = 100000; % sample size
w = 1:100; % quite steep distribution
w = w / sum(w); % distribution (pdf)
Y_std = sqrt(w .* (1 - w)); % Standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

Y1 = randp(w, N, 1); % Try Jos function
Y1_w = histc(Y1, [1:100]); % absolute frequencies table
Y1_w = Y1_w / N; % transform into relative frequencies
Y1_w_std = sqrt(Y1_w .* (1 - Y1_w)); % Empirical standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

Y2 = gDiscrPdfRnd(w, N, 1); % Try Gianluca Dorini's function
Y2_w = histc(Y2, [1:100]); % absolute frequencies table
Y2_w = Y2_w / N; % transform into relative frequencies
Y2_w_std = sqrt(Y2_w .* (1 - Y2_w)); % Empirical standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

% Check if empirical standard deviations are coherent with theretical ones
plot(Y_std - Y1_w_std', '.b') % plot empirical differences for Jos function
hold on
plot(Y_std - Y2_w_std', '.r') % plot empirical differences for Gianluca Dorini's function

%%%%%%%%%%%%%%%%%

It looks as though both functions statistically behave very well. They are both excellent functions. Thank you.

11 Sep 2009 Performing random numbers generator from a generic discrete distribution This function extracts random numbers distributed over a discrete set; the PDF is user-defined Author: Gianluca Dorini

I've tried this small experiment:

N = 100000; % sample size
w = 1:100; % quite steep distribution
w = w / sum(w); % distribution (pdf)
Y_std = sqrt(w .* (1 - w)); % Standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

Y1 = randp(w, N, 1); % Try Jos function
Y1_w = histc(Y1, [1:100]); % absolute frequencies table
Y1_w = Y1_w / N; % transform into relative frequencies
Y1_w_std = sqrt(Y1_w .* (1 - Y1_w)); % Empirical standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

Y2 = gDiscrPdfRnd(w, N, 1); % Try Gianluca Dorini's function
Y2_w = histc(Y2, [1:100]); % absolute frequencies table
Y2_w = Y2_w / N; % transform into relative frequencies
Y2_w_std = sqrt(Y2_w .* (1 - Y2_w)); % Empirical standard deviations associated to each probability

%%%%%%%%%%%%%%%%%

% Check if empirical standard deviations are coherent with theretical ones
plot(Y_std - Y1_w_std', '.b') % plot empirical differences for Jos function
hold on
plot(Y_std - Y2_w_std', '.r') % plot empirical differences for Gianluca Dorini's function

%%%%%%%%%%%%%%%%%

It looks as though both functions statistically behave very well. They are both excellent functions. Thank you.

04 Sep 2009 RANDP Random integers with given probabilities ( (v2.0) Author: Jos

Wow, it really is a nice function, very fast and efficient. It is exactly what I was looking for. Thank you.

17 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi

Sorry about that. Yes, you need the Statistics Toolbox, I forgot to mention it. Thank you for reminding. I ignore if percentiles can be computed efficiently otherwise.

Comments and Ratings on Francesco's Files View all
Updated File Comment by Comments Rating
17 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi Pozzi, Francesco

Sorry about that. Yes, you need the Statistics Toolbox, I forgot to mention it. Thank you for reminding. I ignore if percentiles can be computed efficiently otherwise.

16 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi Schwanghart, Wolfgang

prctile is part of the statistics toolbox. You forgot to mention this.

16 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi OH

??? Undefined function or method 'prctile' for input arguments of type
'double'.

Error in ==> corrperc at 201
  corrsperc = prctile(corrs_temp, perc)';

Top Tags Applied by Francesco
statistics, correlation, probability, atkinson, bootstrap
Files Tagged by Francesco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Feb 2009 Screenshot Inequality Package Inequality Metrics: Gini Coefficient associated to the Lorenz Curve, Theil and Atkinson Indexes Author: Francesco Pozzi lorenz curve, theil, statistics, inequality, atkinson, probability 269 0
14 Jan 2009 Correlation Percentiles CORRPERC estimates percentiles & standard deviations of a correlation matrix, performing a bootstrap Author: Francesco Pozzi bootstrap, correlation, standard deviation, statistics, percentiles 193 3
06 Jan 2009 Download the entire archive of mp3 and zip files from Project Gutenberg Some very rudimental functions for downloading all mp3 & zip files from Project Gutenberg Author: Francesco Pozzi data import 217 0
09 Dec 2008 Fast Correlation between two vectors fastcorrelation is a fast and numerically stable algorithm for computing the correlation (in C) Author: Francesco Pozzi correlation, vectors, algorithm 217 0
08 Nov 2008 Screenshot Analytical solution for Orthogonal Linear Least Squares in two dimensions The function returns the Orthogonal Linear Least Squares estimate for parameters of line ax+by+c=0 Author: Francesco Pozzi statistics, least squares, orthogonal linear lea..., probability, econometrics, orthogonal least squa... 252 0
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com