How to perform Structural Equation Modeling (SEM) in R

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 26

  • @asadalisarkar4253
    @asadalisarkar4253 Год назад +8

    Please make SEM with Likert based data.

  • @NatashaMWeah
    @NatashaMWeah 10 месяцев назад +1

    Using semplot, what does those codes represent on the path diagram?

  • @MalikG-pt3ie
    @MalikG-pt3ie 8 месяцев назад +1

    Very helpful for understanding SEM in R

  • @chiaras2274
    @chiaras2274 7 месяцев назад +1

    Can i use it also if one of my dependent variable is dummy?

    • @AGRONInfoTech
      @AGRONInfoTech  7 месяцев назад +1

      Yes, you can use even if one of your dependent variables is a dummy variable (binary). SEM can handle both continuous and categorical (including binary) variables.

    • @AGRONInfoTech
      @AGRONInfoTech  7 месяцев назад +1

      I shall soon upload one more video tutorial on SEM using likert scale data.

    • @chiaras2274
      @chiaras2274 7 месяцев назад

      @@AGRONInfoTech does this specification consider the correlation between errors? For instance in stata to get estimation coefficient equivalent to ivregress you must specify cov(e*e), is it the same in this package?

    • @AGRONInfoTech
      @AGRONInfoTech  7 месяцев назад +1

      @@chiaras2274 In the lavaan package for R, you can specify correlations between the errors of different equations (residual covariances) directly in the model syntax. This is similar to specifying cov(e*e) in Stata to account for Correlationterms.
      For example:
      # Define the model with correlation term
      model

  • @hassanarena
    @hassanarena 5 месяцев назад +1

    can you provide the dataset file.

    • @AGRONInfoTech
      @AGRONInfoTech  5 месяцев назад +1

      You can download the dataset from the link provided in the description of this video.

  • @quratulainraza3078
    @quratulainraza3078 Месяц назад

    How to rename the text in boxes on SEM plot?

    • @AGRONInfoTech
      @AGRONInfoTech  28 дней назад

      You can achieve this while specifying the model and creating the mod.id object. Simply use the desired names for the latent variables instead of "EA" and "YC." For other variables used from the dataset, you can rename them either in the Excel sheet before importing the data or by defining the column names after importing it.

  • @ldsharma6546
    @ldsharma6546 5 месяцев назад +1

    Sir, I have analysed 7 fractions of soil zinc and other soil chemical properties. How can I develop a SEM using my data. Could you please teach me.

    • @AGRONInfoTech
      @AGRONInfoTech  5 месяцев назад +1

      You may use the following model for your data as I am not aware of the complete list of variables. Here is the model:
      # Example SEM model
      model

    • @ldsharma6546
      @ldsharma6546 5 месяцев назад +1

      @@AGRONInfoTech Thank you Sir

    • @AGRONInfoTech
      @AGRONInfoTech  5 месяцев назад +1

      @ldsharma6546 you are welcome

  • @vivikinda
    @vivikinda Год назад

    hii, what journal do you get the data in the video from?

    • @AGRONInfoTech
      @AGRONInfoTech  Год назад

      Hi it's not published data. I have used it just as an example. You may say it's dummy dataset

  • @biologicalstatistics3320
    @biologicalstatistics3320 Год назад

    How is lavaan different from other model-generating packages in R?

    • @AGRONInfoTech
      @AGRONInfoTech  Год назад +1

      Lavaan supports a wide range of models, including confirmatory factor analysis (CFA), path analysis, structural equation modeling, and growth curve modeling. It also allows for the estimation of complex models involving multiple latent variables and observed indicators.

    • @biologicalstatistics3320
      @biologicalstatistics3320 Год назад

      @@AGRONInfoTech thanks.

  • @redamed6379
    @redamed6379 9 месяцев назад

    can we use Pls method ?

    • @AGRONInfoTech
      @AGRONInfoTech  9 месяцев назад

      Yes, absolutely! Partial Least Squares (PLS) is a popular method for structural equation modeling (SEM) and can be effectively used.

  • @TAOFEEKAGBATOGUN
    @TAOFEEKAGBATOGUN 3 месяца назад

    good job, I need codes to use the model. Anyone should help me

    • @AGRONInfoTech
      @AGRONInfoTech  3 месяца назад

      Thanks. The link is given in the description of this video. My website is under renewal process and will work within 24 hours