Description Usage Format Author(s) Source References See Also Examples
Consists of indices of political and social trust, political efficacy, and fear of crime. The interviewer number was also recorded.
The ESS round 4 in Denmark was a face-to-face probability survey with simple random sampling.
1 |
A data frame with 1546 observations of 6 variables.
idno
Respondent identifier
intnum
Interviewer identifier
socialTrust
Sum of three 0-10 social trust items.
efficacy
Sum of two 1-5 items measuring "internal political efficacy".
systemTrust
Sum of three 0-10 political trust items.
fearCrime
Sum of three 1-4 items measuring fear of crime.
Daniel Oberski - http://daob.org - daniel.oberski@gmail.com
This dataset was retrieved from http://ess.nsd.uib.no/ess/round4/ and converted to an R dataset.
Jowell, R., Roberts, C., Fitzgerald, R., & Eva, G. (2007). Measuring attitudes cross-nationally: Lessons from the european social survey. SAGE.
Oberski, D.L. (2014). lavaan.survey: An R Package for Complex Survey Analysis of Structural Equation Models. Journal of Statistical Software, 57(1), 1-27. http://www.jstatsoft.org/v57/i01/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(ess.dk)
head(ess.dk)
# A saturated model with reciprocal effects from Saris & Gallhofer (2007)
dk.model <- "
socialTrust ~ 1 + systemTrust + fearCrime
systemTrust ~ 1 + socialTrust + efficacy
socialTrust ~~ systemTrust
"
lavaan.fit <- lavaan(dk.model, data=ess.dk, auto.var=TRUE, estimator="MLM")
summary(lavaan.fit)
# Create a survey design object with interviewer clustering
survey.design <- svydesign(ids=~intnum, prob=~1, data=ess.dk)
survey.fit <- lavaan.survey(lavaan.fit=lavaan.fit, survey.design=survey.design)
summary(survey.fit)
|
Loading required package: lavaan
This is lavaan 0.6-3
lavaan is BETA software! Please report any bugs.
Loading required package: survey
Loading required package: grid
Loading required package: Matrix
Loading required package: survival
Attaching package: 'survey'
The following object is masked from 'package:graphics':
dotchart
idno intnum socialTrust efficacy systemTrust fearCrime
1 100010 55421 24 2 17 4
2 100028 23886 22 6 22 7
3 100044 15000 16 3 26 3
4 100052 45630 21 5 24 4
5 100060 15000 22 10 24 9
6 100078 45630 17 7 20 5
lavaan 0.6-3 ended normally after 73 iterations
Optimization method NLMINB
Number of free parameters 9
Number of observations 1546
Estimator ML Robust
Model Fit Test Statistic 0.000 0.000
Degrees of freedom 0 0
Scaling correction factor NA
for the Satorra-Bentler correction
Parameter Estimates:
Information Expected
Information saturated (h1) model Structured
Standard Errors Robust.sem
Regressions:
Estimate Std.Err z-value P(>|z|)
socialTrust ~
systemTrust 0.452 0.166 2.726 0.006
fearCrime -0.305 0.110 -2.759 0.006
systemTrust ~
socialTrust 0.858 0.153 5.606 0.000
efficacy 0.272 0.096 2.839 0.005
Covariances:
Estimate Std.Err z-value P(>|z|)
.socialTrust ~~
.systemTrust -16.919 4.160 -4.067 0.000
Intercepts:
Estimate Std.Err z-value P(>|z|)
.socialTrust 12.315 4.028 3.057 0.002
.systemTrust 2.127 2.846 0.747 0.455
Variances:
Estimate Std.Err z-value P(>|z|)
.socialTrust 18.457 0.992 18.615 0.000
.systemTrust 23.746 3.267 7.270 0.000
lavaan 0.6-3 ended normally after 73 iterations
Optimization method NLMINB
Number of free parameters 9
Number of observations 1546
Estimator ML Robust
Model Fit Test Statistic 0.000 0.000
Degrees of freedom 0 0
Scaling correction factor NA
for the Satorra-Bentler correction
Parameter Estimates:
Information Expected
Information saturated (h1) model Structured
Standard Errors Robust.sem
Regressions:
Estimate Std.Err z-value P(>|z|)
socialTrust ~
systemTrust 0.452 0.211 2.144 0.032
fearCrime -0.305 0.126 -2.422 0.015
systemTrust ~
socialTrust 0.858 0.147 5.846 0.000
efficacy 0.272 0.126 2.152 0.031
Covariances:
Estimate Std.Err z-value P(>|z|)
.socialTrust ~~
.systemTrust -16.919 5.041 -3.356 0.001
Intercepts:
Estimate Std.Err z-value P(>|z|)
.socialTrust 12.315 5.105 2.412 0.016
.systemTrust 2.127 2.584 0.823 0.410
Variances:
Estimate Std.Err z-value P(>|z|)
.socialTrust 18.457 1.271 14.527 0.000
.systemTrust 23.746 3.279 7.243 0.000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.