Learn R Programming

qmethod (version 1.0)

qmethod: Q methodology analysis

Description

This function performs a full Q method analysis using principal components analysis (see Notes). The main results are factor characteristics, statement z-scores and rounded factor scores, and distinguising and consensus statements.

Usage

qmethod(dataset, nfactors, nstat, nqsorts, rotation="varimax",
        forced=T, distribution=NA)

Arguments

dataset
a matrix or a data frame containing original data, with statements as rows, Q-sorts as columns, and the column scores in the distribution in each cell.
nfactors
number of factors to extract.
nstat
number of statements in the study.
nqsorts
number of Q-sorts in the study.
rotation
rotation method, defaults to "varimax". Other possible rotations allowed in principal function can be used: "none", "varimax", "quartimax", "
forced
logical; Is the ranking of the items forced to match the distributions? Set to TRUE if all respondents ranked the items strictly following the distribution scores, and the values of the distribution are calculated automatically. Set to
distribution
logical; when forced = FALSE, the distribution has to be provided as a vector of numbers, such as c(-2, -1, -1, 0, 1, 1, 2, 2).

Value

  • Returns a list with eight objects:
  • briefsummary of the analysis.
  • datasetoriginal data.
  • loafactor loadings for Q-sorts.
  • flaggedlogical dataframe of flagged Q-sorts.
  • zscstatements z-scores.
  • zsc_nstatements rounded scores, rounded to the values in the first row of the original dataset.
  • f_charfactor characteristics:
    1. Average reliability coefficient.
    Number of loading Q-sorts. Eigenvalues. Percentage of explained variance. Composite reliability. Standard error of factor scores. Correlation coefficients between factors z-scores. Standard errors of differences.

item

qdc

Details

This function wraps together all the steps required for a complete analysis: extracting component loadings (principal); flagging Q-sorts (qflag); calculating weights, z-scores, and rounded scores (qzscores), calculating general characteristics (qfcharact), and finding distinguishing and consensus statements (qdc).

The default qmethod performs automatic flagging and uses varimax rotation. Varimax rotation can be replaced by other methods for rotation allowed in principal from psych package.

If the input data contains row names and variable names, these will be kept throughout the analysis. Input data is validated, and it will give an error if there are non numerical values or either if the number of statements and Q-sorts introduced does not match the input data.

References

Brown, S. R., 1980 Political subjectivity: Applications of Q methodology in political science, New Haven, CT: Yale University Press.

See further references on the methodology in qmethod-package.

See Also

principal in package psych

Examples

Run this code
data(lipset)
results <- qmethod(lipset, nfactors=3, nstat=33, 
           nqsorts=9, rotation="varimax")
summary(results)
results #shows all results

Run the code above in your browser using DataLab