You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using seminr to analyse data from a survey with PLS-SEM. However, I would like to apply some post-stratification weights to each observation (survey answers). I generated the weights using the anesrake library, so I already have a weight factor for each observation.
Please note that post-stratification weights is an entirely different concept than the path weights, correlation weights, regression weights, etc, that are currently supported by seminr.
I was able to perform simple statistical analysis with the weighted data using the wpct function from the weights package and the survey package, however it is not possible to gather the weighted data to use in seminr.
I was also able to apply the weights in the lavaan package using the sampling.weights parameter of the sem function, however I prefer to use PLS-SEM instead of the factor-based SEM that lavaan does.
Is there any way to apply the post-stratification weights in the data and perform PLS-SEM using the seminr package?
The text was updated successfully, but these errors were encountered:
Thanks for the precise answer.
Yes, I believe that might be exactly what I need.
Just so I can adjust my expectations, do you have an idea of a time frame for this feature's implementation?
Depending on your timeline I could still try to use it in my current research. Otherwise I will probably use SmartPLS for this model.
Dear @crmelchior I'm afraid I cannot commit to a timeline at the moment -- the implementation would not take long, but thoroughly testing it and then undergoing CRAN's rigorous submission process are all time consuming. We might also want to bundle other fixes at the same time. Regrettably, I would suggest going with SmartPLS for the interim. I will keep this issue open and maintain updates here in this regard.
Hello,
I am using
seminr
to analyse data from a survey with PLS-SEM. However, I would like to apply some post-stratification weights to each observation (survey answers). I generated the weights using theanesrake
library, so I already have a weight factor for each observation.Please note that post-stratification weights is an entirely different concept than the path weights, correlation weights, regression weights, etc, that are currently supported by
seminr
.I was able to perform simple statistical analysis with the weighted data using the
wpct
function from theweights
package and thesurvey
package, however it is not possible to gather the weighted data to use inseminr
.I was also able to apply the weights in the
lavaan
package using thesampling.weights
parameter of thesem
function, however I prefer to use PLS-SEM instead of the factor-based SEM that lavaan does.Is there any way to apply the post-stratification weights in the data and perform PLS-SEM using the
seminr
package?The text was updated successfully, but these errors were encountered: