five

A non-technical guide for conducting open and reproducible PLS-SEM analyses using the "cSEM" package in R/RStudio

收藏
DataCite Commons2021-02-20 更新2024-07-28 收录
下载链接:
https://figshare.com/articles/dataset/A_nontechical_guide_for_conducting_open_and_reproducible_PLS-SEM_analyses_using_the_cSEM_package_in_R_RStudio/14067779
下载链接
链接失效反馈
官方服务:
资源简介:
<br> # Install the fillowing packages and recall libraries in R using this command: if (!require(cSEM, quietly = TRUE)) { install.packages("devtools") library(devtools) install_github("M-E-Rademaker/cSEM") } library(cSEM) # Now Set a working directory using this command: setwd("D:/Secondary") # Specify your model satisfaction_mod # Reflective measurement model IMAG =~ imag1 + imag2 + imag3 SAT =~ sat1 + sat2 + sat3 + sat4 LOY =~ loy1 + loy2 + loy3 + loy4 # Structural model LOY ~ SAT + IMAG " # Estimate model satisfaction_res .model = satisfaction_mod, .PLS_weight_scheme_inner = "path", .disattenuate = FALSE, .tolerance = 1e-07) summarize(satisfaction_res) assess(satisfaction_res) # We note that the output of the summarize() function contains a lot of NAs. This is due to the fact that we did not explicitly require to use the bootstrap to perform inference. To do that, we need to include the .resample_method = "bootstrap" argument as in the next example: satisfaction_boot .model = satisfaction_mod, .PLS_weight_scheme_inner = "path", .disattenuate = TRUE, .tolerance = 1e-07, .resample_method = "bootstrap", .R = 1000, .seed = 1406) summarize(satisfaction_boot, .ci = "CI_percentile")
提供机构:
figshare
创建时间:
2021-02-20
二维码
社区交流群
二维码
科研交流群
商业服务