Exploring the variable of interest (weekly wage) and one of the covariates with highest correlation to wage, IQ, you can see that wage is concentrated in amounts below USD 2’000, with some values going up to over 3’000, while smarter people seem to make more money: as IQ increases, you find more observations in the upper right corner, indicating higher salaries.
P(B != 0 | Y) model 1 model 2 model 3 model 4 model 5
Intercept 1.000 1.000 1.000 1.000 1.000 1.000
hours 0.855 1.000 1.000 1.000 1.000 1.000
iq 0.897 1.000 1.000 1.000 1.000 1.000
kww 0.348 0.000 0.000 0.000 1.000 0.000
educ 0.999 1.000 1.000 1.000 1.000 1.000
exper 0.710 0.000 1.000 1.000 1.000 0.000
tenure 0.704 1.000 1.000 1.000 1.000 1.000
age 0.525 1.000 1.000 0.000 0.000 1.000
married1 0.999 1.000 1.000 1.000 1.000 1.000
black1 0.346 0.000 0.000 0.000 0.000 1.000
south1 0.320 0.000 0.000 0.000 0.000 0.000
urban1 1.000 1.000 1.000 1.000 1.000 1.000
sibs 0.042 0.000 0.000 0.000 0.000 0.000
brthord 0.122 0.000 0.000 0.000 0.000 0.000
meduc 0.573 1.000 1.000 1.000 1.000 1.000
feduc 0.233 0.000 0.000 0.000 0.000 0.000
BF NA 1.000 0.522 0.518 0.441 0.413
PostProbs NA 0.046 0.024 0.024 0.020 0.019
R2 NA 0.271 0.277 0.270 0.276 0.276
dim NA 9.000 10.000 9.000 10.000 10.000
logmarg NA -1490.053 -1490.703 -1490.710 -1490.871 -1490.938
[1] "Intercept" "hours" "iq" "kww" "educ" "exper"
[7] "tenure" "age" "married1" "urban1" "meduc"
If your objective is to learn which is the most likely model to generate the data using a 0/1 loss, aother way is to identify the variables using the Highest Probability Model (HPM).
[1] "Intercept" "hours" "iq" "educ" "tenure" "age"
[7] "married1" "urban1" "meduc"
Yet another way is the Median Probability Model (MPM).
[1] "Intercept" "hours" "iq" "educ" "exper" "tenure"
[7] "age" "married1" "urban1" "meduc"
You can then answer questions such as: what characteristics lead to the highest wages in the BPM model? The highest predicted weekly wage / earnings in US dollars using the Best Predictive Model turns out to be USD 1’570 with a 95% chance (i.e. 95% credible interval) that this amount varies between 782 and 3’154 US Dollars. The highest wage applies to someone aged 37, married, living in an urban area, with an IQ of 127, with 16 years of education and of work experience, from which 12 with current employer. This person is not black and does not live in the Southern USA.
2.5% 97.5% pred
782.0093 3154.0842 1570.5169
Rows: 1
Columns: 17
$ wage <int> 1586
$ hours <int> 40
$ iq <int> 127
$ kww <int> 48
$ educ <int> 16
$ exper <int> 16
$ tenure <int> 12
$ age <int> 37
$ married <fct> 1
$ black <fct> 0
$ south <fct> 0
$ urban <fct> 1
$ sibs <int> 4
$ brthord <int> 4
$ meduc <int> 16
$ feduc <int> 16
$ lwage <dbl> 7.36897