Using R-studio, I am trying to run a structural equation model and I am
running into problems with testing my primary model. Once I specify
everything and try to run it I get this error:
Error in eigen(S, symmetric = TRUE, only.values = TRUE) : 0 x 0 matrix
And when I look at the object for my pr
Hi Petr,
Thank you so much for your help.
You're right, the issue was that I needed to center my predictors by adding
the code 'na.rm=T':
verbal.ability_C <- verbal.ability - mean(verbal.ability, na.rm=T)
That removed the NA values from being included in my centering and allowed
me to run the r
Here is my code:
##Centering predictors###
verbal.ability_C <- verbal.ability - mean(verbal.ability)
children_C <- children - mean(children)
age_C <- age - mean(age)
education_C <- education - mean(education)
work.from.home.frequency_C <- work.from.home.frequency -
mean(work.from.home.fre
Hi Petr!
Thank you for responding to my post.
I checked out all my variables in the way you suggested and they are all in
integer form, but here are many missing values in some of my vectors,
denoted with NA.
So, they are in the correct form, I am just wondering if there is something
else I need
Hi,
I am trying to run two Non-Gaussian regressions: logistic and probit. I am
receiving two different errors when I try to run these regressions and I am
not sure what they mean or how to fix my syntax.
Here is the logistic regression error:
Error in family$linkfun(mustart) :
Argument mu mus
5 matches
Mail list logo