|
Department of Mathematics and Statistics Faculty of Science Faculty of Social Sciences |
BSiZer MATLAB softwareFrom this page you can download MATLAB functions for creating "Bayesian (BSiZer) SiZer" maps.A few technical points:
Matlab functionsi) Standard BSiZer1: Independent observations and fixed design
ii) Extended BSiZer2: Dependent observations and errors in predictors
iii) Model within BSizer3: Realizations from the posterior distributions provided by a problem specific regression model are being used as input for BSizer.
Some tryout data
test_data.mat. Test data: a realization of
X+17*sin(X)+20*sin(.5.*X)+15*randn(1,200), where X=[1:200]. Some toy examples (in the i.i.d. fixed design case)
BSiZer in practiceWe have tried to make BSiZer software as easy to use as possible. Of course, the methodology has various switches and therefore the number of input parameters might seem exhausting. Potentially the most difficult part of a practical data analysis problem is the elicitation of priors necessary for routines (i) and (ii). We have written a separate page about prior selection is BSiZer that is designed mainly for beginners not familiar with the prior distributions used in BSiZer. Problems with a large n (number of data points) can be rather time consuming, especially with simultaneous features and/or dependent observations & errors in predictors. For dependent observations and fixed design or independent observations with errors errors in predictors, editing the program accordingly can be a good idea. Another idea for computationally demanding problems is, of course, to make the preliminary analysis only with a fraction of data and/or with fewer values of \lambda. The default selection of the grid for \lambda is just one possibility. We recommend using your own problem specific grid. This can be found by trial-and-error procedure or, if the desired range of values for smoothing parameter in kernel smoothing is known, then this information can be used together with the approximate connection of kernel and spline smoothing (Green, Silverman: Nonparametric Regression and Generalized Linear Models). DisclaimerThis software is free only for academic and personal use. It must not be modified and distributed without prior permission of the author. The author is not responsible for implications from the use of this software. User agrees that any reports, publications, or other disclosure of results obtained with this software will attribute its use by an appropriate citation:
Last update 18 Mar 2010. Panu Erästö (panu.erasto'at'helsinki.fi) |