variable
listwise
statistics:
kurtosis
max
mean
min
kurtosis
range
sekurtosis
semean
seskewness
skewness
stddev
sum
ztrans
input, is a list with elements varname and zname. varname
and zname
are either atomic characters or character vectors. It is necessary that either both parameters are filled or blank.
data(fromXPSS)
## Analyzing Variable V5, Output contains default statistics
xpssDescriptives(x=fromXPSS,
variables="V5")
## Analyzing Variable V7_1, Output contains default statistics
## and z-score of Variable V7_1
xpssDescriptives(x=fromXPSS,
variables="V7_1",
save = TRUE)
## Analyzing Variable V7_2, Output contains default statistics
## and z-score of Variable V7_2 store in myZname
xpssDescriptives(x=fromXPSS,
variables="V7_2",
save = TRUE,
ztrans = list(varname = "V7_2",
zname = "myZname"))
## Analyzing Variable V7_2, Output contains kurtosis, skewness, semean and mean
## missing values are included
## z-score get calculated and store in myZname
xpssDescriptives(x=fromXPSS,
variables="V7_2",
statistics=c("kurtosis",
"skewness",
"semean",
"mean"),
missing="include",
save = TRUE,
ztrans = list(varname = "V7_2",
zname = "myZname"))
Run the code above in your browser using DataLab