Description Usage Arguments Details Value Author(s) References See Also Examples

Computes the split-half replicability of the vector of linear coefficients (e.g. correlations, covariances) between a single variable (x) and a set of other variables (set).

1 2 | ```
vector.splithalf(x, set, typ = "cor", sims = 100,
graph = TRUE, CI = 0.95, minval = -1, seed = 2)
``` |

`x` |
A numeric vector of the same length as nrow(set). |

`set` |
A data.frame or matrix of which each column is to be related with x. |

`typ` |
A character string specifying the type of linear coefficients between x and set to be computed. The default "cor" computes the replicability for the correlations between x and set. The option "XY" computes the replicability for the betas when X predicts Y. The option "YX" computes the replicability for the betas when Y predicts X. The option "betas" computes the replicabilities for both X predicting Y and Y predicting X. Finally, the option "all" computes the replicability for the correlations and the betas. |

`sims` |
A numeric specifying the number of random splithalves to generate to estimate the true splithalf replicability. |

`graph` |
A logical indicating whether a graph displaying the the random splithalf values should be printed. |

`CI` |
A numeric between 0.0 and 1.0 indicating the desired confidence interval for the estimated replicability coefficient. |

`minval` |
A numeric indicating the minimum replicability value allowed. |

`seed` |
A numeric specifying the random seed to be used. If set to FALSE, no seed is used. |

Sherman and Wood (2014) suggest that one way to estimate the replicability of a vector of correlation coefficients between a variable of interest (x) and a set of other variables (set) is to 1) divide one's sample into two equal halves, 2) compute the the correlations between 'x' and 'set' for both samples, 3) compute the correlation between the two resultant vectors of correlations, and 4) adjust the resultant split-sample correlation up using the spearman-brown prophecy formula. This function repeats this procedure "sims" times and returns the average result along with confidence intervals. In addition, this function includes options for getting a replicability coefficient for regression slopes (betas).

`N ` |
The sample size |

`Split-half r ` |
The estimated split-half reliability |

`SE` |
Standard Error of the estimate |

`Lower Limit ` |
The Lower Limit of the CI around the split-half reliability |

`Upper Limit ` |
The Upper Limit of the CI around the split-half reliability |

Ryne A. Sherman

Sherman, R. A. & Wood, D. (2014). Estimating the expected replicability of a pattern of correlations and other measures of association. Multivariate Behavioral Research. 49(1), 17-40.

1 2 3 4 5 6 7 8 | ```
data(RSPdata)
data(beh.comp)
# Is the pattern of relationships between self reported extraversion and behavior replicable
RSPdata$sEXT
head(beh.comp)
vector.splithalf(RSPdata$sEXT, beh.comp) #split-half reliability = .684
# Might also compare with vector.alpha
vector.alpha(RSPdata$sEXT, beh.comp) #alpha = .665
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.