similar to: Mixed Effects Models in S and S-Plus book

Displaying 20 results from an estimated 400 matches similar to: "Mixed Effects Models in S and S-Plus book"

2006 Jun 18
3
ActiveRecord Help - Not finding Data
Hello, I''m farily new to RoR and am having a problem trying to retrieve data from my database. Here is the code from my controller: def index zip = params["zip"] @zip1 = Zipcode.find(:first, :conditions => ["zip = ?", zip]) lat = @zip1.latitude.to_f long = @zip1.longitude.to_f radius = 50 @bookstores = Bookstore.find_by_sql ["SELECT * FROM
2006 Jul 19
5
Model Validation - with a twist
I''m stuck in a catch-22 type problem. I have an insert form for a table that uses the validation in the model. i.e. When you click submit on the form and haven''t filled in the required fields then you get the nice rails error messages saying "field can not be blank". This works fine until I introduce some more logic. What I''m trying to do is to validate
2004 Aug 19
3
More precision problems in testing with Intel compilers
The Intel compiled version also fails the below test: > ###------------ Very big and very small > umach <- unlist(.Machine)[paste("double.x", c("min","max"), sep='')] > xmin <- umach[1] > xmax <- umach[2] > tx <- unique(outer(-1:1,c(.1,1e-3,1e-7)))# 7 values (out of 9) > tx <- unique(sort(c(outer(umach,1+tx))))# 11 values
2004 Jan 30
3
looping over factors
How does one loop over factors? Perhaps this is a newbie question. I tried: > b [1] caseX caseY caseZ Levels: caseX caseY caseZ > length(b) [1] 3 > > for (i in b) { + print (b == i) ; + print (i); + } [1] FALSE FALSE FALSE [1] 1 [1] FALSE FALSE FALSE [1] 2 [1] FALSE FALSE FALSE [1] 3 > But that strangely doesn't work. I must protest the implications of the above. i , as
2004 Mar 31
3
Maximum number of connections in R
It appears that the maximum number of connections available in R is about 48. Can anyone tell me how to bump this number up? I've been perusing the source, but any info would speed things up. Is there a reason that it was set to such a low number? Thanks for any help. -Frank
2004 Sep 13
3
.Random.seed in R-devel
I'm running R-2.0.0 (yesterday's snapshot)in its own directory, and everything works great, except: > .Random.seed Error: Object ".Random.seed" not found Does 2.0.0 not use .Random.seed for saving, etc, like it says in the help page? Thanks for any help. -Frank
2006 Oct 25
33
[ADV] "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" BOOK
Time for some all time pimpage folks. Me and Matt Pelletier wrote a small PDF book on Mongrel entitled: "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" since we really wanted you to know what it was about. It''s published by Addison Wesley Professional, has just over 100 pages of goodness, and is available for $14.99 at: http://safari.oreilly.com/0321483502
2006 Jul 13
2
Nested Data
I currently have a database with a table called bookstores. Within that table are columns such as bookstore name, city, state, and zip code. What I''d like to do is display the City and then every store name for that city underneath it. i.e. City - Store 1 - Store 15 Another City - Store 2 - Store 5 etc. I''ve seen act_as_tree but I don''t know if
2004 Feb 09
2
moments, skewness, kurtosis
I checked the help and the mailing list archives, but I can find no mention of a routine that calculates higher moments like skewness and kurtosis. Of course, these are easy enough to write myself, but I was thinking that they MUST be in here. Am I wrong? Thanks. -Frank
2004 Nov 11
1
Business software for Linux
I am hoping to find a inventory management program suitable for something like a bookstore or other 1-5 person smb. The software would need to be able to accept inputs from wireless handheld scanning devices for entry into the system. It must also work with their windows based PoS computer. Any suggestions would be highly appreciated. William -- My "Foundation" verse: Isa 54:17
2004 May 05
5
cgi/servlets/httpd in R
Hi R-helpers Has anyone had any experience doing CGI or Servlets or using an httpd server in R? Context: we are interested in running dynamic demographic calculations on the internet (life tables, and such) in response to form submissions. I might do simple cgi to get started, but loading in data each time seems like it would be quite, quite slow. I have looked at Rserv, but I am most
2004 Sep 13
6
Spare some CPU cycles for testing lme?
If anyone has a few extra CPU cycles to spare, I'd appreciate it if you could verify a problem that I have encountered. Run the code below and tell me if it crashes your R before completion. library(lme4) data(bdf) dump<-sapply( 1:50000, function(i) { fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf, random = ~ IQ.ver.cen | schoolNR); cat("
2004 Aug 19
6
Is R good for not-professional-statistician, un-mathematical clinical researchers?
Alternate title: How can I persuade my students that R is for them? Alternate title: Can R replace SAS, SPSS or Stata for clinicians? I am teaching introductory statistics to twelve physicians and two veterinarians who have enrolled in a Mentored Clinical Research Training Program. My course is the first in a sequence of three. We (the instructors of this sequence) chose to teach R rather than
2000 Jun 15
3
Usign hosts allow in the smb.conf file
Hi, I have a setup of Windows NT machines and SUN Solaris (UNIX) machines. I have installed samba on one of the UNIX machine. I am able to connect to the UNIX machine using samba from any of my NT machines. I want only few of my NT machines should be able to connect to the UNIX machine (with samba). To do so, I have set following in my smb.conf file hosts allow = hostname1, hostname2, ... I
2004 Feb 18
2
Area between CDFs
Dear List: I am trying to find the area between two ECDFs. I am examining the gap in performance between two groups, males and females on a student achievement test in math, which is a continuous metric. I start by creating a subset of the dataframe male<-subset(datafile, female="Male") female<-subset(datafile, female="Female") I then plot the two CDFs via
2004 Aug 19
1
precision problems in testing with Intel compilers
I compiled the 1.9.1 src.rpm with the standard gnu tools and it works. I tried compiling the 1.9.1 src.rpm with the Intel 8 C and FORTRAN compilers and it bombs out during the testing phase: comparing 'd-p-q-r-tests.Rout' to './d-p-q-r-tests.Rout.save' ...267c267 < df = 0.5[1] "Mean relative difference: 5.001647e-10" --- > df = 0.5[1] TRUE
2004 Dec 23
7
HOWTO for setting up Samba as a PDC
Hello fellow list members, does anyone knows of a good HOWTO (or a book) for setting up Samba as a PDC? I have been dealing around with the Samba HOWTO collection, but to be honest, this is a hard job. There are some errors in it and descriptions are not this good. I even don't know what all the tools are for. I'm really experienced in Linux server stuff, but this one drives me mad.
2006 Jul 31
1
Ruby Cookbook
Ruby Cookbook is out. I browsed the book today at the bookstore. It looks very good with a section on Rails. There is no review on Amazon yet. Did anyone get a chance to review this book?
2013 Jan 13
1
R error: system is computationally singular when building GMM model
Dear, I built the generalized method of moments model to estimate the sales rank in the bookstore using plm package in R. The equation is: data1.gmm <- pgmm(dynformula(lnsales_rank ~ ln_price + avg_ham_rate + avg_spam_rate + num_of_ham+ num_of_spam + ship_code2 +ship_code3 +ship_code4+ ship_code5+ ship_code6 + ship_ code7, lag = list(0, 0, 0, 0,0,0,0,0,0,0,0,0), log =FALSE), data=data,
2004 Apr 06
1
"Samba-3 by Example" now available
Hi All, Thanks to everyone who has written wanting more information on when "Samba-3 by Example" by John Terpstra will be available. The good news is that it is available right now through your local bookstore or online sites like Amazon.com. There are already a couple of very positive comments posted to Amazon. These indicate that if you want to get Samba-3 up and running, you'll