# NOT RUN {
# estimate a probit model using example data
library(UPG)
data(lfp)
y = lfp[,1]
X = lfp[,-1]
results.probit = UPG(y = y, X = X, type = "probit", verbose=TRUE)
# basic summary of regression results
summary(results.probit)
# generate a LaTeX table with subset of variables and custom names
summary(results.probit,
include=c(1,3),
names=c("V. kept 1", "V. kept 3"),
table="latex")
# }
Run the code above in your browser using DataLab