Given values of test statistics (and the appropriate additional information) the value of the noncentral values can be obtained. Likewise, given noncentral values (and the appropriate additional information) the value of the test statistic can be obtained.
convert_R2_f(R2 = NULL, df_1 = NULL, df_2 = NULL, p = NULL, N = NULL)convert_f_R2(F_value = NULL, df_1 = NULL, df_2 = NULL)
convert_lambda_R2(lambda = NULL, N = NULL)
convert_R2_lambda(R2 = NULL, N = NULL)
Each of the four functions returns a 1-row data.frame
with columns term and value. The term entry
identifies the conversion performed
("r2_f", "f_r2", "lambda_r2", or
"r2_lambda") and value is the converted scalar. The
conversions are exact inverses of one another (with the appropriate
degrees-of-freedom / sample size inputs supplied), which is what
makes them useful inside the noncentrality-parameter confidence
interval machinery of ci_R2 and
ci_nc_F.
Squared multiple correlation coefficient (population or observed)
Degrees of freedom for the numerator of the F-distribution
Degrees of freedom for the denominator of the F-distribution
Number of predictor variables for R2
Sample size
The obtained F value from a test of significance for the squared multiple correlation coefficient
The noncentral parameter from an F-distribution
Ken Kelley [email protected]
These functions are especially helpful in the search for confidence intervals for noncentral parameters, as they convert to and from related quantities.
Kelley, K. (2007). Confidence intervals for standardized effect sizes: Theory, application, and implementation. Journal of Statistical Software, 20(8), 1--24. tools:::Rd_expr_doi("10.18637/jss.v020.i08")
ss_aipe_R2, ci_R2, ci_nc_t, ci_nc_F
Other parameterization conversions:
convert_F_chisq(),
convert_Z_r(),
convert_cor_cov(),
convert_d_or(),
convert_d_r(),
convert_r_Z(),
convert_t_smd,
convert_z_normal()
convert_R2_lambda(R2 = .5, N = 100)
Run the code above in your browser using DataLab