Displaying 6 results from an estimated 6 matches for "educ2".
Did you mean:
educ
2011 Dec 15
1
Reordering a numeric variable
...grouped to my
wishes.
However, R seems to place each element of that variable in alphabetical
order.
When I am running the model, don't I need the model order from lowest to
highest to make an inference that
a one unit change in one variable produced a one unit change in another.
levels(educ)
educ2 = NA
educ2[educ %in% levels(educ)[c(4,7)]] <- "HS or Some College"
educ2[educ %in% levels(educ)[1:2]] <- "College Degree"
educ2[educ %in% levels(educ)[c(3,5)]] <- "Advanced Degree"
educ2[educ %in% levels(educ)[c(6,8)]] <- "Other"
educ2 = factor(ed...
2013 Oct 30
1
disculpe las molestias ...ayuda con MICE
...", "77",
> + "78", "79", "80", "81", "82", "83", "84", "85", "86", "87",
> + "88", "89", "90", "92"), class = "factor"), educ2 = structure(c(3L,
> + 3L, 9L, 7L, 7L, 2L, 3L, 2L, 6L, 6L, 1L, 3L, 2L, 9L, 4L, 7L,
> + 2L, 3L, 9L, 3L, 9L, 3L, 7L, 8L, 3L, 3L, 3L, 7L, 3L, 4L, 4L,
> + 7L, 9L, 3L, 3L, 7L, 3L, 2L, 9L, 2L, 6L, 3L, 2L, 3L, 7L, 3L,
> + 2L, 2L, 2L, 7L), .Label = c("Don't know/Refused...
2013 Oct 30
0
disculpe las molestias ...ayuda con MICE
..., "76", "77",
+ "78", "79", "80", "81", "82", "83", "84", "85", "86", "87",
+ "88", "89", "90", "92"), class = "factor"), educ2 = structure(c(3L,
+ 3L, 9L, 7L, 7L, 2L, 3L, 2L, 6L, 6L, 1L, 3L, 2L, 9L, 4L, 7L,
+ 2L, 3L, 9L, 3L, 9L, 3L, 7L, 8L, 3L, 3L, 3L, 7L, 3L, 4L, 4L,
+ 7L, 9L, 3L, 3L, 7L, 3L, 2L, 9L, 2L, 6L, 3L, 2L, 3L, 7L, 3L,
+ 2L, 2L, 2L, 7L), .Label = c("Don't know/Refused (VOL.)",
+...
2013 Oct 30
2
disculpe las molestias ...ayuda con MICE
...uot;, "76", "77",
"78", "79", "80", "81", "82", "83", "84", "85", "86", "87",
"88", "89", "90", "92"), class = "factor"), educ2 = structure(c(3L,
3L, 9L, 7L, 7L, 2L, 3L, 2L, 6L, 6L, 1L, 3L, 2L, 9L, 4L, 7L,
2L, 3L, 9L, 3L, 9L, 3L, 7L, 8L, 3L, 3L, 3L, 7L, 3L, 4L, 4L,
7L, 9L, 3L, 3L, 7L, 3L, 2L, 9L, 2L, 6L, 3L, 2L, 3L, 7L, 3L,
2L, 2L, 2L, 7L), .Label = c("Don't know/Refused (VOL.)",
"Four...
2003 Sep 08
1
problems with categorical variables
Hi All:
I am working on a dataset of a study on healthcare workers. One of the
variables I am studying is a categorical variable (variable name:EDUC,
indicates educational achievement, with 6 levels: "illiterate", "primary",
"junior high school", "high school completed", "undergraduate", and
"postgraduate").
I want to collapse the
2011 Dec 16
0
Error constructing probabilities in Zelig
...mation I want on first differences
and so forth. Unfortunately, I keep getting an error when running the zelig
function and was wondering if there was a quick alternative for generating
predicted probabilities for a ordered logit in R.
library(Zelig)
mod <- zelig(sold ~ age + gender + marital + educ2 + cars + license +
credit +
type + home + id, model="ologit", data=dat, Hess=TRUE)
summary(mod)
For what it's worth, here's the error from my Zelig code.
> x.out <- setx(mod, credit=1)
Error in dta[complete.cases(mf), names(dta) %in% vars, drop = FALSE] :
incorrec...