Skip to contents

A dataset based on the Theory of Planned Behaviour from a UK sample. Contains the indicators for the latent variables (ATT, SN, PBC, INT, BEH) from the first time point (t1). Only observations with complete responses to all items are included.

Note that the dataset was updated in version 1.0.24. Previously it contained 4 indicators (selected for high communality) for each latent variable, and 1169 observations. It now contains all the indicators for each latent variable from the first time point, and 1894 observations. Model syntax written for the old version (e.g., using sn4 or beh4) must be updated.

Format

A data frame with 1894 observations of 19 variables:

att1

Indicator 1 (at time 1) for attitude (ATT).

att2

Indicator 2 (at time 1) for attitude (ATT).

att3

Indicator 3 (at time 1) for attitude (ATT).

att4

Indicator 4 (at time 1) for attitude (ATT).

att5

Indicator 5 (at time 1) for attitude (ATT).

sn1

Indicator 1 (at time 1) for subjective norms (SN).

sn2

Indicator 2 (at time 1) for subjective norms (SN).

sn3

Indicator 3 (at time 1) for subjective norms (SN).

pbc1

Indicator 1 (at time 1) for perceived behavioural control (PBC).

pbc2

Indicator 2 (at time 1) for perceived behavioural control (PBC).

pbc3

Indicator 3 (at time 1) for perceived behavioural control (PBC).

pbc4

Indicator 4 (at time 1) for perceived behavioural control (PBC).

int1

Indicator 1 (at time 1) for intention (INT).

int2

Indicator 2 (at time 1) for intention (INT).

int3

Indicator 3 (at time 1) for intention (INT).

int4

Indicator 4 (at time 1) for intention (INT).

beh1

Indicator 1 (at time 1) for behaviour (BEH).

beh2

Indicator 2 (at time 1) for behaviour (BEH).

beh3

Indicator 3 (at time 1) for behaviour (BEH).

Source

Gathered from a replication study by Hagger et al. (2023).

Obtained from doi:10.23668/psycharchives.12187

Examples


tpb_uk <- "
# Outer Model (Based on Hagger et al., 2007)
 ATT =~ att1 + att2 + att3 + att4 + att5
 SN =~ sn1 + sn2 + sn3
 PBC =~ pbc1 + pbc2 + pbc3 + pbc4
 INT =~ int1 + int2 + int3 + int4
 BEH =~ beh1 + beh2 + beh3

# Inner Model (Based on Steinmetz et al., 2011)
 # Causal Relationsships
 INT ~ ATT + SN + PBC
 BEH ~ INT + PBC
 BEH ~ INT:PBC
"

