| confint.cp_model_nls | R Documentation |
Computes confidence intervals for parameters from a nonlinear cross-price
demand model using nlstools::confint2().
## S3 method for class 'cp_model_nls'
confint(
object,
parm = NULL,
level = 0.95,
method = c("asymptotic", "profile"),
...
)
object |
A |
parm |
Character vector of parameter names to compute CIs for. Default includes all parameters. |
level |
Confidence level (default 0.95). |
method |
Character. Method for computing intervals passed to
|
... |
Additional arguments passed to |
This method wraps nlstools::confint2() to provide confidence intervals
for the log10-parameterized coefficients (log10_qalone, I, log10_beta).
For back-transformed natural-scale confidence intervals, apply the
transformation: 10^conf.low and 10^conf.high for log10-scale parameters.
A tibble with columns: term, estimate, conf.low, conf.high,
level, method.
data(etm)
fit <- fit_cp_nls(etm, equation = "exponentiated")
confint(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.