Performs a sensitivity analysis when planning sample size from the Accuracy in Parameter Estimation Perspective for the standardized or unstandardized regression coefficient.
ss.aipe.reg.coef.sensitivity(True.Var.Y = NULL, True.Cov.YX = NULL,
True.Cov.XX = NULL, Estimated.Var.Y = NULL, Estimated.Cov.YX = NULL,
Estimated.Cov.XX = NULL, Specified.N = NULL, which.predictor = 1,
w = NULL, Noncentral = FALSE, Standardize = FALSE, conf.level = 0.95,
degree.of.certainty = NULL, assurance=NULL, certainty=NULL,
G = 1000, print.iter = TRUE)
a matrix containing the empirical results from each of the G
replications of the simulation
a list of the input specifications and the required sample size
summary values for the results of the sensitivity analysis (simulation study) given the input specification
Population variance of the dependent variable (Y)
Population covariances vector between the p
predictor variables and the dependent variable (Y)
Population covariance matrix of the p
predictor variables
Estimated variance of the dependent variable (Y)
Estimated covariances vector between the p
predictor variables and the dependent variable (Y
)
Estimated Population covariance matrix of the p
predictor variables
Directly specified sample size (instead of using Estimated.Rho.YX
and Estimated.RHO.XX
)
identifies which of the p predictors is of interest
desired confidence interval width for the regression coefficient of interest
specify with a TRUE
or FALSE
statement whether or not the noncentral approach to sample size planning should be used
specify with a TRUE
or FALSE
statement whether or not the regression coefficient will be standardized
desired level of confidence for the computed interval (i.e., 1 - the Type I error rate)
degree of certainty that the obtained confidence interval will be sufficiently narrow
an alias for degree.of.certainty
an alias for degree.of.certainty
the number of generations/replication of the simulation student within the function
specify with a TRUE
/FALSE
statement if the iteration number should be printed as the simulation within the function runts
Ken Kelley (University of Notre Dame; KKelley@ND.Edu)
Direct specification of True.Rho.YX
and True.RHO.XX
is necessary, even if one is interested in a single regression
coefficient, so that the covariance/correlation structure can be specified when the simulation student within the function runs.
Kelley, K. & Maxwell, S. E. (2003). Sample size for Multiple Regression: Obtaining regression coefficients that are accuracy, not simply significant. Psychological Methods, 8, 305--321.
ss.aipe.reg.coef
, ci.reg.coef