lpmodel.beta.eval | R Documentation |
beta.obs
This function returns the matrix or vector depending on the
class of the variable in the lpmodel
object. In the design of
the lpinfer
module, objects in lpmodel
can have three
different types of classes:
function
— If the object is a function, then the
object that is evaluated by the function with the data will be
returned.
list
— If the object is a list, then the i
-th
element will be returned.
matrix
or numeric
— If the object is a matrix
or a vector, then it will be directly returned.
lpmodel.beta.eval(data, obj, i)
data |
A data frame. |
obj |
An object in lpmodel. |
i |
An index. |
Returns the point estimate and the asymptotic variance of the
beta.obs
object.
beta.obs |
The point estimate of
|
omega |
The estimator of the asymptotic variance for
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.