bayesmatch_cpp: Rcpp implementation for Bayesian SVM.

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/RcppExports.R

Description

bayesmatch_cpp is the Rcpp object that fits the Bayesian SVM. Primarily for internal use.

Usage

1
2
3
4
	bayesmatch_cpp(X0, boldX0, lambda0, treat0, total_gibbs0, thin0,
                 param0, dv0, nu0, burnin0)

	

Arguments

X0

Scaled covariate matrix.

boldX0

Scaled and transformed covariate matrix.

lambda0

Vector of initial weights for each observation

treat0

Binary treatment vector.

total_gibbs0

Number of posterior draws to save.

thin0

Number of draws to thin.

param0

No longer used. Set to 0.

dv0

Outcome variable.

nu0

Initial estimate for prior weight.

burnin0

Number of posterior draws discarded.

Details

Internal function.

Author(s)

Marc Ratkovic

References

Ratkovic, Marc. 2014. "Balancing within the Margin: Causal Effect Estimation with Support Vector Machines." Working paper.

See Also

svmmatch

Examples

1
## See svmmatch() for implementation.

Example output



SVMMatch documentation built on May 2, 2019, 6:34 a.m.