Last data update: 2014.03.03
R: Likert Type Questionnaire Item Analysis
Scale-package R Documentation
Likert Type Questionnaire Item Analysis
Description
Provides the ScaleData class and corresponding functions, in order to facilitate data input for scale construction. Reverse items and alternative orders of administration are dealt with by the program. Computes reliability statistics, and confirmatory single factor loadings. It suggests item deletions and produces basic text output in English. Returns list objects of all relevant functions from other packages (see Depends).
Details
Package: Scale
Type: Package
Version: 1.0
Date: 2015-04-30
License: GPL-2
Author(s)
Nikolaos Giallousis
Maintainer: Nikolaos Giallousis <psierevn@gmail.com>
See Also
psych
Examples
data(Depression98)
depressionScale <- Scale(data=Depression98,
orders=list(
c(16,19,11,9,1,17,5,18,4,8,2,12,
20,10,14,6,3,13,15,7),
c(1,18,4,15,7,8,3,14,20,6,19,16,
12,5,10,13,2,17,11,9)),
orders_id=c(
rep(1, 49),
rep(2, 49)),
reverse=c(3,4,13,14,18,20),
col_names= paste('q', 1:20, sep=''))
depressionPre <- PreProc(depressionScale)
depressionRel <- ItemAnalysis(depressionPre)
ReportTable(depressionRel)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Scale)
Loading required package: psych
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'ggplot2'
The following objects are masked from 'package:psych':
%+%, alpha
Attaching package: 'Hmisc'
The following object is masked from 'package:psych':
describe
The following objects are masked from 'package:base':
format.pval, round.POSIXt, trunc.POSIXt, units
Loading required package: MASS
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Scale/Scale.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Scale-package
> ### Title: Likert Type Questionnaire Item Analysis
> ### Aliases: Scale-package
> ### Keywords: survey multivariate
>
> ### ** Examples
>
> data(Depression98)
>
> depressionScale <- Scale(data=Depression98,
+ orders=list(
+ c(16,19,11,9,1,17,5,18,4,8,2,12,
+ 20,10,14,6,3,13,15,7),
+ c(1,18,4,15,7,8,3,14,20,6,19,16,
+ 12,5,10,13,2,17,11,9)),
+ orders_id=c(
+ rep(1, 49),
+ rep(2, 49)),
+ reverse=c(3,4,13,14,18,20),
+ col_names= paste('q', 1:20, sep=''))
>
> depressionPre <- PreProc(depressionScale)
Warning message:
In PreProc(depressionScale) :
Items' vector unspecified. out$items is NULL...
>
> depressionRel <- ItemAnalysis(depressionPre)
>
> ReportTable(depressionRel)
Item Corr. to scale Factor Loading Mean SD
q12 q12 0.6102391 0.6541123 2.244898 1.1492824
q11 q11 0.4884530 0.5471951 1.357143 0.7071068
q9 q9 0.4636682 0.5349238 2.540816 1.0665328
q5 q5 0.4672954 0.5168634 1.877551 1.0960595
q20 q20 0.4409165 0.5111198 2.193878 0.8811680
q2 q2 0.4334911 0.4998320 1.402062 0.8619236
q18 q18 0.4055010 0.4997000 2.632653 1.1611206
q7 q7 0.4258818 0.4816417 2.908163 1.0943787
q10 q10 0.4298022 0.4729194 2.500000 1.3179960
q14 q14 0.4081698 0.4727368 2.357143 0.8995990
q17 q17 0.4079807 0.4582502 2.816327 1.2546568
q16 q16 0.4099898 0.4515751 2.765306 1.2746620
q6 q6 0.3830278 0.4347683 3.000000 1.2435400
q8 q8 0.3726962 0.4320918 1.357143 0.8403485
q19 q19 0.3827926 0.4259260 2.826531 1.2764764
q13 q13 0.3828851 0.4173177 2.329897 1.0177759
q4 q4 0.3600026 0.4109354 2.581633 1.1746767
q15 q15 0.3146081 0.3400521 2.928571 1.2205289
q3 q3 0.2439006 0.2900250 2.285714 1.3393336
q1 q1 0.1966437 0.2265837 2.806122 1.2735061
>
>
>
>
>
>
> dev.off()
null device
1
>