est <- modsem(tpb_uk, data = TPB_UK)
summary(est)
#> Estimating baseline model (H0)
#> modsem (version 1.0.24, approach = dblcent):
#> 
#> Interaction Model Fit Measures (H1):
#>   Loglikelihood                             -108052.08 
#>   Akaike (AIC)                               216364.15 
#>   Bayesian (BIC)                             217085.19 
#>   Chi-square                                   7471.81 
#>   Degrees of Freedom                               500 
#>   P-value (Chi-square)                           0.000 
#>   RMSEA                                          0.086 
#>   CFI                                            0.938 
#>   SRMR                                           0.114 
#> 
#> Fit Measures for Baseline Model (H0):
#>   Loglikelihood                             -108181.72 
#>   Akaike (AIC)                               216621.44 
#>   Bayesian (BIC)                             217336.94 
#>   Chi-square                                   7731.10 
#>   Degrees of Freedom                               501 
#>   P-value (Chi-square)                           0.000 
#>   RMSEA                                          0.087 
#>   CFI                                            0.935 
#>   SRMR                                           0.121 
#> 
#> Comparative Fit to H0 (LRT test):
#>   Chi-square diff                              259.291 
#>   Degrees of freedom diff                            1 
#>   P-value (LRT)                                  0.000 
#> 
#> R-Squared Interaction Model (H1):
#>   INT                                            0.914 
#>   BEH                                            0.859 
#> R-Squared Baseline Model (H0):
#>   INT                                            0.915 
#>   BEH                                            0.829 
#> R-Squared Change (H1 - H0):
#>   INT                                           -0.001 
#>   BEH                                            0.030 
#> 
#> lavaan 0.6-20 ended normally after 277 iterations
#> 
#>   Estimator                                         ML
#>   Optimization method                           NLMINB
#>   Number of model parameters                       130
#> 
#>   Number of observations                          1894
#> 
#> Model Test User Model:
#>                                                       
#>   Test statistic                              7471.811
#>   Degrees of freedom                               500
#>   P-value (Chi-square)                           0.000
#> 
#> Parameter Estimates:
#> 
#>   Standard errors                             Standard
#>   Information                                 Expected
#>   Information saturated (h1) model          Structured
#> 
#> Latent Variables:
#>                    Estimate  Std.Err  z-value  P(>|z|)
#>   ATT =~                                              
#>     att1              1.000                           
#>     att2              1.327    0.028   47.043    0.000
#>     att3              1.394    0.029   47.637    0.000
#>     att4              0.920    0.028   33.239    0.000
#>     att5              0.992    0.029   34.025    0.000
#>   SN =~                                               
#>     sn1               1.000                           
#>     sn2               1.243    0.027   46.862    0.000
#>     sn3               1.289    0.027   48.344    0.000
#>   PBC =~                                              
#>     pbc1              1.000                           
#>     pbc2              3.943    0.279   14.123    0.000
#>     pbc3              3.646    0.259   14.067    0.000
#>     pbc4              1.312    0.116   11.353    0.000
#>   INT =~                                              
#>     int1              1.000                           
#>     int2              1.041    0.010  107.726    0.000
#>     int3              1.020    0.010  101.110    0.000
#>     int4              1.028    0.010  103.980    0.000
#>   BEH =~                                              
#>     beh1              1.000                           
#>     beh2              1.204    0.016   73.068    0.000
#>     beh3              1.227    0.016   77.651    0.000
#>   INTPBC =~                                           
#>     int1pbc1          1.000                           
#>     int2pbc1          1.105    0.037   29.478    0.000
#>     int3pbc1          1.099    0.040   27.459    0.000
#>     int4pbc1          1.066    0.037   28.901    0.000
#>     int1pbc2          2.965    0.235   12.618    0.000
#>     int2pbc2          3.072    0.245   12.548    0.000
#>     int3pbc2          3.020    0.241   12.517    0.000
#>     int4pbc2          3.039    0.242   12.532    0.000
#>     int1pbc3          3.074    0.241   12.730    0.000
#>     int2pbc3          3.116    0.249   12.532    0.000
#>     int3pbc3          3.054    0.244   12.506    0.000
#>     int4pbc3          3.085    0.247   12.513    0.000
#>     int1pbc4          1.334    0.128   10.407    0.000
#>     int2pbc4          1.421    0.136   10.419    0.000
#>     int3pbc4          1.420    0.136   10.435    0.000
#>     int4pbc4          1.415    0.136   10.394    0.000
#> 
#> Regressions:
#>                    Estimate  Std.Err  z-value  P(>|z|)
#>   INT ~                                               
#>     ATT               0.285    0.032    9.045    0.000
#>     SN               -0.027    0.021   -1.292    0.196
#>     PBC               3.060    0.236   12.970    0.000
#>   BEH ~                                               
#>     INT               0.655    0.040   16.413    0.000
#>     PBC               0.661    0.162    4.076    0.000
#>     INTPBC            0.301    0.030   10.203    0.000
#> 
#> Covariances:
#>                    Estimate  Std.Err  z-value  P(>|z|)
#>  .int1pbc1 ~~                                         
#>    .int1pbc2          0.347    0.046    7.492    0.000
#>    .int1pbc3          0.710    0.048   14.765    0.000
#>    .int1pbc4          0.608    0.045   13.415    0.000
#>    .int2pbc1         11.501    0.394   29.197    0.000
#>    .int3pbc1         11.101    0.383   28.960    0.000
#>    .int4pbc1         11.460    0.393   29.194    0.000
#>  .int1pbc2 ~~                                         
#>    .int1pbc3          1.051    0.054   19.521    0.000
#>    .int1pbc4          0.592    0.044   13.378    0.000
#>    .int2pbc2          2.394    0.250    9.567    0.000
#>    .int3pbc2          2.167    0.243    8.903    0.000
#>    .int4pbc2          2.387    0.250    9.564    0.000
#>  .int1pbc3 ~~                                         
#>    .int1pbc4          0.602    0.044   13.705    0.000
#>    .int2pbc3          1.922    0.256    7.516    0.000
#>    .int3pbc3          1.741    0.249    6.992    0.000
#>    .int4pbc3          2.017    0.257    7.862    0.000
#>  .int1pbc4 ~~                                         
#>    .int2pbc4         12.268    0.418   29.329    0.000
#>    .int3pbc4         12.100    0.415   29.183    0.000
#>    .int4pbc4         12.187    0.417   29.202    0.000
#>  .int2pbc1 ~~                                         
#>    .int2pbc2          0.136    0.031    4.402    0.000
#>    .int2pbc3          0.155    0.029    5.319    0.000
#>    .int2pbc4          0.380    0.028   13.706    0.000
#>    .int3pbc1         11.646    0.395   29.508    0.000
#>    .int4pbc1         11.717    0.399   29.377    0.000
#>  .int2pbc2 ~~                                         
#>    .int2pbc3          0.664    0.039   17.197    0.000
#>    .int2pbc4          0.239    0.028    8.636    0.000
#>    .int3pbc2          2.226    0.250    8.921    0.000
#>    .int4pbc2          2.448    0.256    9.582    0.000
#>  .int2pbc3 ~~                                         
#>    .int2pbc4          0.286    0.026   10.863    0.000
#>    .int3pbc3          2.036    0.253    8.054    0.000
#>    .int4pbc3          2.187    0.259    8.438    0.000
#>  .int2pbc4 ~~                                         
#>    .int3pbc4         12.514    0.423   29.604    0.000
#>    .int4pbc4         12.503    0.423   29.559    0.000
#>  .int3pbc1 ~~                                         
#>    .int3pbc2          0.168    0.038    4.462    0.000
#>    .int3pbc3          0.086    0.034    2.525    0.012
#>    .int3pbc4          0.405    0.028   14.492    0.000
#>    .int4pbc1         11.635    0.394   29.555    0.000
#>  .int3pbc2 ~~                                         
#>    .int3pbc3          1.262    0.058   21.633    0.000
#>    .int3pbc4         -0.025    0.033   -0.749    0.454
#>    .int4pbc2          2.275    0.249    9.129    0.000
#>  .int3pbc3 ~~                                         
#>    .int3pbc4          0.022    0.031    0.732    0.464
#>    .int4pbc3          2.057    0.253    8.132    0.000
#>  .int3pbc4 ~~                                         
#>    .int4pbc4         12.449    0.422   29.502    0.000
#>  .int4pbc1 ~~                                         
#>    .int4pbc2          0.371    0.034   10.872    0.000
#>    .int4pbc3          0.315    0.032    9.861    0.000
#>    .int4pbc4          0.436    0.031   14.284    0.000
#>  .int4pbc2 ~~                                         
#>    .int4pbc3          0.856    0.043   19.798    0.000
#>    .int4pbc4          0.402    0.032   12.461    0.000
#>  .int4pbc3 ~~                                         
#>    .int4pbc4          0.381    0.030   12.519    0.000
#>   ATT ~~                                              
#>     SN                1.396    0.069   20.138    0.000
#>     PBC               0.698    0.057   12.328    0.000
#>     INTPBC           -0.076    0.042   -1.812    0.070
#>   SN ~~                                               
#>     PBC               0.499    0.042   11.979    0.000
#>     INTPBC           -0.161    0.039   -4.069    0.000
#>   PBC ~~                                              
#>     INTPBC           -0.025    0.015   -1.686    0.092
#> 
#> Variances:
#>                    Estimate  Std.Err  z-value  P(>|z|)
#>    .att1              1.655    0.056   29.355    0.000
#>    .att2              0.401    0.021   19.137    0.000
#>    .att3              0.341    0.021   16.264    0.000
#>    .att4              1.814    0.061   29.681    0.000
#>    .att5              1.937    0.065   29.583    0.000
#>    .sn1               1.153    0.041   28.164    0.000
#>    .sn2               0.462    0.026   17.643    0.000
#>    .sn3               0.265    0.024   10.851    0.000
#>    .pbc1              2.492    0.081   30.637    0.000
#>    .pbc2              0.457    0.026   17.592    0.000
#>    .pbc3              0.673    0.029   23.529    0.000
#>    .pbc4              2.435    0.080   30.532    0.000
#>    .int1              0.459    0.017   26.523    0.000
#>    .int2              0.238    0.011   21.798    0.000
#>    .int3              0.326    0.013   24.500    0.000
#>    .int4              0.287    0.012   23.487    0.000
#>    .beh1              0.726    0.028   25.914    0.000
#>    .beh2              0.598    0.027   21.856    0.000
#>    .beh3              0.405    0.023   17.417    0.000
#>    .int1pbc1         12.817    0.408   31.423    0.000
#>    .int2pbc1         12.695    0.412   30.782    0.000
#>    .int3pbc1         12.269    0.397   30.909    0.000
#>    .int4pbc1         12.712    0.411   30.942    0.000
#>    .int1pbc2          3.897    0.261   14.909    0.000
#>    .int2pbc2          3.357    0.265   12.655    0.000
#>    .int3pbc2          3.872    0.263   14.699    0.000
#>    .int4pbc2          3.591    0.265   13.536    0.000
#>    .int1pbc3          3.299    0.267   12.341    0.000
#>    .int2pbc3          2.945    0.267   11.041    0.000
#>    .int3pbc3          3.355    0.263   12.767    0.000
#>    .int4pbc3          3.252    0.269   12.076    0.000
#>    .int1pbc4         13.349    0.430   31.021    0.000
#>    .int2pbc4         13.223    0.431   30.654    0.000
#>    .int3pbc4         13.064    0.428   30.496    0.000
#>    .int4pbc4         13.289    0.432   30.728    0.000
#>     ATT               2.294    0.118   19.483    0.000
#>     SN                1.811    0.090   20.067    0.000
#>     PBC               0.277    0.040    6.925    0.000
#>    .INT               0.366    0.022   16.896    0.000
#>    .BEH               0.477    0.024   20.177    0.000
#>     INTPBC            1.234    0.197    6.270    0.000
#>