This function takes a set of observations, and returns an estimate and its corresponding estimated IC matrix for the estimates of the pearson correlation. Estimates of the covariance are generated using the empirical influence function. The first column of your data should correspond to the variable of interest (the variable for which pearson correlation is calculated).
1 | ic.pearson(observ, what = "both", control = NULL)
|
observ |
the observed data. The first column should be the outcome. |
what |
the desired return value. Should be one of '"ic"' (infludence curve), '"est"' (estimate), or '"both"'. |
control |
any other control parameters to be passed to the estimator. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.