Skip to content

Applying weights (mode_A) to composite instead of reflective?  #1

@GreyMerchant

Description

@GreyMerchant

Hello there,

Thank you for this great package! So the code below runs as I expected. I do however want to be able to run the reflective with weights = mode_A but I see that is only available for the composite(). Is there some way I can do this on reflective at all?

Essentially, I am trying to match seminr as closely as possible to actual SmartPLS.


library(seminr)

mobi_mm <- constructs(
  reflective("Image",         multi_items("IMAG", 1:5)), #correlation weight
  reflective("Expectation",   multi_items("CUEX", 1:3)),
  reflective("Quality",       multi_items("PERQ", 1:7)),
  reflective("Value",         multi_items("PERV", 1:2)),
  reflective("Satisfaction", multi_items("CUSA", 1:3)),
  reflective("Complaints",   single_item("CUSCO")),
  reflective("Loyalty",      multi_items("CUSL", 1:3))
)



mobi_sm <- relationships(
  paths(from = "Image",        to = c("Expectation", "Satisfaction", "Loyalty")),
  paths(from = "Expectation",  to = c("Quality", "Value", "Satisfaction")),
  paths(from = "Quality",      to = c("Value", "Satisfaction")),
  paths(from = "Value",        to = c("Satisfaction")),
  paths(from = "Satisfaction", to = c("Complaints", "Loyalty")),
  paths(from = "Complaints",   to = "Loyalty")
)

mobi_pls <- estimate_pls(data = mobi,
                         measurement_model = mobi_mm,
                         structural_model = mobi_sm,
                         inner_weights = path_weighting)


summary(mobi_pls)

mobi_pls$outer_loadings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions