View source: R/infl_func_beta.R
infl_func_beta | R Documentation |
Computes the influence function of beta_hat: E(d^2ln L/dbeta^2)^-1 x (dln L/dbeta)(Yi|Xi,beta)).
infl_func_beta(beta, data)
beta |
the parameter at which the influence function is computed. |
data |
is an environment variable containing the relevant data: - data$Y a matrix of size n x Tmax containing the values of the dependent variable Y. - data$X an array of size n x Tmax x dimX containing the values of the covariates X. - data$Call a vector of size n containing the indexes of the hypothetical clusters for the individuals |
a vector of size n x dimX containing the value of the influence function of beta w.r.t. each dimension of the covariate (columns), for each observation (rows).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.