Matlab Codes
- Statistical Plotting
- betaplot.m code to plot a beta probability distribution
- binoplot.m code to plot a binomial probability distribution
- cauchyplot.m code to plot a cauchy probability distribution
- chi2plot.m code to plot a chi square probability distribution
- densityxy.m code to plot the density contours of a
scatterplot (by Christopher Keane)
- expplot.m code to plot an exponential probability distribution
- gammaplot.m code to plot a gamma probability distribution
- KaplanMaier.m code to plot a Kaplan Maier curve, given some
inputs
- logistic.m
code to plot a logistic probability distribution
- normplot.m code to plot a normal probability distribution
- npplot.m code for an interactive normal probability plot of a data vector
x
- pltdens.m code to draw a nonparametric density estimate (by Anders
Holtsberg)
- poissplot.m code to plot a poisson probability distribution
- tplot.m code to plot a Student t probability distribution
- Descriptive Statistics
- cv.m
code to calculate the Variation Coefficient for a vector
- delta.m
gives the mean squared differences for a vector X
- devscomp.m code to calculate Deviance Decompisition
- duminv.m Take a 0-1 matrix and assign the value j whenever there is a 1 on
row i and coloumn j
- indip.m code to analyse statistical independence for a data matrix
- lorenz.m handles the coefficients p(i) and q(i), calculates the ratio of
concentration, R and finally the area of concentration of a given vector
X. It also handles a plot of the Lorenz graph
- lorenzn.m handles the coefficients p(i) and q(i), calculates the ratio of
concentration, R and finally the area of concentration of a given vector
X with frequency distribution specified in vector n
- mds.m
code to run a multidimensional scaling analysis
- Utility & Exercises
- cauchrnd.m samples from a cauchy distribution as ratio of two independent
N(0,1)
- clh.m
clears all and goes home
- dblexrnd.m samples from a double exponential distribution
- exl_getmat.m Import an Excel spreadsheet into a Matlab
matrix
- exl_setmat.m Export a Matlab matrix into an Excel
spreadsheet
- invgmrnd.m samples from an inverse gamma distribution
- prtornd.m samples from a pareto distribution by means of a probit
- binomial_experiment.m Shows how the Bayesian approach work for
a discrete experiment - interactive tool
Main page CV Current
Research
Publications Perso