The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Linear Models with plssem

This vignette demonstrates how to estimate a traditional linear PLS-SEM using continuous indicators.

Theory of Planned Behavior (Continuous Indicators)

tpb <- '
# Outer Model (Based on Hagger et al., 2007)
  ATT =~ att1 + att2 + att3 + att4 + att5
  SN =~ sn1 + sn2
  PBC =~ pbc1 + pbc2 + pbc3
  INT =~ int1 + int2 + int3
  BEH =~ b1 + b2

# Inner Model (Based on Steinmetz et al., 2011)
  INT ~ ATT + SN + PBC
  BEH ~ INT + PBC
'
fit_tpb <- pls(
  tpb,
  data      = modsem::TPB,
  bootstrap = TRUE,
  boot.R    = 50
)
summary(fit_tpb)
#> plssem (0.1.2) ended normally after 3 iterations
#>   Estimator                                       PLSc
#>   Link                                          LINEAR
#>                                                       
#>   Number of observations                          2000
#>   Number of iterations                               3
#>   Number of latent variables                         5
#>   Number of observed variables                      15
#> 
#> Fit Measures:
#>   Chi-Square                                   106.316
#>   Degrees of Freedom                                82
#>   SRMR                                           0.008
#>   RMSEA                                          0.012
#> 
#> R-squared (indicators):
#>   att1                                           0.847
#>   att2                                           0.825
#>   att3                                           0.805
#>   att4                                           0.745
#>   att5                                           0.845
#>   sn1                                            0.817
#>   sn2                                            0.863
#>   pbc1                                           0.856
#>   pbc2                                           0.859
#>   pbc3                                           0.787
#>   int1                                           0.816
#>   int2                                           0.827
#>   int3                                           0.742
#>   b1                                             0.762
#>   b2                                             0.821
#> 
#> R-squared (latents):
#>   INT                                            0.367
#>   BEH                                            0.210
#> 
#> Latent Variables:
#>                  Estimate  Std.Error  z.value  P(>|z|)
#>   ATT =~        
#>     att1            0.921      0.011   81.964    0.000
#>     att2            0.908      0.014   64.399    0.000
#>     att3            0.897      0.016   55.377    0.000
#>     att4            0.863      0.017   49.660    0.000
#>     att5            0.919      0.013   69.781    0.000
#>   SN =~         
#>     sn1             0.904      0.010   88.457    0.000
#>     sn2             0.929      0.009  102.843    0.000
#>   PBC =~        
#>     pbc1            0.925      0.011   83.560    0.000
#>     pbc2            0.927      0.014   64.663    0.000
#>     pbc3            0.887      0.012   73.682    0.000
#>   INT =~        
#>     int1            0.903      0.014   66.599    0.000
#>     int2            0.909      0.012   75.240    0.000
#>     int3            0.861      0.013   63.989    0.000
#>   BEH =~        
#>     b1              0.873      0.013   65.611    0.000
#>     b2              0.906      0.013   67.832    0.000
#> 
#> Regressions:
#>                  Estimate  Std.Error  z.value  P(>|z|)
#>   INT ~         
#>     ATT             0.243      0.029    8.471    0.000
#>     SN              0.201      0.039    5.125    0.000
#>     PBC             0.240      0.042    5.771    0.000
#>   BEH ~         
#>     PBC             0.308      0.023   13.355    0.000
#>     INT             0.210      0.024    8.870    0.000
#> 
#> Covariances:
#>                  Estimate  Std.Error  z.value  P(>|z|)
#>   ATT ~~        
#>     SN              0.633      0.015   41.213    0.000
#>     PBC             0.692      0.012   60.019    0.000
#>   SN ~~         
#>     PBC             0.696      0.014   50.896    0.000
#> 
#> Variances:
#>                  Estimate  Std.Error  z.value  P(>|z|)
#>     ATT             1.000                             
#>     SN              1.000                             
#>     PBC             1.000                             
#>    .INT             0.633      0.019   32.889    0.000
#>    .BEH             0.790      0.018   44.487    0.000
#>    .att1            0.153      0.021    7.360    0.000
#>    .att2            0.175      0.026    6.832    0.000
#>    .att3            0.195      0.029    6.668    0.000
#>    .att4            0.255      0.030    8.482    0.000
#>    .att5            0.155      0.024    6.435    0.000
#>    .sn1             0.183      0.018    9.936    0.000
#>    .sn2             0.137      0.017    8.110    0.000
#>    .pbc1            0.144      0.020    7.046    0.000
#>    .pbc2            0.141      0.027    5.296    0.000
#>    .pbc3            0.213      0.021    9.958    0.000
#>    .int1            0.184      0.024    7.527    0.000
#>    .int2            0.173      0.022    7.852    0.000
#>    .int3            0.258      0.023   11.168    0.000
#>    .b1              0.238      0.023   10.304    0.000
#>    .b2              0.179      0.024    7.314    0.000

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.