logLik.tramnet | R Documentation |
"tramnet"
S3 methods for class "tramnet"
## S3 method for class 'tramnet'
logLik(
object,
parm = coef(object, tol = 0, with_baseline = TRUE),
w = NULL,
newdata = NULL,
add_penalty = FALSE,
...
)
## S3 method for class 'tramnet'
coef(object, with_baseline = FALSE, tol = 1e-06, ...)
## S3 method for class 'tramnet_Lm'
coef(object, with_baseline = FALSE, tol = 1e-06, as.lm = FALSE, ...)
## S3 method for class 'tramnet'
predict(object, newdata = NULL, ...)
## S3 method for class 'tramnet'
simulate(object, nsim = 1, seed = NULL, newdata = NULL, bysim = TRUE, ...)
## S3 method for class 'tramnet'
estfun(
x,
parm = coef(x, with_baseline = TRUE, tol = 0),
w = NULL,
newdata = NULL,
...
)
## S3 method for class 'tramnet'
residuals(
object,
parm = coef(object, tol = 0, with_baseline = TRUE),
w = NULL,
newdata = NULL,
...
)
## S3 method for class 'tramnet'
print(x, ...)
## S3 method for class 'tramnet'
summary(object, ...)
## S3 method for class 'summary.tramnet'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
object |
Object of class |
parm |
Parameters to evaluate the log likelihood at. |
w |
Optional vector of sample weights. |
newdata |
Data to evaluate the log likelihood at. |
add_penalty |
Whethr or not to return the penalized log-likelihood
(default |
... |
Ignored. |
with_baseline |
If |
tol |
Tolerance when an estimate should be considered 0 and not
returned (default |
as.lm |
See |
nsim |
Number of simulations, see |
seed |
Random seed, see |
bysim |
Return by simulation, see |
x |
Object of class |
digits |
Number of digits to print. |
Returns (potentially weighted w
) log-likelihood based on
object
evaluated at parameters parm
and data newdata
Numeric vector containing the model shift parameter estimates
Numeric vector containing the linear model shift parameter estimates
Vector of predictions based on object
evaluated at each row
of newdata
Returns a list
of data.frames
containing parametric
bootstrap samples of the response based on the data supplied in
newdata
Matrix of score contributions w.r.t. model parameters evaluated at
parm
Returns a numeric vector of residuals for each row in newdata
Object of class "summary.tramnet"
.
Object of class "summary.tramnet"
.
Invisible x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.