pmsesampling-package | R Documentation |
Tools to estimate the minimum sample size required to achieve a target Prediction Mean-Squared Error (PMSE) or a specified proportional PMSE reduction (pPMSEr). Functions implement the analytic and simulation-based criteria described in Ma (2023) and include helpers for covariance-matrix handling, root-finding and diagnostic plotting.
pmse_samplesize()
Determines sample size from PMSE equation in basic and full models and the efficient sample size
Obtain \sigma_k^2
and \sigma_p^2
Or import or build a predictor covariance matrix.
Or obtain Cohen's f^2
and \R^2
Call pmse_samplesize
with available inputs to get sample size.
Maintainer: Louis Chen chenaters@gmail.com
Authors:
Zheyang Wu zheyangwu@wpi.edu [thesis advisor]
Ma Y. (2023) Predictive Power and Efficient Sample Size in Linear Regression Models. Worchester Polytechnic Institute
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.