logLik.rpm | R Documentation |
logLik
method for ['rpm'] fits.A function to return the log-likelihood associated with an
rpm
fit
## S3 method for class 'rpm'
logLik(object, ...)
object |
An |
... |
Other arguments to the likelihood functions. |
a logLik
object.
logLik
, logLikNull
library(rpm)
data(fauxmatching)
fit <- rpm(~match("edu") + WtoM_diff("edu",3),
Xdata=fauxmatching$Xdata, Zdata=fauxmatching$Zdata,
X_w="X_w", Z_w="Z_w",
pair_w="pair_w", pair_id="pair_id", Xid="pid", Zid="pid",
sampled="sampled",sampling_design="stock-flow")
logLik(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.