Path analysis in R | SEM | Lavaan

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

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

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

    Thank you very much! A quick question. Aren't we supposed to check model assumptions like we do after fitting a regression model? Or is it enough to look at only fit indices CFI, TLI , chi square, RMSEA and SRMR?

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

      In SEM, we are primarily interested in the overall fit of the model to the data. This is where fit indices like the Comparative Fit Index (CFI), Tucker-Lewis Index (TLI), Chi-square, Root Mean Square Error of Approximation (RMSEA), and Standardized Root Mean Square Residual (SRMR) come into play. These indices provide a measure of how well the model reproduces the data (or covariance matrix) and are crucial for evaluating the adequacy of the model.
      However, this doesn’t mean we ignore the assumptions (Linearity, Multivariate normality, independence of errors) entirely.

  • @md.masumbillah8222
    @md.masumbillah8222 2 года назад +1

    THANKS FOR NICE VEDIO. How did you handle variables such as priming, water and rep in your analysis , I mean did you consider those as well. Please help me as my problem is something similar . Advance thanks

  • @evahormann1804
    @evahormann1804 2 года назад +1

    Thank you for the great video!
    I`m new with R and I do not understand how you could interpret the significance levels or the correlations between the variables from the output. Could you please explain this?

  • @halagundegowdagr2877
    @halagundegowdagr2877 11 месяцев назад +1

    Thanks Sir, Very Informative!!

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

    Thank you very much, Sir!

  • @farrukhshehzad1279
    @farrukhshehzad1279 3 года назад +1

    Thanks dear for a good video about path analysis

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

    You are the best! Thanks for this ❤️

  • @shahfahadalishah1152
    @shahfahadalishah1152 3 года назад +1

    So interesting and knowledgeable for me.
    Sir in another also includes fixed effect and random effect sem model. Thanks

    • @AGRONInfoTech
      @AGRONInfoTech  3 года назад

      Thanks for your support. I shall keep it in loop.

  • @mylifeisinhishandsamen4167
    @mylifeisinhishandsamen4167 3 года назад

    Hi, thank you for this lecture. I would like to ask how to go about a case where I have two IV and two moderators. I think the model specification will be modelspec

  • @andrepfferraz
    @andrepfferraz 3 года назад +1

    Very good. Thanks.

  • @mohammedsaeed5724
    @mohammedsaeed5724 2 месяца назад

    When i calculate vaeiability through R Studio, the result shows negative values in fcal. Please suggest me your opinion and let me know if there is any corrections

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

      Please share your code and output at agron.infotech@gmail.com

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

    There is a small mistake "data$rep = as.factor(data_corr$priming)” is incorrect. it should be priming on the left side too

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

    Very informative. Would you please like to share the code and dataset.

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

      Please visit below link: www.agroninfo.com/how-to-perform-structural-equation-modeling-sem-in-r/

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

    in model estimation step the output is like this
    mod.est = sem(model = mod.id,
    + data = data)
    Error in if ((!is.matrix(model)) | ncol(model) != 3) stop("model argument must be a 3-column matrix") :
    argument is of length zero
    how to rectify this sir

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

      The error message you’re seeing typically occurs when the model argument in the sem() function doesn’t recognize the input as a valid model specification. In your case, it seems like mod.id might not be correctly specified.
      mod.id = '
      latent1 =~ observed1 + observed2 + observed3
      latent2 =~ observed4 + observed5 + observed6
      observed7 ~ latent1 + latent2
      '

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

      @@AGRONInfoTechgot it rectified thank you so much sir

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

      I'm delighted that it was helpful for you.

  • @mohsinaanjum6992
    @mohsinaanjum6992 3 года назад +1

    Thank you can u please make a tutorial video on redundancy analysis

    • @AGRONInfoTech
      @AGRONInfoTech  3 года назад

      Thanks for your support. I shall try to consider this topic in upcoming videos.

  • @samanthamccann1972
    @samanthamccann1972 2 года назад

    I can never find the function fit.measures, only fitmeasures or fitMeasures, do you know why this is?

    • @AGRONInfoTech
      @AGRONInfoTech  2 года назад

      You are right fitmeasure() and fitMeasures() are functions of lavaan package however I have used fit.measures as an argument which is set to TRUE within summary function.

  • @khanofficial2249
    @khanofficial2249 3 года назад

    Please make video on DDRs, distance decay relationship plot. Will be very appreciated.

    • @AGRONInfoTech
      @AGRONInfoTech  3 года назад

      Thanks for your suggestion. I shall keep it in loop.

  • @Satoshi467
    @Satoshi467 3 года назад

    The dada importing process does not work. I cannot access the data I. literally tried everything but I cannot load a data file data_path.xls which I have not downloaded beforehand.

    • @AGRONInfoTech
      @AGRONInfoTech  3 года назад

      If you have downloaded data from the link in description and then you was unable to import, it means there is some error in path. Share the path you have used.

    • @Satoshi467
      @Satoshi467 3 года назад

      Thanks for your reply! I could not find a link in the description where I can download the data. I only find a link to your blog but there I also cannot find a file for download. Perhaps you could share the link here again?

    • @AGRONInfoTech
      @AGRONInfoTech  3 года назад

      @@Satoshi467 At the end of the blog post you will find a link "Download data file - Click here"
      When you will click the file will automatically download.

    • @soumayaboukrouh6118
      @soumayaboukrouh6118 3 года назад

      I had the same problem. I tried with my data but it didn't work.

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

    Please Prepared SEM with Likert scale based data

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

      Okay I shall create a tutorial on Likert base data. Thank you for your suggestion.

  • @mabantoviaantonettel.biyaa524
    @mabantoviaantonettel.biyaa524 2 года назад

    nakakaiyak. balikan ko to pag naka defense na kami. gajgass