Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 10 of 145 found.
[1] < 1 2 3 4 5 6 7 8 9 10 11 > [15]  Sort:

sim.hierarchical (Package: psych) : Create a population or sample correlation matrix, perhaps with hierarchical structure.

Create a population orthogonal or hierarchical correlation matrix from a set of factor loadings and factor intercorrelations. Samples of size n may be then be drawn from this population. Return either the sample data, sample correlations, or population correlations. This is used to create sample data sets for instruction and demonstration.
● Data Source: CranContrib
● Keywords: datagen, models, multivariate
● Alias: make.hierarchical, sim.hierarchical
● 0 images

Promax (Package: psych) : Perform bifactor, promax or targeted rotations and return the inter factor angles.

The bifactor rotation implements the rotation introduced by Jennrich and Bentler (2011) by calling GPForth in the GPArotation package. promax is an oblique rotation function introduced by Hendrickson and White (1964) and implemented in the promax function in the stats package. Unfortunately, promax does not report the inter factor correlations. Promax does. TargetQ does a target rotation with elements that can be missing (NA), or numeric (e.g., 0, 1). It uses the GPArotation package. target.rot does general target rotations to an arbitrary target matrix. The default target rotation is for an independent cluster solution. equamax facilitates the call to GPArotation to do an equamax rotation. Equamax, although available as a specific option within GPArotation is easier to call by name if using equamax. The varimin rotation suggested by Ertl (2013) is implemented by appropriate calls to GPArotation.
● Data Source: CranContrib
● Keywords: models, multivariate
● Alias: Promax, TargetQ, bifactor, biquartimin, target.rot, varimin, vgQ.bimin, vgQ.targetQ, vgQ.varimin
● 0 images

winsor (Package: psych) : Find the Winsorized scores, means, sds or variances for a vector, matrix, or data.frame

Among the robust estimates of central tendency are trimmed means and Winsorized means. This function finds the Winsorized scores. The top and bottom trim values are given values of the trimmed and 1- trimmed quantiles. Then means, sds, and variances are found.
● Data Source: CranContrib
● Keywords: univar
● Alias: winsor, winsor.mean, winsor.means, winsor.sd, winsor.var
● 0 images

comorbidity (Package: psych) : Convert base rates of two diagnoses and their comorbidity into phi, Yule, and tetrachorics

In medicine and clinical psychology, diagnoses tend to be categorical (someone is depressed or not, someone has an anxiety disorder or not). Cooccurrence of both of these symptoms is called comorbidity. Diagnostic categories vary in their degree of comorbidity with other diagnostic categories. From the point of view of correlation, comorbidity is just a name applied to one cell in a four fold table. It is thus possible to analyze comorbidity rates by considering the probability of the separate diagnoses and the probability of the joint diagnosis. This gives the two by two table needed for a phi, Yule, or tetrachoric correlation.
● Data Source: CranContrib
● Keywords: multivariate
● Alias: comorbidity
● 0 images

factor2cluster (Package: psych) : Extract cluster definitions from factor loadings

Given a factor or principal components loading matrix, assign each item to a cluster corresponding to the largest (signed) factor loading for that item. Essentially, this is a Very Simple Structure approach to cluster definition that corresponds to what most people actually do: highlight the largest loading for each item and ignore the rest.
● Data Source: CranContrib
● Keywords: models, multivariate
● Alias: factor2cluster
● 0 images

cor.wt (Package: psych) : The sample size weighted correlation may be used in correlating aggregated data

If using aggregated data, the correlation of the means does not reflect the sample size used for each mean. cov.wt in RCore does this and returns a covariance matrix or the correlation matrix. The cor.wt function weights by sample size or by standard errors and by default return correlations.
● Data Source: CranContrib
● Keywords: multivariate
● Alias: cor.wt
● 0 images

statsBy (Package: psych) : Find statistics (including correlations) within and between groups for basic multilevel analyses

When examining data at two levels (e.g., the individual and by some set of grouping variables), it is useful to find basic descriptive statistics (means, sds, ns per group, within group correlations) as well as between group statistics (over all descriptive statistics, and overall between group correlations). Of particular use is the ability to decompose a matrix of correlations at the individual level into correlations within group and correlations between groups.
● Data Source: CranContrib
● Keywords: models, multivariate
● Alias: faBy, statsBy, statsBy.boot, statsBy.boot.summary
● 0 images

fa.sort (Package: psych) : Sort factor analysis or principal components analysis loadings

Although the print.psych function will sort factor analysis loadings, sometimes it is useful to do this outside of the print function. fa.sort takes the output from the fa or principal functions and sorts the loadings for each factor. Items are located in terms of their greatest loading. The new order is returned as an element in the fa list.
● Data Source: CranContrib
● Keywords: multivariate
● Alias: fa.organize, fa.sort
● 0 images

mardia (Package: psych) : Calculate univariate or multivariate (Mardia's test) skew and kurtosis for a vector, matrix, or data.frame

Find the skew and kurtosis for each variable in a data.frame or matrix. Unlike skew and kurtosis in e1071, this calculates a different skew for each variable or column of a data.frame/matrix. mardia applies Mardia's tests for multivariate skew and kurtosis
● Data Source: CranContrib
● Keywords: models, multivariate
● Alias: kurtosi, mardia, skew
● 0 images

sim.multilevel (Package: psych) : Simulate multilevel data with specified within group and between group correlations

Multilevel data occur when observations are nested within groups. This can produce correlational structures that are sometimes difficult to understand. This simulation allows for demonstrations that correlations within groups do not imply, nor are implied by, correlations between group means. The correlations of aggregated data is sometimes called an 'ecological correlation'. That group level and individual level correlations are independent makes such inferences problematic.
● Data Source: CranContrib
● Keywords: models, multivariate
● Alias: sim.multilevel
● 0 images