modelling
Regards
Duncan
From: euthymios kasvikis [mailto:euthymios.k.kasvi...@gmail.com]
Sent: Tuesday, 7 August 2018 02:22
To: dulca...@bigpond.com
Cc: r-help@r-project.org
Subject: Re: [R] Perform GEE regression in R with multiple dependent variables
Or
library(multgee
Or
library(multgee)
fitord <- ordLORgee(Ideo_Ordinal~ Machiavellianism+Psychopathy+Narcissism,
data=RightWomen,
id= Politician_ID,repeated=Country_ID)
summary(fitord)
Should I use dta$Ideo_Ordinal <- ordered(factor(dta$Ideo_Ordinal)) ?
Στις Δευ, 6 Αυγ 2018 στις 6:00 μ.μ., ο/η
First of all thanks for your advice. So suppose that I would like to use
the multgee package. The model would be like:
library(multgee)
fitord <- ordLORgee(Ideo_Ordinal~ Machiavellianism+Psychopathy+Narcissism,
data=RightWomen,
id= ordered(factor(Country_ID)))
summary(fitord)
Σ
Hi
Please read the geepack manual carefully.
GEE ordinal regression is not simple.
You need to format your data and do not use sample as a storage name. It is
the name of a function
dta is storage
dta$Ideo_Ordinal <- ordered(factor(dta$Ideo_Ordinal))
m0 <-
ordgee(Ideo_Ordinal ~ Machiavellianism
4 matches
Mail list logo