Displaying 3 results from an estimated 3 matches for "income2".
Did you mean:
income
2010 Feb 17
1
Ordered Logit in R
...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.006006362 0...
2011 Nov 18
2
Export Tree for latex
Hello everybody.
I'm trying to send the result of a decision tree for latex, but I do not
get with the package(xtable), there is a package that make this export
Export this for latex
marital.status = Divorced
| educational.num <= 12: <=50K (1795.0/90.0)
| educational.num > 12
| | hours.per.week <= 41: <=50K (302.0/58.0)
| | hours.per.week > 41
| | |
2011 Nov 13
1
libary(Rweka) J48 design tree
...gives me the following
message
plot(m1)
Error in plot.Weka_tree(m1) :
Plotting of trees with multi-way splits is currently not implemented.
#The code
library(RWeka)
library(randomForest)
library(party)
if(require(mlbench, quietly = TRUE) && require(party, quietly = TRUE))
m1 <- J48(income2 ~ age+workclass+native.country, data = dataset)
m1
plot(m1)
and results
#M1 Results
workclass = ?: <=50K (1433.0/120.0)
workclass = Federal-gov: <=50K (696.0/281.0)
workclass = Local-gov: <=50K (1542.0/469.0)
workclass = Never-worked: <=50K (5.0)
workclass = Private: <=50K (16939.0/3...