powered by
Computes confidence intervals for parameters from a nonlinear cross-price demand model using nlstools::confint2().
nlstools::confint2()
# S3 method for cp_model_nls confint( object, parm = NULL, level = 0.95, method = c("asymptotic", "profile"), ... )
A tibble with columns: term, estimate, conf.low, conf.high, level, method.
term
estimate
conf.low
conf.high
level
method
A cp_model_nls object from fit_cp_nls().
cp_model_nls
fit_cp_nls()
Character vector of parameter names to compute CIs for. Default includes all parameters.
Confidence level (default 0.95).
Character. Method for computing intervals passed to nlstools::confint2():
"asymptotic" (default): Wald-type asymptotic intervals
"asymptotic"
"profile": Profile-t confidence intervals
"profile"
Additional arguments passed to nlstools::confint2().
This method wraps nlstools::confint2() to provide confidence intervals for the log10-parameterized coefficients (log10_qalone, I, log10_beta).
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.
10^conf.low
10^conf.high
# \donttest{ data(etm) fit <- fit_cp_nls(etm, equation = "exponentiated") confint(fit) # }
Run the code above in your browser using DataLab