Questions tagged [psych]

An R package for analysing personality, psychometrics and experimental psychology. Do not use this tag for Ruby standard library Psych.

psych is an package containing functions for analysing personality, psychometrics and experimental psychology. Functions are primarily for scale construction using factor analysis, and analysis, although others provide basic descriptive statistics. Item Response Theory is done using factor analysis of tetrachoric and polychoric s. Functions for simulating particular item and test structures are included. Several functions serve as a useful front end for structural equation modeling. Graphical displays of path diagrams, and structural equation models are created using basic graphics.

Repositories

Vignettes

Other resources

Related tags

294 questions
0
votes
1 answer

Change fa2latex label command

I am using knitr and rstudio to write a report. I am attempting to print the results to a factor analysis using the fa2latex() function in the psych package. I am wanting to reference the resulting table in the text of my report. The fa2latex…
user2460499
  • 151
  • 2
  • 3
  • 7
0
votes
1 answer

Cannot run rails commands due to possible error with .gemrc

When I type commands such as "rails server" or "rails console", I receive a large error message. The error message Failed to load /Users/user_name/.gemrc because it doesn't contain valid YAML hash The trouble started when I ran these series of…
CaptConrado
  • 1,043
  • 1
  • 8
  • 9
0
votes
1 answer

Plot results from describe.by{psych} output

I have the results from a describe.by{psych} applied on a dataframe. The results is a list. List of 1000 $ 1 :Classes ‘psych’, ‘describe’ and 'data.frame': 20 obs. of 13 variables: ..$ var : int [1:20] 1 2 3 4 5 6 7 8 9 10 ... ..$ n …
user1882633
  • 153
  • 1
  • 2
  • 9
0
votes
1 answer

Exclude boolean variables from output of describe() function from psych package

I have some data table, imported from a text file. Then I am using describe(table) function from psych package. It returns variances, means and so on for each variable, including booleans, which are although marked with asterisk symbol. age 1 …
Edward Ruchevits
  • 6,411
  • 12
  • 51
  • 86
0
votes
1 answer

Psych doc says «At the mid level is building an AST…» but, how exactly?

I have this old code using Sych doing : yaml_as "tag:yaml.org,2002:#{self}" def to_yaml(opts = {}) YAML::quick_emit(self, opts) do |out| out.map(taguri, to_yaml_style) do |map| map.add('name', name) map.add('address',…
mat
  • 12,943
  • 5
  • 39
  • 44
-1
votes
1 answer

corrplot:corrplot function in R panelled plots

I would like to create a figure containing different correlation plots created by corrplot(). To do so, once I created the plots, I assigned them to a variable and line them up with ggpubr:ggarrange(), but the single variables created have content…
Rosario
  • 183
  • 1
  • 11
-2
votes
1 answer

Cronbach alpha ltm or psych packages what's the difference?

Recently, he's been working on survey data. I want to use alpha cronach but I wonder which packages is better and what are the differences between ltm and psych packag. The data comes from surveys regarding the assessment of the quality of…
-2
votes
1 answer

Calculate mean of multiple rows using grouping variables

I am trying to calculate an overall mean of multiple classes. Currently the database is in long format. I tried selecting first ID number (group variable 1), then a dummy variable (stem=1) classes that I am interested in (grouping variable 2), and…
Tawk_Tomahawk
  • 139
  • 2
  • 8
1 2 3
19
20