-
Notifications
You must be signed in to change notification settings - Fork 30
/
Contents.m
71 lines (70 loc) · 2.83 KB
/
Contents.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
% MCMCSTAT toolbox for MCMC statistical analysis
% Version 1.0 2007-08-08
%
% MCMC run and plots
%
% mcmcrun - adaptive Metropolis - Hastings Markov chain Monte Carlo
% mcmcplot - plot mcmc chain
% mcmcpred - predictive calculations from the chain
% chainstats - some statistics of the chain matrix
%
% Convergence diagnostics
%
% cusum - Cusum plot
% geweke - Geweke's MCMC convergence diagnostic
% gewekeplot - Plot Geweke's diagnostic for increasing number of iterations
% psrf - Gelman-Rubin-Brooks potential scale reduction factor
% mpsrf - multivariate potential scale reduction factor
% psrfplot - plot psrf for increasing number of iterations
% hwdiag - Heidelberger-Welch MCMC convergence diagnostics
%
% Statistical functions
% elementary:
% range - range
% iqrange - interquantile range
% covupd - covariance update
% mad - median absolute deviation
% means - summary statistics for columns
% logit - logit transformation
% meantrim - trimmed mean
% plims - empirical quantiles
% binom - binomial coefficient
% cov2cor - covariance matrix into correlation matrix
% covcond - make covariance matrix with given cond number
%
% distributions: probability/density, distribution, quantile, random
% norpf, nordf, norqf, norr - Gaussian
% lognorpf, lognordf, lognorqf, lognorr - lognormal
% gammapf, gammadf, gammaqf, gammar - Gamma
% chipf, chidf, chiqf, chir - Chi squared
% tpf, tdf, tqf, tr - t
% fpf, fdf, fqf, fr - F
% invchipf, invchir - Inverse chi squared
% invchi1pf, invchi1r - Inverse chi
% cauchypf, cauchydf, cauchyqf, cauchyr - Cauchy
% betapf, betadf, betaqf, betar - Beta
% exppf, expdf, expqf, expr - Exponential
% dexppf, dexpdf, dexpr - Laplace (double exponential)
% poipf, poidf, poir - Poisson
% logipf, logidf, logir - Logistic
% extpf, extdf, extr - Extreme value
%
% bootstrap - generate bootstrap sample
%
% plots:
% density - Kernel density estimator
% density2d - 2d kernel estimator
% histp - histogram scaled as probabilities
% pairs - pairs plot
% boxplot - box plot
% qqnor - quantile-quantile plot for normality
% qqplot - general quantile-quantile plot
% xquad - integrate data using Hermite spline
% xyplot - plot two first columns of xy matrix
% removepoints- remove point from a plot
% hline - add horizontal / vertical line
% ellipse - draw an ellipse
% fillxx - fill a space between lines with a color
% fillyy - fill a space between lines with a color
% epsfile - dump figure into an eps file
% beware: not all functions are well tested!