Re: [R] r code for multilevel latent class analysis

2016-07-09 Thread Cristina Cametti
Dear all, thank you very much for your suggestions! About the fact that I put my variables plus 1, it is because if I don�t do it, I get this message: ALERT: some manifest variables contain values that are not positive integers. For poLCA to run, please recode categorical outcome variabl

Re: [R] r code for multilevel latent class analysis

2016-07-07 Thread David Winsemius
> On Jul 7, 2016, at 3:36 PM, Jim Lemon wrote: > > Hi Cristina, > Try this: > > names(mydata) > > It may be NULL or "ppitrst" may be absent. I've already suggested to Christina that she make sure the variables are spelled correctly and she reports they are all present in her dataset. So I t

Re: [R] r code for multilevel latent class analysis

2016-07-07 Thread Jim Lemon
Hi Cristina, Try this: names(mydata) It may be NULL or "ppitrst" may be absent. Jim On Thu, Jul 7, 2016 at 8:26 PM, Cristina Cametti wrote: > Dear all, > > I am not able to find a reliable r code to run a multilevel latent class > model. Indeed, I have to analyze how social trust (three vari

Re: [R] R code for multilevel latent class analysis

2016-07-07 Thread David Winsemius
> On Jul 7, 2016, at 4:31 AM, Yahoo Mail via R-help > wrote: > > Dear all, > > I am not able to find a reliable r code to run a multilevel latent class > model. Indeed, I have to analyze how social trust (three variables form the > ESS survey) might vary between countries (21 countries in my

Re: [R] r code for multilevel latent class analysis

2016-07-07 Thread Anthony Damico
start at https://github.com/ajdamico/asdfree/blob/master/European%20Social%20Survey/structural%20equation%20modeling%20examples.R maybe? On Thu, Jul 7, 2016 at 6:26 AM, Cristina Cametti wrote: > Dear all, > > I am not able to find a reliable r code to run a multilevel latent class > model. Indee

[R] R code for multilevel latent class analysis

2016-07-07 Thread Yahoo Mail via R-help
Dear all, I am not able to find a reliable r code to run a multilevel latent class model. Indeed, I have to analyze how social trust (three variables form the ESS survey) might vary between countries (21 countries in my database). I tried to use the poLCA package but I am not sure if my code is

[R] r code for multilevel latent class analysis

2016-07-07 Thread Cristina Cametti
Dear all, I am not able to find a reliable r code to run a multilevel latent class model. Indeed, I have to analyze how social trust (three variables form the ESS survey) might vary between countries (21 countries in my database). I tried to use the poLCA package but I am not sure if my code is