getRSFit | R Documentation |
Extracts effect numbers, effect types, effect names, thetas (estimated parameters) and standard errors from a sientFit object, then calculates t-statistics, one or two-tailed p-values, and (if tails = 2) an alpha-level confidence interval for each effect. The alpha level is also ouput, for later reference.
getRSFit(fitObj, alpha = 0.05, tails = 2)
fitObj |
An RSiena 'sienaFit' object (output from siena07) |
alpha |
A number (Default=.05) to use for creating confidence intervals around the parameter |
tails |
Numeric: default is 2; enter 1 if 1-tailed pval preferred. |
Uses a version of JMLUtils::pValT (pvT) which does not output anything, just calculates 1 or 2-tailed p-vals.
A tibble with 8 columns (if tails = 1) or 10 columns (if tails =2; only in this case are alpha-level CIs calculated and output, as well as alpha itself).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.