Questions tagged [sem]

SEM stands for search engine marketing. Google Adwords is one of the most common ways of SEM. SEM is different from SEO in several ways.

SEM stands for search engine marketing. Google Adwords is one of the most common ways of SEM.

SEM is different from SEO in several ways:

  • With SEM it's common to pay per click.
  • SEM usually gives results (i.e. more traffic) quickly.
42 questions
2
votes
1 answer

CFA in R: The variance-covariance matrix of the estimated parameters (vcov) does not appear to be positive definite

I am trying to validate a psychometric using CFA in R, the scale was measure using 5-point likert scale. 6-factor model, 66 items in the model, N = 200. Here is part of my…
ZXX
  • 21
  • 1
  • 3
2
votes
1 answer

How to Add Title To SEM Plot in R

This is what I have for the plot: semPaths(twofac7items_b,"std","est", rotation = 2, style = "lisrel",nCharNodes = 0,nodeNames=nodeNames,layout = "tree2", filetype = "pdf", width = 8, height = 6, filename = "Two Factor", …
Shawn Hemelstrand
  • 2,676
  • 4
  • 17
  • 30
2
votes
1 answer

R draw diagram with custom coefficients

I want to draw the following diagram in R: I saw that the lavaan package has a function to build diagrams, however you need to provide an already fitted model. I just want to build the diagram above with my own coefficients and use it in Rmarkdown.…
mat
  • 2,412
  • 5
  • 31
  • 69
2
votes
1 answer

How do i get profile id's and related data in sailthru?

I need to pull data from Sailthru using .NET API to get following columns: profile_id, email, hash, send_time, open_time, click_time, first_ten_clicks, first_ten_clicks_time, purchase_time, device I have gone through the site also tried few…
Tweety01
  • 176
  • 2
  • 17
1
vote
1 answer

Associate Adwords info with Contacts / Conversions on my website

My company run ads on Adwords for quite a while now. We provide a special kind of Construction Services. Since our solution is very complex, some people dont quite understand what we are offering but convert into a contact anyway. This happens…
ddutra
  • 71
  • 1
  • 1
  • 3
1
vote
0 answers

LAAVAN (SEM): error in solve.default(X[[i]], ...), Lapack routine dgesv: system is exactly singular: U[3,3] = 0

I have done a SEM model in laavan. I looked at direct effect of genes on cognition and indirect effect of gene on cognition via mediator (brain volume). The code is below: mydata <- apply(mydata, 2, scale) model <- "# a path Brain_volume ~…
DobraVila
  • 23
  • 3
1
vote
1 answer

Difficulties with the ParcelAllocation function

I want to do a structural equation model with several latent variables with item parcels. Some parcels shall be created randomly. I am currently struggling with the "parcelAllocation" function (semTools) and hope that someone can help me out! My…
Chrissie
  • 11
  • 2
1
vote
1 answer

sem_wait never returns a return value

I am trying to create a lock using sem_wait() and I have a printf before and after the sem_wait call. (I do not see this being printed: printf("after sem wait ");) The sem_wait call never returns. sem_t* sem; Thank you int 32_t retVal =…
1
vote
1 answer

How to repeat several similar named variables in lavaan model syntax easily?

Suppose we have a data frame like the one below. The numbers are irrelevant to my actual query, so I have simply given them the same value. df <- data.frame(ABC_1 = c(1,2,3), ABC_2 = c(1,2,3), ABC_3 = c(1,2,3), …
Shawn Hemelstrand
  • 2,676
  • 4
  • 17
  • 30
1
vote
0 answers

Stop lavaan's `sem()` function to print output

I am trying to run Monte Carlo simulations using R with the lavaan package and its function sem(). However, at every iteration, the output of sem() is showed, which is not very convenient. Is there a known way to stop that. Here is a minimal…
POC
  • 268
  • 1
  • 2
  • 7
1
vote
0 answers

Comparing standardized factor loadings between non nested models

For my master thesis I am comparing Models using SEM (lavaan). I conducted an online survey to validate new scales to assess ict stress factors and resources. Since the questionnaire was quite long and I suspected there might be problems with…
Hans Ueli
  • 21
  • 2
1
vote
1 answer

How can I deal with the Lavaan error: "syntax error in lavaan model syntax"?

I am trying to do a CFA for the first time. Lavaan gives the following error. Error in lavParseModelString(model) : lavaan ERROR: syntax error in lavaan model syntax My code looks simplified like this: mycfa <- 'Construct =~ A + …
formatc
  • 35
  • 5
1
vote
1 answer

Extract error covariance matrix from lavaan

I want to extract the error covariance matrix from sem() but I don't know if I did it correctly. I used inspect("cov.ov") and for "cov.ov" the document says "The model-implied variance-covariance matrix". So is this the same as error covariance…
cliu
  • 933
  • 6
  • 13
0
votes
0 answers

Structural modelling in PLS-SEM model with seminr (R)

I am trying to compute a PlS-SEM model using seminr, but it doesn't seem to work well: I can't even show the summary of the model. Is it because the structural model isn't well defined? These are the path coefficients in my…
PaulaV
  • 13
  • 4
0
votes
0 answers

lavaan - sem composite second order - LVS?

I conducted a survey with almost 400 responses. I have a model in which I set relationships among different variables. One of them is a second-order factor (OP) which I theoretically consider formative (formed by OPA, OPE, OPI and OPO, see pic…
1
2 3