As we know, after applying a linear regression model to a continuous data set we carry out a significance test to each parameter $\beta_i$ associated with the predictor variable $x_i$ to check whether the latter contributes to the explanation of the dependent variable $y_i$.
$${{\begin{cases}H_0: \beta_i = 0,\\H_1: \beta_i \neq 0.\end{cases}}}$$
Can we apply the same procedure to a linear SVM classifier? and if so how do we apply it in R?
Here is my code:
library(e1071)
edudata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv")
svm_model <- svm(formula = admit ~ gre + gpa + rank, data = edudata, kernel = "linear", scale = F)
summary(svm_model)
Call:
svm(formula = admit ~ gre + gpa + rank, data = edudata, kernel = "linear",
scale = F)
Parameters:
SVM-Type: eps-regression
SVM-Kernel: linear
cost: 1
gamma: 0.3333333
epsilon: 0.1
Number of Support Vectors: 342
The data:
head(edudata)
A data.frame: 6 × 4 admit gre gpa rank
<int> <int> <dbl> <int>
1 0 380 3.61 3
2 1 660 3.67 3
3 1 800 4.00 1
4 1 640 3.19 4
5 0 520 2.93 4
6 1 760 3.00 2
Thanks in advance.