| forsearch-package {forsearch} | R Documentation |
Diagnostic Analysis Using Forward Search Procedure for Various Models Diagnostic Analysis Using Forward Search Procedure for Various Models
Description
Identifies potential data outliers and their impact on estimates and analyses. Uses the forward search approach of Atkinson and Riani, "Robust Diagnostic Regression Analysis", 2000,<ISBN: o-387-95017-6> to prepare descriptive statistics of a dataset that is to be analyzed by stats::lm(), stats::glm(), stats::nls(), nlme::lme() or survival::coxph(). Includes graphics functions to display the descriptive statistics.
Details
The DESCRIPTION file:
| Package: | forsearch |
| Title: | Diagnostic Analysis Using Forward Search Procedure for Various Models |
| Version: | 6.2.0 |
| Authors@R: | person("William","Fairweather", email = "wrf343@flowervalleyconsulting.com", role = c("aut", "cre")) |
| Description: | Identifies potential data outliers and their impact on estimates and analyses. Uses the forward search approach of Atkinson and Riani, "Robust Diagnostic Regression Analysis", 2000,<ISBN: o-387-95017-6> to prepare descriptive statistics of a dataset that is to be analyzed by stats::lm(), stats::glm(), stats::nls(), nlme::lme() or survival::coxph(). Includes graphics functions to display the descriptive statistics. |
| Depends: | R (>= 4.2) |
| License: | GPL (>= 3) |
| LazyData: | true |
| SystemRequirements: | gmp (>= 4.1) |
| Encoding: | UTF-8 |
| Roxygen: | list(markdown = TRUE) |
| RoxygenNote: | 7.2.3 |
| Imports: | Hmisc(>= 4.7-0), Cairo(>= 1.6-0), formula.tools(>= 1.7.0), ggplot2(>= 3.4.0), nlme(>= 3.1-157), survival(>= 3.4), tibble(>= 3.1.8) |
| Suggests: | rmarkdown, knitr |
| VignetteBuilder: | knitr |
| Author: | William Fairweather [aut, cre] |
| Maintainer: | William Fairweather <wrf343@flowervalleyconsulting.com> |
Index of help topics:
aStep1 Create Set of Observation Numbers in Step 1 for
Linear Model Analysis
aStep2 Update Observation Set in Step 2
bStep1 Create Set of Observation Numbers in Step 1 for
Linear Mixed Effects Model Analysis
bStep2 Update Observation Numbers in Step 2
cStep1 Create Set of Observation Numbers in Step 1 for
Cox Proportional Hazards Model Analysis
cStep2 Update Observation Set in Step 2
forsearch-package Diagnostic Analysis Using Forward Search
Procedure for Various Models Diagnostic
Analysis Using Forward Search Procedure for
Various Models
forsearch_cph Create Statistics Of Forward Search in a Cox
Proportional Hazard Database
forsearch_glm Create Statistics of Forward Search in a
Generalized Linear Model Database
forsearch_lm Create Statistics Of Forward Search in a Linear
Model Database
forsearch_lme Create Statistics Of Forward Search For a
Linear Mixed Effects Database
forsearch_nls Create Statistics Of Forward Search in a
Nonlinear Model Database
identifyCoeffs Index To Identify Fixed and Random Coefficients
To Appear Together on Plot
identifyFixedCoeffs Index To Identify Fixed Coefficients To Appear
Together on Plot
picksome Structured Sets of Random Samples of
Observations
plotdiag.AICX Plot Diagnostic AIC Statistics
plotdiag.ANOX2 Plot Diagnostic Statistics of Analysis of
Variance Tables
plotdiag.Cook Plot Diagnostic Statistics of Modified Cook's
Distance
plotdiag.Wald Plot Diagnostic Statistics of Wald Test Output
of COXPH Function
plotdiag.allgraphs Execute All Plotting Functions For a Select
Forsearch Object
plotdiag.blind.fixed Plot Diagnostic Statistics of Fixed
Coefficients for Blinded Dataset
plotdiag.deviance.residuals
Plot Diagnostic Statistics Of Deviance
Residuals
plotdiag.deviances Plot Diagnostic Deviance Statistics
plotdiag.fit3 Plot Diagnostic Statistics of AIC, BIC, and Log
Likelihood
plotdiag.leverage Plot Diagnostic Statistics Of Leverage
plotdiag.loglik Plot Diagnostic Statistics of LOGLIK Output of
COXPH Function
plotdiag.lrt Plot Diagnostic Statistics of Likelihood Ratio
Test of COXPH Function
plotdiag.params.fixed Plot Diagnostic Statistics of Fixed
Coefficients
plotdiag.params.random
Plot Diagnostic Statistics Of Random
Coefficients
plotdiag.phihatx Plot Diagnostic PhiHat Statistics
plotdiag.residuals Plot Diagnostic Statistics Of Residuals Or
Squared Residuals
plotdiag.s2 Plot Diagnostic Statistics Of Residual
Variation
plotdiag.tstats Plot Diagnostic T Statistics
search.history Create Tabular History Of Forward Search
showme Display Abbreviated Output of FORSEARCH_xxx
Function
variablelist Identify Level(s) to Which Each Factor
Observation Belongs
Ensure that data frame has a leading column of observation numbers. Run forsearch_xxx to create a file of diagnostic statistics to be used as input to such plotting functions as plotdiag.residuals, plotdiag.params.fixed, plotdiag.params.random, plotdiag.s2, plotdiag,leverage, and plotdiag.Cook. The file of diagnostic statistics can be voluminous, and the utility function showme displays the output more succinctly. Plotting of statistics for fixed and for random coefficients is limited by graphical restraints in some cases. The function identifyCoeffs provides a set of indexing codes so that plotdiag.params.random can display diagnostics for selected fixed or random model parameters. The function identifyFixedCoeffs does the same for lm models.
Author(s)
William R. Fairweather, Flower Valley Consulting, Inc., Silver Spring MD USA NA
Maintainer: NA William R. Fairweather <wrf343 at flowervalleyconsulting.com>
References
Atkinson, A and M Riani. Robust Diagnostic Regression Analysis, Springer, New York, 2000. Pinheiro, JC and DM Bates. Mixed-Effects Models in S and S-Plus, Springer, New York, 2000.