Dear all! I have count data (number of positive malaria cases) for different adminisrtative units. I would like to model cases of malaria based on differente climatic, conectivity and LULCC covariates measured over different years (2008-2019). I was reading and was also adviiced to use growth curve models usign SEM, as I also would like to see for interactions between climate, conectivity and LULCC. I investigated the distribution of my data and I found overdispersion and excess of 0s, around 76% of my data has ceros. Thus I guess I should use a GSEM. I found information about using sem for longitudinal data, using gsem for zero-inflated data, but I have not find information about using GSEM for zero-inflated longitudinal data. If you have a clue where to search.
I use this code fro gsem with zero-inflated data, but I do not know how to incluye time
gsem(2: casos2008<- ,family(pointmass 0)) (1: casos2008<- longitud_vias longitud_rios pd_ca2008, family (nbinomial))
And I used this one for longitudinal data but I do not know how to specify my data distribution
gsem(casos2008<- I@1 S@0 _cons@0) (casos2009<- I@1 S@1 _cons@0) (casos2010<- I@1 S@2 _cons@0), var(e.casos2008
> @var e.casos2009@var e.casos2010@var) means(I S) family(nbinomial constant) link(log))
Thank you very much for the help. Attached is my data
I use this code fro gsem with zero-inflated data, but I do not know how to incluye time
gsem(2: casos2008<- ,family(pointmass 0)) (1: casos2008<- longitud_vias longitud_rios pd_ca2008, family (nbinomial))
And I used this one for longitudinal data but I do not know how to specify my data distribution
gsem(casos2008<- I@1 S@0 _cons@0) (casos2009<- I@1 S@1 _cons@0) (casos2010<- I@1 S@2 _cons@0), var(e.casos2008
> @var e.casos2009@var e.casos2010@var) means(I S) family(nbinomial constant) link(log))
Thank you very much for the help. Attached is my data
Comment