Model Selection in R

Total Page:16

File Type:pdf, Size:1020Kb

Model Selection in R Model Selection in R Charles J. Geyer October 28, 2003 This used to be a section of my master’s level theory notes. It is a bit overly theoretical for this R course. Just think of it as an example of literate programming in R using the Sweave function. You don’t have to absorb all the theory, although it is there for your perusal if you are interested. This discusses the problem of choosing among many models. Although our examples will be regression problems and some of the discussion and methods will be specific to linear regression, the problem is general. When many models are under consideration, how does one choose the best? Thus we also discuss methods that apply outside the regression context. There are two main issues. • Non-nested models • Many models. The only methods for model comparison we have studied, the F test for com- parison of linear regression models and the likelihood ratio test for comparison of general models, are valid only for comparing two nested models. We also want to test non-nested models, and for that we need new theory. When more than two models are under consideration, the issue of correction for multiple testing arises. If there are only a handful of models, Bonferroni correction (or some similar procedure) may suffice. When there are many models, a conser- vative correction like Bonferroni is too conservative. Let’s consider how many models might be under consideration in a model selection problem. Consider a regression problem with k predictor variables. • [Almost the worst case] There are 2k possible submodels formed by choosing a subset of the k predictors to include in the model (because a set with k elements has 2k subsets). • [Actually the worst case] That doesn’t consider all the new predictors that one might“make up”using functions of the old predictors. Thus there are potentially infinitely many models under consideration. Bonferroni correction for infinitely many tests is undefined. Even for 2k tests with k large, Bonferroni is completely pointless. It would make nothing statis- tically significant. 1 1 Overfitting Least squares is good for model fitting, but useless for model selec- tion. Why? A bigger model always has a smaller residual sum of squares, just because a minimum taken over a larger set is smaller. Thus least squares, taken as a criterion for model selection says “always choose the biggest model.” But this is silly. Consider what the principle of choosing the biggest model says about polynomial regression. Example 1 (Overfitting in Polynomial Regression). Consider the regression data in the file ex12.7.1.dat in this directory, which is read by > X <- read.table("ex12.7.1.dat", header = TRUE) > names(X) [1] "x" "y" > attach(X) The“simple”linear regression is done and a plot made (Figure 1) by the following > par(mar = c(5, 4, 1, 1) + 0.1) > plot(x, y) > out <- lm(y ~ x) > abline(out) Couldn’t ask for nicer data for simple linear regression. The data appear to fit the “simple” model (one non-constant predictor, which we take to be x itself). But now consider what happens when we try to be a bit more sophisticated. How do we know that the “simple” model is o. k.? Perhaps we should consider some more complicated models. How about trying polynomial regression? But if we consider all possible polynomial models, that’s an infinite number of models (polynomials of all orders). Although an infinite number of models are potentially under consideration, the fact that the data set is finite limits the number of models that actually need to be considered to a finite subset. You may recall from algebra that any set of n points in the plane having n different x values can be interpolated (fit exactly) by a polynomial of degree n − 1. A polynomial that fits exactly has residual sum of squares zero (fits perfectly). Can’t do better than that by the least squares criterion! Thus all polynomials of degree at least n − 1 will give the same fitted values and zero residual sum of squares. Although they may give different predicted values for x values that do not occur in the data, they give the same predicted values at those that do. Hence the polynomials with degree at least n − 1 cannot be distinguished by least squares. In fact 2 ● ● 10 ● 8 ● ● 6 ● y 4 ● ● 2 ● ● 0 2 4 6 8 10 x Figure 1: Some regression data. With fitted “simple” regression function of the form y =α ˆ + βxˆ . 3 the polynomials with degree more than n − 1 cannot be fit at all, because they have more parameters than there are equations to determine them. X0X is a singular matrix and cannot inverted to give unique estimates of the regression coefficients. This is a general phenomenon, which occurs in all settings, not just with linear regression. Models with more parameters than there are data points are underdetermined. Many different parameter vectors give the same likelihood, or the same empirical moments for the method of moments, or the same for whatever criterion is being used for parameter estimation. Thus in general, even when an infinite number of models are theoretically under consideration, only n models are practically under consideration, where n is the sample size. Hence the “biggest model” that the least squares criterion selects is the poly- nomial of degree n − 1. What does it look like? The following code fits this model > out.poly <- lm(y ~ poly(x, 9)) > summary(out.poly) Call: lm(formula = y ~ poly(x, 9)) Residuals: ALL 10 residuals are 0: no residual degrees of freedom! Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 5.6974 poly(x, 9)1 10.4359 poly(x, 9)2 -0.6243 poly(x, 9)3 -0.8362 poly(x, 9)4 1.1783 poly(x, 9)5 -0.7855 poly(x, 9)6 0.1269 poly(x, 9)7 -1.3901 poly(x, 9)8 -0.4744 poly(x, 9)9 -1.0935 Residual standard error: NaN on 0 degrees of freedom Multiple R-Squared: 1, Adjusted R-squared: NaN F-statistic: NaN on 9 and 0 DF, p-value: NA (Note the zero residual degrees of freedom. That’s the overfitting!) Then > par(mar = c(5, 4, 1, 1) + 0.1) > plot(x, y) > curve(predict(out.poly, data.frame(x = x)), add = TRUE) > abline(out, lty = 2) 4 ● ● 10 ● 8 ● ● 6 ● y 4 ● ● 2 ● ● 0 2 4 6 8 10 x Figure 2: Some regression data. With fitted linear regression function (dashed line) and ninth degree polynomial regression function (solid curve). See also Figure 3. plots the two regression functions for our fits (Figure 2) the best fitting (perfectly fitting!) polynomial of degree n − 1 = 9 and the least squares regression line from the other figure. How well does the biggest model do? It fits the observed data perfectly, but it’s hard to believe that it would fit new data from the same population as well. The extreme oscillations near the ends of the range of the data are obviously nonsensical, but even the smaller oscillations in the middle seem to be tracking random noise rather than any real features of the population regression function. Of course, we don’t actually know what the true population regression function is. It could be either of the two functions graphed in the figure, or it could be some other function. But it’s hard to believe, when the linear function fits so well, that something as complicated as the ninth degree polynomial is close to the true regression function. We say it “overfits” the data, meaning it’s too close to the data and not close enough to the true population regression function. Let’s try again on Figure 2. Perhaps we would like to see the extent of those big oscillations. Something like this should do it. 5 20 15 ● ● 10 ● ● ● y ● 5 ● ● ● ● 0 −5 2 4 6 8 10 x Figure 3: Same as Figure 2 except for greater vertical extent. > par(mar = c(5, 4, 1, 1) + 0.1) > xx <- seq(min(x), max(x), length = 1000) > yy <- predict(out.poly, data.frame(x = xx)) > plot(x, y, ylim = range(yy)) > curve(predict(out.poly, data.frame(x = x)), add = TRUE) > abline(out, lty = 2) The result is shown in Figure 3. 2 Mean Square Error So what criterion should we use for model selection if residual sum of squares is no good? One theoretical criterion is mean square error. In the regression setting, it is unclear what quantities mean square error should apply to. Do we use the mean square error of the parameter estimates? We haven’t even defined mean square error for vector quantities. That alone suggests we should avoid looking at MSE of regression coefficients. There is also our slogan that regression coefficients are meaningless. Hence we should look at estimates of 6 the regression function. But here too, there are still issues that need to be clarified. The regression function h(x) = E(Y | x) is a scalar function of x. (Hence we don’t need to worry about MSE of a vector quantity). But it is a function of the predictor value x. 2 mse{hˆ(x)} = variance + bias2 = var{hˆ(x)} + E{hˆ(x)} − h(x) (1) where h(x) is the true population regression function and hˆ(x) is an estimate (we are thinking of least squares regression estimates, but (1) applies to any estimate). (“Bias?” did I hear someone say? Aren’t linear regression estimates unbiased? Yes, they are when the model is correct.
Recommended publications
  • Model Selection for Optimal Prediction in Statistical Machine Learning
    Model Selection for Optimal Prediction in Statistical Machine Learning Ernest Fokou´e Introduction science with several ideas from cognitive neuroscience and At the core of all our modern-day advances in artificial in- psychology to inspire the creation, invention, and discov- telligence is the emerging field of statistical machine learn- ery of abstract models that attempt to learn and extract pat- ing (SML). From a very general perspective, SML can be terns from the data. One could think of SML as a field thought of as a field of mathematical sciences that com- of science dedicated to building models endowed with bines mathematics, probability, statistics, and computer the ability to learn from the data in ways similar to the ways humans learn, with the ultimate goal of understand- Ernest Fokou´eis a professor of statistics at Rochester Institute of Technology. His ing and then mastering our complex world well enough email address is [email protected]. to predict its unfolding as accurately as possible. One Communicated by Notices Associate Editor Emilie Purvine. of the earliest applications of statistical machine learning For permission to reprint this article, please contact: centered around the now ubiquitous MNIST benchmark [email protected]. task, which consists of building statistical models (also DOI: https://doi.org/10.1090/noti2014 FEBRUARY 2020 NOTICES OF THE AMERICAN MATHEMATICAL SOCIETY 155 known as learning machines) that automatically learn and Theoretical Foundations accurately recognize handwritten digits from the United It is typical in statistical machine learning that a given States Postal Service (USPS). A typical deployment of an problem will be solved in a wide variety of different ways.
    [Show full text]
  • Linear Regression: Goodness of Fit and Model Selection
    Linear Regression: Goodness of Fit and Model Selection 1 Goodness of Fit I Goodness of fit measures for linear regression are attempts to understand how well a model fits a given set of data. I Models almost never describe the process that generated a dataset exactly I Models approximate reality I However, even models that approximate reality can be used to draw useful inferences or to prediction future observations I ’All Models are wrong, but some are useful’ - George Box 2 Goodness of Fit I We have seen how to check the modelling assumptions of linear regression: I checking the linearity assumption I checking for outliers I checking the normality assumption I checking the distribution of the residuals does not depend on the predictors I These are essential qualitative checks of goodness of fit 3 Sample Size I When making visual checks of data for goodness of fit is important to consider sample size I From a multiple regression model with 2 predictors: I On the left is a histogram of the residuals I On the right is residual vs predictor plot for each of the two predictors 4 Sample Size I The histogram doesn’t look normal but there are only 20 datapoint I We should not expect a better visual fit I Inferences from the linear model should be valid 5 Outliers I Often (particularly when a large dataset is large): I the majority of the residuals will satisfy the model checking assumption I a small number of residuals will violate the normality assumption: they will be very big or very small I Outliers are often generated by a process distinct from those which we are primarily interested in.
    [Show full text]
  • Scalable Model Selection for Spatial Additive Mixed Modeling: Application to Crime Analysis
    Scalable model selection for spatial additive mixed modeling: application to crime analysis Daisuke Murakami1,2,*, Mami Kajita1, Seiji Kajita1 1Singular Perturbations Co. Ltd., 1-5-6 Risona Kudan Building, Kudanshita, Chiyoda, Tokyo, 102-0074, Japan 2Department of Statistical Data Science, Institute of Statistical Mathematics, 10-3 Midori-cho, Tachikawa, Tokyo, 190-8562, Japan * Corresponding author (Email: [email protected]) Abstract: A rapid growth in spatial open datasets has led to a huge demand for regression approaches accommodating spatial and non-spatial effects in big data. Regression model selection is particularly important to stably estimate flexible regression models. However, conventional methods can be slow for large samples. Hence, we develop a fast and practical model-selection approach for spatial regression models, focusing on the selection of coefficient types that include constant, spatially varying, and non-spatially varying coefficients. A pre-processing approach, which replaces data matrices with small inner products through dimension reduction dramatically accelerates the computation speed of model selection. Numerical experiments show that our approach selects the model accurately and computationally efficiently, highlighting the importance of model selection in the spatial regression context. Then, the present approach is applied to open data to investigate local factors affecting crime in Japan. The results suggest that our approach is useful not only for selecting factors influencing crime risk but also for predicting crime events. This scalable model selection will be key to appropriately specifying flexible and large-scale spatial regression models in the era of big data. The developed model selection approach was implemented in the R package spmoran. Keywords: model selection; spatial regression; crime; fast computation; spatially varying coefficient modeling 1.
    [Show full text]
  • Model Selection Techniques: an Overview
    Model Selection Techniques An overview ©ISTOCKPHOTO.COM/GREMLIN Jie Ding, Vahid Tarokh, and Yuhong Yang n the era of big data, analysts usually explore various statis- following different philosophies and exhibiting varying per- tical models or machine-learning methods for observed formances. The purpose of this article is to provide a compre- data to facilitate scientific discoveries or gain predictive hensive overview of them, in terms of their motivation, large power. Whatever data and fitting procedures are employed, sample performance, and applicability. We provide integrated Ia crucial step is to select the most appropriate model or meth- and practically relevant discussions on theoretical properties od from a set of candidates. Model selection is a key ingredi- of state-of-the-art model selection approaches. We also share ent in data analysis for reliable and reproducible statistical our thoughts on some controversial views on the practice of inference or prediction, and thus it is central to scientific stud- model selection. ies in such fields as ecology, economics, engineering, finance, political science, biology, and epidemiology. There has been a Why model selection long history of model selection techniques that arise from Vast developments in hardware storage, precision instrument researches in statistics, information theory, and signal process- manufacturing, economic globalization, and so forth have ing. A considerable number of methods has been proposed, generated huge volumes of data that can be analyzed to extract useful information. Typical statistical inference or machine- learning procedures learn from and make predictions on data Digital Object Identifier 10.1109/MSP.2018.2867638 Date of publication: 13 November 2018 by fitting parametric or nonparametric models (in a broad 16 IEEE SIGNAL PROCESSING MAGAZINE | November 2018 | 1053-5888/18©2018IEEE sense).
    [Show full text]
  • Least Squares After Model Selection in High-Dimensional Sparse Models.” DOI:10.3150/11-BEJ410SUPP
    Bernoulli 19(2), 2013, 521–547 DOI: 10.3150/11-BEJ410 Least squares after model selection in high-dimensional sparse models ALEXANDRE BELLONI1 and VICTOR CHERNOZHUKOV2 1100 Fuqua Drive, Durham, North Carolina 27708, USA. E-mail: [email protected] 250 Memorial Drive, Cambridge, Massachusetts 02142, USA. E-mail: [email protected] In this article we study post-model selection estimators that apply ordinary least squares (OLS) to the model selected by first-step penalized estimators, typically Lasso. It is well known that Lasso can estimate the nonparametric regression function at nearly the oracle rate, and is thus hard to improve upon. We show that the OLS post-Lasso estimator performs at least as well as Lasso in terms of the rate of convergence, and has the advantage of a smaller bias. Remarkably, this performance occurs even if the Lasso-based model selection “fails” in the sense of missing some components of the “true” regression model. By the “true” model, we mean the best s-dimensional approximation to the nonparametric regression function chosen by the oracle. Furthermore, OLS post-Lasso estimator can perform strictly better than Lasso, in the sense of a strictly faster rate of convergence, if the Lasso-based model selection correctly includes all components of the “true” model as a subset and also achieves sufficient sparsity. In the extreme case, when Lasso perfectly selects the “true” model, the OLS post-Lasso estimator becomes the oracle estimator. An important ingredient in our analysis is a new sparsity bound on the dimension of the model selected by Lasso, which guarantees that this dimension is at most of the same order as the dimension of the “true” model.
    [Show full text]
  • Model Selection and Estimation in Regression with Grouped Variables
    J. R. Statist. Soc. B (2006) 68, Part 1, pp. 49–67 Model selection and estimation in regression with grouped variables Ming Yuan Georgia Institute of Technology, Atlanta, USA and Yi Lin University of Wisconsin—Madison, USA [Received November 2004. Revised August 2005] Summary. We consider the problem of selecting grouped variables (factors) for accurate pre- diction in regression. Such a problem arises naturally in many practical situations with the multi- factor analysis-of-variance problem as the most important and well-known example. Instead of selecting factors by stepwise backward elimination, we focus on the accuracy of estimation and consider extensions of the lasso, the LARS algorithm and the non-negative garrotte for factor selection. The lasso, the LARS algorithm and the non-negative garrotte are recently proposed regression methods that can be used to select individual variables. We study and propose effi- cient algorithms for the extensions of these methods for factor selection and show that these extensions give superior performance to the traditional stepwise backward elimination method in factor selection problems.We study the similarities and the differences between these methods. Simulations and real examples are used to illustrate the methods. Keywords: Analysis of variance; Lasso; Least angle regression; Non-negative garrotte; Piecewise linear solution path 1. Introduction In many regression problems we are interested in finding important explanatory factors in pre- dicting the response variable, where each explanatory factor may be represented by a group of derived input variables. The most common example is the multifactor analysis-of-variance (ANOVA) problem, in which each factor may have several levels and can be expressed through a group of dummy variables.
    [Show full text]
  • Model Selection for Production System Via Automated Online Experiments
    Model Selection for Production System via Automated Online Experiments Zhenwen Dai Praveen Ravichandran Spotify Spotify [email protected] [email protected] Ghazal Fazelnia Ben Carterette Mounia Lalmas-Roelleke Spotify Spotify Spotify [email protected] [email protected] [email protected] Abstract A challenge that machine learning practitioners in the industry face is the task of selecting the best model to deploy in production. As a model is often an intermedi- ate component of a production system, online controlled experiments such as A/B tests yield the most reliable estimation of the effectiveness of the whole system, but can only compare two or a few models due to budget constraints. We propose an automated online experimentation mechanism that can efficiently perform model se- lection from a large pool of models with a small number of online experiments. We derive the probability distribution of the metric of interest that contains the model uncertainty from our Bayesian surrogate model trained using historical logs. Our method efficiently identifies the best model by sequentially selecting and deploying a list of models from the candidate set that balance exploration-exploitation. Using simulations based on real data, we demonstrate the effectiveness of our method on two different tasks. 1 Introduction Evaluating the effect of individual changes to machine learning (ML) systems such as choice of algorithms, features, etc., is the key to growth in many internet services and industrial applications. Practitioners are faced with the decision of choosing one model from several candidates to deploy in production. This can be viewed as a model selection problem. Classical model selection paradigms such as cross-validation consider ML models in isolation and focus on selecting the model with the best predictive power on unseen data.
    [Show full text]
  • Optimal Predictive Model Selection
    The Annals of Statistics 2004, Vol. 32, No. 3, 870–897 DOI: 10.1214/009053604000000238 c Institute of Mathematical Statistics, 2004 OPTIMAL PREDICTIVE MODEL SELECTION1 By Maria Maddalena Barbieri and James O. Berger Universit`aRoma Tre and Duke University Often the goal of model selection is to choose a model for future prediction, and it is natural to measure the accuracy of a future prediction by squared error loss. Under the Bayesian approach, it is commonly perceived that the optimal predictive model is the model with highest posterior probability, but this is not necessarily the case. In this paper we show that, for selection among normal linear models, the optimal predictive model is often the median probability model, which is defined as the model consisting of those variables which have overall posterior probability greater than or equal to 1/2 of being in a model. The median probability model often differs from the highest probability model. 1. Introduction. Consider the usual normal linear model (1) y = Xβ + ε, where y is the n × 1 vector of observed values of the response variable, X is the n × k (k<n) full rank design matrix of covariates, and β is a k × 1 vector of unknown coefficients. We assume that the coordinates of the random error vector ε are independent, each with a normal distribution with mean 0 and common variance σ2 that can be known or unknown. The least squares estimator for this model is thus β = (X′X)−1X′y. Equation (1) will be called the full model, and we consider selection from among submodels of the form b (2) Ml : y = Xlβl + ε, where l = (l1, l2,...,lk) is the model index, li being either 1 or 0 as covariate arXiv:math/0406464v1 [math.ST] 23 Jun 2004 xi is in or out of the model (or, equivalently, if βi is set equal to zero); Xl Received January 2002; revised April 2003.
    [Show full text]
  • Model Selection in Regression: Application to Tumours in Childhood
    Current Trends on Biostatistics & L UPINE PUBLISHERS Biometrics Open Access DOI: 10.32474/CTBB.2018.01.000101 ISSN: 2644-1381 Review Article Model Selection in Regression: Application to Tumours in Childhood Annah Managa* Department of Statistics, University of South Africa, South Africa Received: August 23, 2018; Published: September 10, 2018 *Corresponding author: Annah Managa, Department of Statistics, University of South Africa, South Africa Summary 2 We give a chronological review2 of the major model selection2 methods that have been proposed from circa 1960. These model multiple determination (Adj R ), Estimate of Error Variance (S p Schwarzselection criterion procedures (BIC). include Some Residual of these meanmethods square are appliederror (MSE), to a problem coefficient of developing of multiple a determination model for predicting (R ), adjusted tumors coefficientin childhood of using log-linear models. The theoretical review will discuss the), problem Stepwise of methods, model selection Mallow’s in C a ,general Akaike setting.information The applicationcriterion (AIC), will be applied to log-linear models in particular. 2 2 2 Keywords: MSE; R ; Adj R ; (S ); Stepwise methods; Cp; AIC; BIC Introduction there was huge spate of proposals to deal with the model Historical Development The problem of model selection is at the core of progress systematic development of frequentist criteria-based model in science. Over the decades, scientists have used various selection problem. Linhart and Zucchini (1986) provided a selection methods for a variety of typical situations that statistical tools to select among alternative models of data. arise in practice. These included the selection of univariate A common challenge for the scientist is the selection of the probability distributions, the regression setting, the analysis of variance and covariance, the analysis of contingency tables, criterion.
    [Show full text]
  • Statistical Modeling Methods: Challenges and Strategies
    Biostatistics & Epidemiology ISSN: 2470-9360 (Print) 2470-9379 (Online) Journal homepage: https://www.tandfonline.com/loi/tbep20 Statistical modeling methods: challenges and strategies Steven S. Henley, Richard M. Golden & T. Michael Kashner To cite this article: Steven S. Henley, Richard M. Golden & T. Michael Kashner (2019): Statistical modeling methods: challenges and strategies, Biostatistics & Epidemiology, DOI: 10.1080/24709360.2019.1618653 To link to this article: https://doi.org/10.1080/24709360.2019.1618653 Published online: 22 Jul 2019. Submit your article to this journal Article views: 614 View related articles View Crossmark data Full Terms & Conditions of access and use can be found at https://www.tandfonline.com/action/journalInformation?journalCode=tbep20 BIOSTATISTICS & EPIDEMIOLOGY https://doi.org/10.1080/24709360.2019.1618653 Statistical modeling methods: challenges and strategies Steven S. Henleya,b,c, Richard M. Goldend and T. Michael Kashnera,b,e aDepartment of Medicine, Loma Linda University School of Medicine, Loma Linda, CA, USA; bCenter for Advanced Statistics in Education, VA Loma Linda Healthcare System, Loma Linda, CA, USA; cMartingale Research Corporation, Plano, TX, USA; dSchool of Behavioral and Brain Sciences, University of Texas at Dallas, Richardson, TX, USA; eDepartment of Veterans Affairs, Office of Academic Affiliations (10A2D), Washington, DC, USA ABSTRACT ARTICLE HISTORY Statistical modeling methods are widely used in clinical science, Received 13 June 2018 epidemiology, and health services research to
    [Show full text]
  • Model Selection for Linear Models with SAS/STAT Software
    Model Selection for Linear Models with SAS/STAT Software Funda G¨une¸s SAS Institute Inc. Outline Introduction I Analysis 1: Full least squares model Traditional model selection methods I Analysis 2: Traditional stepwise selection Customizing the selection process I Analysis 3{6 Compare analyses 1{6 Penalized regression methods Special methods I Model averaging I Selection for nonparametric models with spline effects 1 / 115 Learning Objectives You will learn: Problems with the tradition selection methods Modern penalty-based methods, including LASSO and adaptive LASSO, as alternatives to traditional methods Bootstrap-based model averaging to reduce selection bias and improve predictive performance You will learn how to: Use model selection diagnostics, including graphics, for detecting problems Use validation data to detect and prevent under-fitting and over-fitting Customize the selection process using the features of the GLMSELECT procedure 2 / 115 Introduction Introduction With improvements in data collection technologies, regression problems that have large numbers of candidate predictor variables occur in a wide variety of scientific fields and business problems. \I've got all these variables, but I don't know which ones to use." Statistical model selection seeks an answer to this question. 3 / 115 Introduction Model Selection and Its Goals Model Selection: Estimating the performance of different models in order to choose the approximate best model. Goals of model selection: Simple and interpretable models Accurate predictions Model selection is often a trade-off between bias and variance. 4 / 115 Introduction Graphical Illustration of Bias and Variance 5 / 115 Introduction Bias-Variance Trade-Off 2 Suppose Y = f (X ) + , where ∼ N(0; σ ).
    [Show full text]
  • The Minimum Message Length Principle for Inductive Inference
    Motivation Coding MML MML87 Example The Minimum Message Length Principle for Inductive Inference Daniel F. Schmidt Centre for Molecular, Environmental, Genetic & Analytic (MEGA) Epidemiology School of Population Health University of Melbourne University of Helsinki, August 25, 2009 Daniel F. Schmidt Minimum Message Length Motivation Coding MML MML87 Example Content 1 Motivation 2 Coding 3 MML 4 MML87 5 Example Daniel F. Schmidt Minimum Message Length Motivation Coding MML MML87 Example Problem n We have observed n data points y = (y1,...,yn) from some unknown, probabilistic source p∗, i.e. yn ∼ p∗ n n where y = (y1,...,yn) ∈ Y . We wish to learn about p∗ from yn. More precisely, we would like to discover the generating source p∗, or at least a good approximation of it, from nothing but yn Daniel F. Schmidt Minimum Message Length Motivation Coding MML MML87 Example Statistical Models To approximate p∗ we will restrict ourself to a set of potential statistical models Informally, a statistical model can be viewed as a conditional probability distribution over the potential dataspace Yn p(yn|θ), θ ∈ Θ where θ = (θ1, . , θk) is a parameter vector that indexes the particular model Such models satisfy p(yn|θ)dyn = 1 n n Zy ∈Y for a fixed θ Daniel F. Schmidt Minimum Message Length Motivation Coding MML MML87 Example Statistical Models ... An example would be the univariate normal distribution. n 2 n n 1 1 2 p(y |θ)= exp − (yi − µ) 2πτ 2τ =1 ! Xi where θ = (µ, τ) are the parameters Yn = Rn Θ = R × R+ Daniel F. Schmidt Minimum Message Length Motivation Coding MML MML87 Example Terminology This talk follows the slight abuse of terminology used by Chris Wallace in calling a member of Θ a model Also referred to as a fully specified model This is because, in the MML framework, there is no real distinction between structural parameters that specify a model class and what are traditional termed the parameter estimates or point estimates Daniel F.
    [Show full text]