# SVMACHINES: Stata module providing Support Vector Machines for both Classification and Regression

*Nick Guenther* () and
*Matthias Schonlau* ()

Additional contact information

Nick Guenther: University of Waterloo

Matthias Schonlau: University of Waterloo

Statistical Software Components from Boston College Department of Economics

**Abstract:**
svmachines fits a support vector machine (SVM) model. SVM is not one, but several, variant models each based upon the principles of splitting hyperplanes and the culling of unimportant observations. The basic SVM idea is to find a linear boundary--a hyperplane--in high-dimensional space: for classification, this is a boundary between two classes; for regression it is a line near which points should be--much like in OLS, while simultaneously minimizing the number of observations required to distinguish this hyperplane. The unimportant observations are ignored after fitting is done, which makes SVM very memory efficient. Each observation can be thought of as a vector, so the support vectors are those observations which the algorithm deems critical to the fit.

**Language:** Stata

**Requires:** Stata version 13

**Date:** 2018-11-17, Revised 2022-03-21

**Note:** This module should be installed from within Stata by typing "ssc install svmachines". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.

**References:** Add references at CitEc

**Citations:** Track citations by RSS feed

**Downloads:** (external link)

http://fmwww.bc.edu/repec/bocode/s/svmachines.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svmachines.sthlp help file (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svmlight.sthlp help file (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_ensurelib.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_predict.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/_/_svm_model2stata.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/_/_svm_train.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_binary_classification_example.do program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_class_probability_example.do program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_multiclass_classification_example.do program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_regression_example.do program code (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svmachines_example.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/i/import_svmlight.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/i/import_svmlight.sthlp help file (text/plain)

http://fmwww.bc.edu/repec/bocode/s/svm_examples.ihlp help file (text/plain)

http://fmwww.bc.edu/repec/bocode/e/export_svmlight.ado program code (text/plain)

http://fmwww.bc.edu/repec/bocode/e/export_svmlight.sthlp help file (text/plain)

http://fmwww.bc.edu/repec/bocode/a/attitude_indicators.dta sample data file (application/x-stata)

http://fmwww.bc.edu/repec/bocode/_/_svm_dlopenable_LINUX64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_dlopenable_MACARM64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_dlopenable_MACINTEL64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_dlopenable_WIN64A.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_getenv_LINUX64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_getenv_MACARM64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_getenv_MACINTEL64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_getenv_WIN64A.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_setenv_LINUX64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_setenv_MACARM64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_setenv_MACINTEL64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svm_setenv_WIN64A.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmachines_LINUX64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmachines_MACARM64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmachines_MACINTEL64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmachines_WIN64A.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmlight_LINUX64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmlight_MACARM64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmlight_MACINTEL64.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/_/_svmlight_WIN64A.plugin binary plugin

http://fmwww.bc.edu/repec/bocode/l/libsvm_WIN64A.dll binary link library

http://fmwww.bc.edu/repec/bocode/l/libsvm_MACARM64.dylib binary link library

http://fmwww.bc.edu/repec/bocode/l/libsvm_MACINTEL64A.dylib binary link library

**Our link check indicates that this URL is bad, the error code is: 404 Not Found**

**Related works:**

This item may be available elsewhere in EconPapers: Search for items with the same title.

**Export reference:** BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text

**Persistent link:** https://EconPapers.repec.org/RePEc:boc:bocode:s458564

**Ordering information:** This software item can be ordered from

http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.

Bibliographic data for series maintained by Christopher F Baum ().