GithubHelp home page GithubHelp logo

sergioventurini / plssem Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 6.0 3.15 MB

Stata package for Structural Equation Modeling with Partial Least Squares (PLS-SEM)

License: GNU General Public License v3.0

Stata 99.98% TeX 0.02%

plssem's Introduction

plssem

Current release: 0.6.0
Stata version required: at least 15.1

Stata package for Structural Equation Modeling with Partial Least Squares (PLS-SEM).

The companion package for simulating data in accordance with a given PLS-SEM model is available at the following GitHub repository: https://github.com/sergioventurini/plssemsim.

Installation notes

To install plssem directly from GitHub you need to use the github Stata package. You can install the latest version of the github package by executing the following code in your Stata session:

net install github, from("https://haghish.github.io/github/")

Then, you can install the plssem package using the following code in Stata:

github install sergioventurini/plssem

Authors

Sergio Venturini, Department of Economic and Social Sciences, Università Cattolica del Sacro Cuore, Cremona, Italy

E-mail: [email protected]

Mehmet Mehmetoglu, Department of Psychology, Norwegian University of Science and Technology, Trondheim, Norway

E-mail: [email protected]

Bugs

In case you find any bug, please send us an e-mail or open an issue on GitHub.

Citation

You can cite the plssem package as:

Mehmetoglu, M., Venturini, S. (2021). Structural Equation Modelling with Partial Least Squares Using Stata and R. CRC Press

Venturini, S., Mehmetoglu, M. (2019). plssem: A Stata Package for Structural Equation Modeling with Partial Least Squares. Journal of Statistical Software, 88(8)1-35

Paper webpage: https://www.jstatsoft.org/article/view/v088i08

GitHub repository: https://github.com/sergioventurini/plssem

Copyright

This software is distributed under the GPL-3 license (see LICENSE file).

plssem's People

Contributors

sergioventurini avatar

Stargazers

 avatar  avatar Catalin avatar  avatar Iron Hong avatar  avatar  avatar

Watchers

James Cloos avatar  avatar Eric Melse avatar  avatar

plssem's Issues

Binary LV error

Hi, I am trying to use the binary(LV) option in plssem but running into issues. When running the model without the binary option, it runs fine with no error, but as soon as I add the binary(LV) option it outputs the following error:

warning: the use of binary latent variables goes beyond the original scopes of PLS-SEM.
They are provided here only for exploratory purposes.
plssem_base(): 3301 subscript invalid
: - function returned error
Mata run-time error
r(3301);

This only seems to occur when the model is more complex. With only a few LVs the function runs with the binary option:
plssem (A < a)(B < b)(C < c1 c2), structural(A B, B C)binary(A). ---> works fine

plssem (A < a)(B < b)(C < c1 c2)(D < d1 d2 d3)(E < e1), structural(A B D, B C E) binary(A) ---> produces above error.

Could you please advise?
Many thanks

Install issue

Hello, I am trying to install plssem. When I copy the text for installing the package, I receive the error code:

Checking package dependencies
installing plssem package dependencies:

. net install nwcommands-ado.pkg, from(http://www.nwcommands.org)
http://www.nwcommands.org/ either

  1. is not a valid URL, or
  2. could not be contacted, or
  3. is not a Stata download site (has no stata.toc file).

current site is still https://raw.githubusercontent.com/sergioventurini/plssem/master/
r(679);

end of do-file
r(679);

Could you please advise?
Many thanks

plssem_gof() in lplssem, compiled by Stata 17.0 - doesn't work in Stata16

I use STATA 16.1. Below are the command and error message.

. plssem ///

    (IUa > iu1 iu2) /*(OUa > ou1 ou2 ou3)*/ (SIa > si1 si2 si3 si4) (EEa > ee1 ee2 ee3) ///
    (PEa > pe1 pe2 pe3) (HMa > hm1 hm2 hm3 hm4)     (TMIa > tmi1 tmi2 tmi3 /*tmi4*/) ///
    (TRa > tr1 tr2 tr3 tr4) (TAa > ta1 ta2 ta3 ta4 tmi4) /// (PRa > /*pr1*/ pr2 pr3)        ///
    , structural (  ///
    IUa PEa EEa SIa  TMIa HMa TAa TRa  ,    ///
    ) /// group( POS, method(permutation) reps(1000) groupseed(19760303) plot alpha(0.1))   /// 
    digits(3) maxiter(1000) /*boot(100)*/ nomeastable nodiscrimtable //   

(plssem_gof() in lplssem, compiled by Stata 17.0, is too new to be run by this version of Stata and so was ignored)
: 3499 plssem_gof() not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.