A {ipd} | R Documentation |
Calculation of the matrix A based on single dataset
Description
A
function for the calculation of the matrix A based on single dataset
Usage
A(X, Y, quant = NA, theta, method)
Arguments
X |
Array or data.frame containing covariates |
Y |
Array or data.frame of outcomes |
quant |
quantile for quantile estimation |
theta |
parameter theta |
method |
indicates the method to be used for M-estimation. Options include "mean", "quantile", "ols", "logistic", and "poisson". |
Value
matrix A based on single dataset
[Package ipd version 0.1.3 Index]