create_psiFUN_list | R Documentation |
Creates the estimating function (\psi(O_i, \theta)
)
for each unit. That is, this function evaluates the outer function in
estFUN
for each independent unit and a returns the inner function in
estFUN
.
create_psiFUN_list(object, ...)
## S4 method for signature 'm_estimation_basis'
create_psiFUN_list(object)
object |
an object of class |
... |
additional arguments passed to other methods |
the object
with the .psiFUN_list
slot populated.
myee <- function(data){
function(theta){
c(data$Y1 - theta[1],
(data$Y1 - theta[1])^2 - theta[2])
}
}
mybasis <- create_basis(
estFUN = myee,
data = geexex)
psi_list <- grab_psiFUN_list(create_psiFUN_list(mybasis))
# A list of functions
head(psi_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.