search for: gwu

Displaying 20 results from an estimated 50 matches for "gwu".

Did you mean: gnu
2010 Oct 26
3
stripping #s in a text file prior to reading into table or dataframe
I'm importing a lot of text tables of data (from Latent Gold) that includes hashes in some of the column names ("Cluster#1", "Cluster#2", etc.). Is there an easy way to strip the offending hashes out before pushing the text into a table or data frame? I thought I'd use gsub, e.g., but can't figure out how to read in a text file without reading it into a table or
2007 Dec 03
1
difficulties getting coef() to work in some lmer() calls
...Researcher (Fall 2007 / Spring 2008) Applied Statistics Center Columbia University 1016 Social Work Bldg (Amsterdam Ave. at 122 St.) New York, NY 10027 Assistant Professor Department of Political Science George Washington University Monroe Hall 2115 G Street, NW Washington, D.C. 20052 http://home.gwu.edu/~dkp/ <http://home.gwu.edu/%7Edkp/> Direct: (202) 994-2331 Dept: (202) 994-6290 Fax: (202) 994-7743 "The great tragedy of Science - the slaying of a beautiful hypothesis by an ugly fact." -- Thomas H. Huxley [[alternative HTML version deleted]]
2009 Jul 03
2
mapping states with colors
...sn't work. A couple questions: 1. How do I get Alaska & Hawaii on the map? 2. How to I set the col atttribute for a subset of the states I'm mapping? Many thanks in advance for any help! Don Donald Braman http://www.culturalcognition.net http://ssrn.com/author=286206 http://www.law.gwu.edu/Faculty/profile.aspx?id=10123 [[alternative HTML version deleted]]
2007 Aug 13
1
simulate data from multivariate normal with pre-specified correlation matrix
For example, the correlation matrix is 3x3 and looks like 1 0.75 0 0 0 0.75 1 0 0 0 0 0 0 0 0 Can I write the code like this? p<- 3 # number of variables per observation N<- 10 # number of samples # define population correlation matrix sigma sigma<-matrix(0,p,p) #creates a px p matrix of 0 rank<-2 for (i in 1:rank){ for (j in 1:rank){ rho<-0.75
2002 May 09
3
read.table (PR#1535)
I downloaded the latest version of R (1.5.0) and issued a read.table() command that used to work with (1.3.1). Unfortunately I erased 1.3.1 from my hard drive after I downloaded R 1.5.0. Here's the command and the error message I get under 1.5.0: > golub1<-read.table("C:/Microarrays/code/data_set_ALL_AML_train.txt",sep="\t",q
2008 Jun 22
1
two newbie questions
...ase educate me! # Question2: Could this could be done by using "apply" rather than a loop? # Or is looping better here bc there are several actions performed at each iteration? # I'm still trying to get my head around all the ways to ditch looping in R. Donald Braman http://www.law.gwu.edu/Faculty/profile.aspx?id=10123 http://research.yale.edu/culturalcognition http://ssrn.com/author=286206
2008 May 28
1
manipulating multiply imputed data sets
...es a new one. I suppose I could do this in Python and the use PyR, but I'd really like to learn a bit more about how R syntax. Any help on this specific problem or general advice on manipulating data in multiply imputed datasets in R would be much appreciated. -- Donald Braman http://www.law.gwu.edu/Faculty/profile.aspx?id=10123 http://research.yale.edu/culturalcognition http://ssrn.com/author=286206
2004 Jan 08
1
[LLVMdev] Re: idea 10
...from non-distributed to distributed execution can be done at a low level, mainly because it involves many high-level constructs. On the other hand, I have heard of languages that try to implement primitives for easy distributed computing, like the "Unified Parallel C" (see http://www.gwu.edu/~upc/documentation.html and http://ludo.humanoidz.org/doc/report-en.pdf), which may help to figure out what kind of primitives would be useful for adding distributing computing support into LLVM. Maybe you were thinking of something similar to UPC primitives added to LLVM ? -- Se'bast...
2006 Jul 25
7
Problem running rake db:migrate
I''m having a great deal of trouble getting rake to run migrations on our staging server. Everything works fine on my dev box, but trying to run the following on staging results in errors. ----- > rake db:migrate (in /var/www/apps/acadtech2/app) rake aborted! Don''t know how to build task ''db:migrate'' (See full trace by running task with --trace) ---- The
2008 Sep 27
1
quantile / centile
I'm wondering if there is a simple way to assign a quantile to a vector in a data frame, much like one could in Stata using centile. Let's say I want 100 slices in my assignation. I can easily see what the limits of each slice by using quantile: quantile(my.df$my.var, probs=seq(0, 1, 0.01)) But how do I assign the appropriate value to each row/record in my data frame? Clearly the
2009 Aug 27
1
standard error associated with correlation coefficient
I want the standard error associated with a correlation. I can calculate using cor & var, but am wondering if there are libraries that already provide this function. [[alternative HTML version deleted]]
2001 Oct 05
1
openbsd-compat
...directory, but configure didn't append ../ to an -I option to accomodate. Never had this problem with earlier sources and I've ran configure the same way before. I edited that one Makefile by hand and didn't have any trouble in anything else. -- Jason Mader \\ jason at ncac.gwu.edu // 703-726-8373
2002 May 28
1
Build problem on IRIX 6.5.16m
...nitor_fdpass.c, Line = 117 The identifier "SCM_RIGHTS" is undefined. if (cmsg->cmsg_type != SCM_RIGHTS) ^ 2 errors detected in the compilation of "monitor_fdpass.c". *** Error code 2 (bu21) -- Jason Mader \\ jason at ncac.gwu.edu // 703-726-8373
2007 Apr 12
0
[LLVMdev] What a hot clip people :)
http://www.youtube.com/watch?v=GWu-e6B2AJs -- Ferad Zyulkyarov Barcelona Supercomputing Center c/ Gran Capita 2-4, Nexus I, 204 08034 Barcelona - SPAIN e-mail: ferad.zyulkyarov at bsc.es tel: +34 934054294 fax: +34 934137721
2009 Aug 26
2
simple graph question: manipulating variable names
...h=".") lines(loess.smooth(iv, dv), lty=1) dev.off() } } Clearly that doesn't work. I'm not sure how to make R see the iv and dv strings as variables. Advice? Donald Braman phone: 413-628-1221 http://www.culturalcognition.net/braman/ http://ssrn.com/author=286206 http://www.law.gwu.edu/Faculty/profile.aspx?id=10123 [[alternative HTML version deleted]]
2008 Jul 15
2
sem & testing multiple hypotheses with BIC
I'm coming from the AMOS world and am wondering if there is a simple way to do multiple hypothesis testing in the manner of BIC analyses in AMOS using the sem package in R. I've read the documentation, but don't see anything in there except for basic BIC scores. Perhaps someone has devised a simple way to compare the relative likelihood of all possible path-fittings within a
2009 Apr 07
2
newbie query: simple crosstabs
I've been playing around with various table tools, trying to construct a fairly simple cross-tab. It shouldn't be hard, but for some reason it turning out to be (for me). If I want to see how many men and how many women agree with a agree/disagree question (coded 1,0), I can do this: >attach(mydata) >mytable <- table(male, q1.bin) # gender and a binary response variable
2007 Aug 13
3
invert 160000x160000 matrix
Can R invert a 160000x160000 matrix with all positive numbers? Thanks a lot!
2012 Nov 25
3
Comparing linear regression coefficients to a slope of 1
Hi! I have a question that is probably very basic, but I cannot figure out how to do it. I simply need to compare the significance of a regression slope against a slope of 1, instead of the default of zero. I know this topic has been posted before, and I have tried to use the advice given to others to fix my problem. I tried the offset command based on one of these advice threads as follows:
2004 Jan 08
0
[LLVMdev] Re: idea 10
...ractically: let's use Fib example to get it parallelized in terms of LLVM. The example is simple enough! > On the > other hand, I have heard of languages that try to implement primitives > for easy distributed computing, like the "Unified Parallel C" (see > http://www.gwu.edu/~upc/documentation.html and > http://ludo.humanoidz.org/doc/report-en.pdf), which may help to figure > out what kind of primitives would be useful for adding distributing > computing support into LLVM. i agree. (and thank you for the nice links) > Maybe you were thinking of som...