Template-Type: ReDIF-Paper 1.0 Author-Name: Cathrine Ulla Jensen Author-Name-First: Cathrine Ulla Author-Name-Last: Jensen Author-Email: cuj@ifro.ku.dk Author-Workplace-Name: Department of Food and Resource Economics, University of Copenhagen Author-Name: Toke Emil Panduro Author-Name-First: Toke Emil Author-Name-Last: Panduro Author-Email: tepp@ifro.ku.dk Author-Workplace-Name: Department of Food and Resource Economics, University of Copenhagen Title: PanJen: A test for functional form with continuous variables Abstract: PanJen provides users the opportunity to explore the relationship between a dependent variable and its covariates with minimal restrictions. The package offers an easy and data-driven way to choose a functional form in multiple linear regression models by comparing a range of parametric transformations. The parametric functional forms are benchmarked with a non-parametric smoothed relationship. The package allows users to generate plots that show the functional form relationship between the explanatory variable and the dependent variable. Furthermore, PanJen allows users to specify specific functional transformations, driven by an a priori and theory-based hypothesis. The plots and model fit metrics enable users to make an informed choice of how to specify the functional form the regression. We show that the PanJen ranking outperforms the Box-Tidwell transformation, especially in the presence of inefficiency, heteroscedasticity or endogeneity. Length: 19 pages Creation-Date: 2016-10 File-URL: http://okonomi.foi.dk/workingpapers/WPpdf/WP2016/IFRO_WP_2016_08.pdf File-Format: Application/pdf Number: 2016/08 Classification-JEL: C01, C52 Keywords: linear regression, functional form, semi-parametric Handle: RePEc:foi:wpaper:2016_08