Displaying 20 results from an estimated 700 matches similar to: "help with 'cem' for r 2.14.2"
2012 Feb 06
0
How do I get the CEM (coarsened exact matching) package to run?
Hi,
I am running a MacBook Pro with OS X 10.6.8. When I try to load library(cem) and run any function, R crashes. Any suggestions as to why this is? Thanks in advance. I think the problem is that I don't have all the "infrastructure" I need to run CEM, but I have no clue what to do either...
#Do I have tcltk (I have no clue what that is)
capabilities("tcltk")
tcltk
2009 Apr 01
4
permission denied errors with rake db:migrate
I am at a loss here and hoping for some advise on where to begin looking
with a series of errors I am suddenly getting when trying to rake:
"anything goes here" ..
lil-loco:/rails/cem craigmartin$ rake db:migrate
(in /rails/cem)
rake aborted!
Permission denied - /rails/cem/db/schema.rb
This is the current error.
lil-loco:/rails/cem craigmartin$ rake db:schema:load
(in /rails/cem)
--
2011 Jun 26
2
how to extract data from a function printout - example provided
Hi there,
Does anyone know how to extract data from a function that prints out two or more summaries? In the function below (the whole code is provided) we get 5 different tables of data. I would like to split each of these tables in a separate file (while the function itself shouldn't be changed), so that further analysis on each data set could be carried out. Your help is deeply
2012 Jun 19
2
matchit - can I weight the parameters?
This may be a really obvious question but I just can't figure out how to do it.
I have a small dataset that I am trying to compare to some controls. It is essential that the controls are matched on Cancer Stage (a numerical factor between 1 and 4), and then ideally on Age (integer), Gender (factor), Performance Status(factor).
I'm using matchit to try and do this, but it seems to give
2005 Jun 15
1
cannot coerce class "matchit" into a data.frame"
Greetings fellow humans,
I am attempting to export a text file after using the MatchIt package to match control with treatment subjects. I attempted to write.table and used the following syntax:
"write.table(social,"shaka.txt",sep=" ",quote=FALSE,row.names=FALSE,col.names= FALSE)"
But received the following error message:
"Error in
2012 Dec 08
1
imputation in mice
Hello! If I understand this listserve correctly, I can email this address
to get help when I am struggling with code. If this is inaccurate, please
let me know, and I will unsubscribe.
I have been struggling with the same error message for a while, and I can't
seem to get past it.
Here is the issue:
I am using a data set that uses -1:-9 to indicate various kinds of missing
data. I changed
2007 Jul 03
1
MatchIt package on Ubuntu 7.04 (Feisty Fawn)
UseRs,
I tried to install the MatchIt package on Ubuntu 7.04. When loading required dependencies I got the following error message:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/usr/local/lib/R/site-library/optmatch/libs/optmatch.so':
/usr/local/lib/R/site-library/optmatch/libs/optmatch.so: cannot map zero-fill pages: Cannot
2011 Nov 05
3
List of user installed packages
Hello,
I am going to install the new version of R 2.14.1. After the
installation, I want to copy my installed packages to the new library. But
since over time I forgot which ones I installed I want to get a list of all
the packages I installed among the packages installed initially by the
R-installer. Is this possible?
Cem
Cem Girit, PhD
Biopticon Corporation
182
2011 Jul 16
1
MatchIt Package
Hi there dear R users!
Anyone knows why does matchit function returns error whenever the "hull" option is used (either "hull.both", "hull.control" or "hull.treat"). Things work well with all the rest of discard options.
This is the error msg.
>m.out.base <- matchit(formula=f, data=d, method=m, discard="hull.control")
[1]
2010 Apr 11
1
Peculiar behaviour with MatchIt and a function
Folks,
I have a strange situation where:
library(MatchIt)
f <- function(d) {
m <- matchit(treatment ~ lsales + major.industry,
data=d, method="nearest", discard="hull.treat")
treatmentfirms <- match.data(m, group="treat")
list(m=m, treatmentfirms=treatmentfirms)
}
res <- f(ex)
does not work at the match.data() call,
2011 Oct 30
1
Parametric tests
Hello,
I am interested in parametric multi comparison tests such as
Dunnett, Duncan, Tukey, Newman-Keuls, Bonferonni, Scheffe, and
non-parametric tests such as Kruskal-Wallis, and Mann-Whitney U. Are there
packages that include most of these tests in each category? Many packages
exist for an individual test but their outputs vary in great detail (test
statistics, p-values, etc.)
2011 Oct 17
3
Extracting results from a function output
Hello,
I am having hard time obtaining a value from a function. "fit" is a survival
function that produces some results, such as "median", "confidence
intervals" etc. But str() function does not list these values. How can I
extract these to be able use them? For example, I need "median" value for
the group DrugA which is 48. "Print" function does
2011 Oct 20
3
Survival analysis
Hello,
I need some results from the survival analysis of my data
that I do not know whether exist in Survival Package or how to obtain if
they do:
1. The Mean survival time
2. The standard error of the mean
3. Point and 95% Lower & Upper Confidence Intervals estimates
Any help will be greatly appreciated.
Cem
[[alternative HTML version
2006 Apr 25
1
Daily package check and --install=no
R-devel,
There has been some confusion on the MatchIt package mailing list on
the meaning of [--install=no] in the comment column of CRAN's
automated package check.
It's my understanding that, at the very least, a package marked like
this will not have its test cases run each night. Are there other
checks that are omitted?
How, if at all, are such install flags related to the
2011 Nov 09
6
Web based R-help not a list
Hello,
Is there a web version of this R-Help user group (such as
the ones under Google Groups) such that
1. I can do a search on any topic over thousands of posts on R easily
and effectively
2. My mailbox do not overflow with emails so that I do not need to
edit it every day
3. I can arrange to receive only the responses to my posts
automatically
4.
2018 Oct 21
2
Instalar paquetes antiguos en Windows 10
Hola a todos! Espero que alguien me pueda echar algo de luz al problema que tengo.
Estoy intentando instalar algunos paquetes antiguos en R (3.3.0), como ?devtools? en su penúltima versión, y me está resultando imposible. Instalé Rtools y R me dice que funciona, pero no consigo hacer que se instale el paquete. He probado bajando el paquete en formato .tar.gz y luego con las instrucciones:
2005 Mar 22
1
List of tables rather than an extra dimension in the table or (l)apply(xtabs)
I'm not sure how to best explain what I am after but here goes. I have a data frame with 2 geographical factors. One is the major region the other is the component regions.
I am trying to process all the regions at the same time without using "for". So I need (think, I do) a list of matrices each structured according to the number of subregions within each region.
So is there a
2006 Jun 18
1
Method for selection bias with multinomial treatment
I have to the treatment effect base on the observational data.And the
treatment variable is multinomial rather than binary.Because the
treatment assignment is not random,so the selection-bias exists.Under
this condition,what's the best way to estimate the treatment effect?
I know that if the treatment is binary,I can use propensity score
matching using MatchIt package.But what about
2005 Jan 11
0
New package: MatchIt
We would like to announce the release of our software MatchIt, now
available on CRAN. MatchIt implements a variety of matching methods for
causal inference.
Abstract:
MatchIt implements the suggestions of Ho, Imai, King, and Stuart (2004)
for improving parametric statistical models by preprocessing data with
nonparametric matching methods. MatchIt implements a wide range of
sophisticated
2005 Jan 11
0
New package: MatchIt
We would like to announce the release of our software MatchIt, now
available on CRAN. MatchIt implements a variety of matching methods for
causal inference.
Abstract:
MatchIt implements the suggestions of Ho, Imai, King, and Stuart (2004)
for improving parametric statistical models by preprocessing data with
nonparametric matching methods. MatchIt implements a wide range of
sophisticated