search for: wvsab

Displaying 3 results from an estimated 3 matches for "wvsab".

Did you mean: wvsa
2013 Mar 28
1
unique not working
i am using mac OSX 10.7.5, running R version 2.15.2 (2012-10-26) -- "Trick or Treat" when i do: uncountry <- unique(wvsAB[,7]) wvsAB$numcountry <- match(wvsAB$country, uncountry) "unstate" isn't attaching. > library(base) > uncountry <- unique(wvsAB[,7]) > wvsAB$numcountry <- match(wvsAB$country, uncountry) > ls(wvsAB) [1] "age" "country" "cpi&quo...
2013 Mar 28
4
bayesian HLM random effects
Hello, all. I've been working on this for sometime and was almost at the end/ last chunk of code i would need.... When I received an error. Rather than go to bed and think about it in the morning, I messed with my data and now I am not getting anything. I was up until 4am trying to fix this. Zip files of my data are attached (the data which ends in 'a' matches with wvsA and the
2013 Mar 31
1
lmer effects-type plot?
...yeild something useful like dr. fox's effects plot package. this is my model, where dem is democracy ranked continuous 1:10, trsut is a 3 level categorical variable, cpi is 1:10, etc... > hier.jags2.mod <- lmer(dem ~ trust*cpi + age + gender + educ + income + (1 + trust | country), data=wvsAB) i have tried the following: > tmp <- as.data.frame(confint(glht(.hier.jags2.mod))$confint) > tmp$Comparison <- rownames(tmp) > q<-(ggplot(tmp, aes(x = Comparison, y = Estimate, ymin = lwr, ymax = upr, srt = 45)) + geom_errorbar() + geom_point()) > q + theme(axis.text.x=them...