Displaying 20 results from an estimated 27 matches for "amathew".
Did you mean:
mathew
2011 Jul 23
2
xml2-config issues
...package on Ubuntu 10.10, and I keep getting
a warning message the XML could not be found and had non-zero exit
status. How can I fix this problem?
> install.packages()
Loading Tcl/Tk interface ... done
--- Please select a CRAN mirror for use in this session ---
Installing package(s) into ‘/home/amathew/R/i686-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
trying URL '
http://streaming.stat.iastate.edu/CRAN/src/contrib/XML_3.4-0.tar.gz'
Content type 'application/x-gzip' length 896195 bytes (875 Kb)
opened URL
==================================================
downloaded 875 K...
2011 Nov 17
1
Error When Installing the RODBC Package
I'm running R in Ubuntu 10.10 and am trying to install the RODBC package.
However, I get the following error message:
ERROR: configuration failed for package ‘RODBC’
* removing ‘/home/amathew/R/i686-pc-linux-gnu-library/2.13/RODBC’
The downloaded packages are in
‘/tmp/RtmpekzPOQ/downloaded_packages’
Warning message:
In install.packages() :
installation of package 'RODBC' had non-zero exit status
Can anyone help?
I know I've encountered this problem in the past, it'...
2012 Aug 13
3
Using the effects package to plot logit probabilities
...the other predictors).
However, what I want to do is generate the same plot, with won don y axis
and income on x axis, but the curves showing the probabilities for age and
home.
Not seeing how to do this in the effects documentation. Help!
Thanks.
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 22
1
Error message with glm
...;data.frame': 66514 obs. of 2 variables:
$ mwin: Factor w/ 3 levels "","ACCEPTED",..: 2 2 2 2 2 2 2 2 2 2 ...
$ mbid: int 700 300 700 300 500 300 300 700 300 300 ...
Can anyone tell me what I should do to fix the warnings.
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Jul 05
2
Plotting the probability curve from a logit model with 10 predictors
...so predictors in the logit
model. Do I simply expand the
expand.grid() function to include all the variables?
So my question is how do I form a plot of a logit probability curve when I
have 10 predictors?
would be nice to do this in ggplot2.
Thanks!
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Jul 19
3
Removing values from a string
...ance", "<NA>"))
one
Can anyone point me in the right direction? I'm still not too familiar with
regex or gsub to find a solution, and there doesn't seem
to be anything helpful in the stringr package for this task.
Thanks
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 21
1
Predicting a linear model for all combinations
...I'm trying to find is the predicted price for every possible
combination of values in the independent variables.
So Expected price when:
weather=1, gender=male
weather=1, gender=female
weather=2, gender=male
etc.
Can anyone help with this problem?
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Feb 09
1
Grouping together a time variable
...What I am trying to do is group the data into one hour increment. So
5:01-6:00am, 6:01-7:00am, 7:01-8:00a,
and so forth.
However, I'm not sure if there's a simple route to do this in R or how to
do it.
Can anyone point me in the right direction?
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Aug 02
1
Naive Bayes in R
...= "raw")
So far, so good I think (???).
I want to know if there is any diagnostic test to determine the overall
misclassification rate
of a NB classifier, and if there is a function in R that is available to
implement it?
Thanks,
Abraham
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Aug 08
1
Calculating percentages across multiple columns
...at info in R. The percentage of a bid being
sold at the same purchase
price. Can anyone point me in the right direction.
f = data.frame(bid=c(3,5,5,8,3,5,4,2,3,5), purchase=c(6,3,4,5,5,5,6,2,3,7),
sold=c(0,1,0,0,0,1,1,0,0,1))
f
Thanks.
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 15
1
Reordering a numeric variable
...uc2)
levels(educ2)
The above code is how I regrouped the variable. How can I regroup it so
that it's levels
are from lowest to highest. What if they're numeric values"
--
*Abraham Mathew
Statistical Analyst
This or That Media, Inc.
abraham@thisorthat.com
720-648-0108
@abmathewks
www.amathew.com
*
[[alternative HTML version deleted]]
2012 Aug 07
2
Re-grouping data in R
...t$final_purchase_amount)
table(dat$final_purchase_amount)
However, this doesn't seem to produce any levels and returns the following.
> levels(dat$final_purchase_amount)character(0)
Can anyone point to what I'm doing wrong.
Thanks!
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2009 Mar 15
3
read.xls question
I'm an R newbie and had a question about the read.xls function. I've heard that this is often not a reliable function to use for importing data. However, I have created numerous xls files which contain information about voter turnout and macroeconomic indicators in India. I'm writing a paper on the relationship between economic growth and voter turnout.
This is the command I use:
2012 Sep 11
1
Plotting every probability curve
...tor(df$home)
df$income = as.factor(df$income)
df$gender = as.factor(df$gender)
str(df)
m1 = glm(factor(sell) ~ home + income + gender,
data=df, family=binomial(link="logit"))
summary(m1)
library(TeachingDemos)
TkPredict(m1)
Thanks
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 16
0
Incorrect Number of Dimensions in Zelig with setx()
...(dta) %in% vars, drop = FALSE] :
incorrect number of dimensions
I googled this problem and couldn't find anything, minus a question by
me on this same problem from 1.5 years ago. Just don't remember what I
did to solve the problem.
Help!
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 16
0
Error constructing probabilities in Zelig
...dit=1)
Error in dta[complete.cases(mf), names(dta) %in% vars, drop = FALSE] :
incorrect number of dimensions
Can anyone tell me what I might be doing wrong.
If not, can you give me an alternative solution that I can use to generate
the probabilities.
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 16
1
Zellig Error Message
...mod, type=1)Error in dta[complete.cases(mf), names(dta) %in% vars, drop = FALSE] :
incorrect number of dimensions
When I ran the model, I ran everything but the explanatory variable as a
numeric variable. Now, I'm trying everything and no luck.
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2011 Dec 22
0
Finding predicted probabilities
...0, I get 49%.
At 500, it's 49% and at 700 it's 50%.
At 1500, it's 51%
These results are just really weird.
I was expecting an exponential curve when I plotted
mbid by probability of winning, but that doesn't seem
to be the case
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Sep 26
1
Specifying a response variable in a Bayesian network
...uot;won","sold","insured","credit"),
col = "red", fill = "grey")
bn.hc <- hc(dat, score = "aic")
graphviz.plot(bn.hc, highlight=highlight.opts)
Thanks,
Abraham
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]
2012 Oct 15
0
Error message with the effects package - 'Subscript out of bounds'
...graphics grDevices utils datasets
methods base
other attached packages:
[1] effects_2.2-1 colorspace_1.1-1 nnet_7.3-1 MASS_7.3-16
lattice_0.20-0 foreign_0.8-46
loaded via a namespace (and not attached):
[1] tools_2.14.0
--
*Abraham Mathew
Statistical Analyst
www.amathew.com
720-648-0108
@abmathewks*
[[alternative HTML version deleted]]