qhat_gam {drpop} | R Documentation |
Estimate marginal and joint distribution of lists j and k using generalized additive models.
Description
Estimate marginal and joint distribution of lists j and k using generalized additive models.
Usage
qhat_gam(List.train, List.test, K = 2, j = 1, k = 2, margin = 0.005, ...)
Arguments
List.train |
The training data matrix used to estimate the distibution functions. |
List.test |
The data matrix on which the estimator function is applied. |
K |
The number of lists in the data. |
j |
The first list that is conditionally independent. |
k |
The second list that is conditionally independent. |
margin |
The minimum value the estimates can attain to bound them away from zero. |
... |
Any extra arguments passed into the function. |
Value
A list of the marginal and joint distribution probabilities q1
, q2
and q12
.
References
Trevor Hastie (2020). gam: Generalized Additive Models. R package version 1.20. https://CRAN.R-project.org/package=gam
Examples
## Not run:
qhat = qhat_gam(List.train = List.train, List.test = List.test, margin = 0.005)
q1 = qhat$q1
q2 = qhat$q2
q12 = qhat$q12
## End(Not run)
[Package drpop version 0.0.3 Index]