Summary Method for an Object of Class esdelta
Source: R/betaDelta-es-delta-methods.R
summary.esdelta.RdSummary Method for an Object of Class esdelta
Usage
# S3 method for class 'esdelta'
summary(object, alpha = NULL, digits = 4, ...)Value
Returns a matrix of estimates, standard errors, test statistics, p-values, and confidence intervals.
Details
The confidence intervals are \(\hat{\theta} \pm z_{1 - \alpha / 2} \widehat{\operatorname{se}} \left( \hat{\theta} \right)\), where \(\widehat{\operatorname{se}}\) is the square root of the diagonal of the delta-method sampling covariance matrix of the effect size, and \(z_{p}\) is the \(p\) quantile of the standard normal distribution. The test statistic is \(z = \hat{\theta} / \widehat{\operatorname{se}} \left( \hat{\theta} \right)\).
Examples
# Data ---------------------------------------------------------------------
data("nas1982", package = "betaDelta")
# Fit Model in lm ----------------------------------------------------------
object <- stats::lm(
formula = QUALITY ~ NARTIC + PCTGRT + PCTSUPP,
data = nas1982
)
# BetaDelta ----------------------------------------------------------------
std <- BetaDelta(object = object)
# RSqDelta -----------------------------------------------------------------
out <- RSqDelta(object = std)
## Methods -----------------------------------------------------------------
summary(object = out)
#> Call:
#> RSqDelta(object = std)
#>
#> R-squared and adjusted R-squared with MVN standard errors:
#> est se z p 0.05% 0.5% 2.5% 97.5% 99.5% 99.95%
#> rsq 0.8045 0.0517 15.5608 0 0.6344 0.6714 0.7032 0.9059 0.9377 0.9747
#> adj 0.7906 0.0554 14.2713 0 0.6083 0.6479 0.6820 0.8991 0.9333 0.9728