Displaying 3 results from an estimated 3 matches for "race2".
Did you mean:
race
2010 Feb 17
1
Ordered Logit in R
...ordered logistic regression model. I've run the following code, but the output does not provide the p-values. Is there some command to include the p-values in the output.
reg2 <- polr(trade1 ~ age2 + education2 + personal2 + economy2 + partisan2 + employment2 + union2 + home2 + market2 + race2 + income2)
summary(reg2)
Re-fitting to get Hessian#
Call:
polr(formula = trade1 ~ age2 + education2 + personal2 + economy2 +
partisan2 + employment2 + union2 + home2 + market2 + race2 +
income2)
Coefficients:
Value Std. Error t value
age2 0.003499077 0.00...
2011 Feb 01
1
dotchart {graphics} 2.11.1 vs. 2.12.1
...t or dotchart.
I tried the following in R2.12.1 :
> dotchart(table(school$Race))
Error in plot.xy(xy.coords(x, y), type = type, ...) : invalid plot type
Using the same data set in R2.11.1 the operation succeeded (I tried several variations to be sure):
> dotchart(table(school$Race))
> race2<-table(school$Race)
> dotchart(race2)
> dotchart(race2, pch=17,col="red")
Each of these worked in 2.11.1 but not in 2.12.1; What changed in the {graphics} package to alter this and is there a work-around?
Isaac T. Van Patten, Ph.D.
Professor of Criminal Justice
307 Adams Stree...
2005 Sep 27
0
Help: A application error and failed just-in-debugging.
...has occurred in Rgui.exe.
However, no debuggers are registered that can debug this exception.
Unable to JIT debug.
In my program, I first source("sump6d2.q") to get data from splus, and
attach(sump6d2),
Whenever I run this part of program, the error pops up:
library(mix)
Y<-cbind(race2,nodes,htypeed1,htypeed2,ngraded2,blood2,agem40,agem40sq,e
r,pr) #<--Y has to be a matrix for mix
s<-prelim.mix(Y,6)
#----------------------------run multiple
imputation------------------------------#
MI<-vector("list",10) #<--vector of complete data after MI
fit.model.mi&l...