search for: plynchnlm

Displaying 20 results from an estimated 20 matches for "plynchnlm".

2007 Apr 16
2
Plotting data with a fitted curve
Suppose you have a vector of data in x and response values in y. How do you plot together both the points (x,y) and the curve that results from the fitted model, if the model is not y ~ x, but a higher order polynomial, e.g. y~poly(x,2)? (In other words, abline doesn't work for this case.) Thanks, --Paul -- Paul Lynch Aquilent, Inc. National Library of Medicine (Contractor)
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has stopped working. The process is still running, but when I try to connect to it with a web browser, the browser doesn''t get any response back. Usually when this happens I cannot control-c the process to shut it down, and not even "kill" works-- I have to get rid of it with kill -9. I then restart it and it
2007 Feb 15
4
R book advice
I'm looking for a book for someone completely ignorant of statistics who wishes to learn both statistics and R. I've found three possibilities, one by Verzani ("Using R for Introductory Statistics"), one by Crawley ("Statistics: An Introduction using R"), and one by Dalgaard ("Introductory Statistics with R"). Do these books have different emphases,
2008 Oct 11
1
Download page for mongrel_cluster?
Is there a download page for mongrel_cluster? I see that "gem install mongrel_cluster" works, but I can''t see where it''s coming from. Usually gems have some sort of project page somewhere. -- Paul Lynch Aquilent, Inc. National Library of Medicine (Contractor)
2007 May 17
4
R2 always increases as variables are added?
Hi, everybody, 3 questions about R-square: ---------(1)----------- Does R2 always increase as variables are added? ---------(2)----------- Does R2 always greater than 1? ---------(3)----------- How is R2 in summary(lm(y~x-1))$r.squared calculated? It is different from (r.square=sum((y.hat-mean (y))^2)/sum((y-mean(y))^2)) I will illustrate these problems by the following codes:
2007 May 29
0
Query strings and stop words
Is there an option for filtering stop words out of the query string, so that queries that contain stop words don''t return zero results? It has been several years, but I think that when I was on a project that was writing a search engine, we used to filter stop words both out of the index and out of the query string, after it was parsed. This allows a query like [cold and sinus] to
2007 Mar 23
2
Fitting a line to a qqplot's points?
I've made some normal plots of my data using qqplot, and now I would like to fit a line to the points on the plot and check the correlation coefficient to have a more objective measure of how straight the line is. Is there a simple way of doing that? (I'm still pretty new to R.) Thanks, --Paul -- Paul Lynch Aquilent, Inc. National Library of Medicine (Contractor)
2008 Apr 16
1
Making a data frame into a factor ?
Hi, I'm trying to do a linear regression style one-way ANOVA using some data in a data frame, and (perhaps because I am still relatively unfamiliar with both R and statistics) what I thought I should do was to make the data frame into a factor. By that I mean that I have a data frame whose column labels are the levels of the factor, and the values in the frame are numeric values for the
2008 Apr 16
1
Brown-Forsythe F* Statistic
I've been searching around for a function for computing the Brown-Forsythe F* statistic which is a substitute for the normal ANOVA F statistic for when there are unequal variances, and when there is evidence of non-normality. A couple of other people have asked this question, the responses I found have been: ?oneway.test However, that function appears to use the Welch W statistic which,
2008 Apr 21
1
Coding methods for factors
Is there a way in R to control how factors are coded? It looks like reference cell coding is used by default. Is there a way to get effects coding? (I could just set up the factor dummy variables as I wish and use lm, but I'm wondering if there is a better way.) Thanks, --Paul
2008 Feb 01
1
Loading an index into memory?
Is there a way to tell Ferret (or AAF) to read an entire index into memory, for faster searching? I have small index (3-4 MB) that could be kept in memory. Or does Ferret do that automatically? Thanks, --Paul -- Posted via http://www.ruby-forum.com/.
2008 Feb 01
0
find_with_ferret and HABTM assocs
Could you be more specific about what is not working? -- Are your association methods between Role and User being set up correctly? (If not, make sure your statement is "has_and_belongs_to_many", and not "hasandbelongstomany".) -- Are you storing the data for role_name in the index? If so, can you see it there? I''m not familiar with the find_with_ferret
2008 Mar 09
1
Formula for whether hat value is influential?
I was wondering if someone might be able to tell me what formula R's influence.measures function uses for determining whether the hat value it computes is influential (i.e., the true/false value in the "hat" column of the returned is.inf data frame). The reason I'm asking is that its results disagree with what I've just learned in my statistics class, namely that a point
2008 Feb 09
2
md5 hash is wrong for 2.6.2 (Windows)
Hi, I've downloaded R-2.6.2-win32.exe (base) from two CRAN sites (http://mirrors.ibiblio.org/pub/mirrors/CRAN/ and http://lib.stat.cmu.edu/R/CRAN/) and for both of those sites the expected MD5 hash is reported to be: ed512872818707f27ca05f08be7363c2 *R-2.6.2-win32.exe (See, for example, http://lib.stat.cmu.edu/R/CRAN/bin/windows/base/md5sum.txt). However, when I compute the MD5
2007 Mar 14
2
Connecting R-help and Google Groups?
This morning I tried to see if I could find the r-help mailing list on Google Groups, which has an interface that I like. I found three Google Groups ("The R Project for Statistical Computing", "rproject", and "rhelp") but none of them are connected to the r-help list. Is there perhaps some reason why it wouldn't be a good thing for there to be a connected
2007 Jun 11
5
Highlight slowness
Has anyone else found that using ferret''s highlighting slows searches down significantly? I am seeing that it more than doubles the search time on my system. I am returning up to 500 results at once, so the slow down is quite noticeable (probably adding about .7 seconds for searches with large result sets.) --Paul -- Posted via http://www.ruby-forum.com/.
2007 Apr 20
2
Caching of database values
If do something like this: dbObj = MyTable.find_by_id(5) a = dbObj.name b = dbObj.name How many times will an SQL call be made to get the value of MyTable.name for id 5? In other words, are the values for dbObj cached in the object? Is there a way of controlling that? (I can imagine that sometimes you might not want to cache them if you wanted to be sure of having the latest
2007 Feb 12
2
make check failure, internet.Rout.fail, Error in strsplit
I'm trying to build R on RedHat EL4. The compile went fine, but a make check ran into a problem and produced a file "internet.Rout.fail". Judging by the last part of that file, it was trying to run an R routine called "httpget" to retrieve the URL http://www.stats.ox.ac.uk/pub/datasets/csb/ch11b.dat. The precise error it encountered was: Error in
2007 Aug 16
3
Getting distinct result lists
Is there a way in Ferret to do something akin to SQL''s "SELECT DISTINCT" query? I have a table with multiple columns, and I would like to search just a couple of them (but index others for other kinds of searches on the table). The two columns I want to search do not have unique values, because the other columns finish specifying the record. Is there a way to avoid picking up
2007 Mar 29
3
Vector indexing question
Suppose you have 4 related vectors: a.id<-c(1:25, 1:25, 1:25) a.vals <- c(101:175) # same length as a.id (the values for those IDs) a.id.levels <- c(1:25) a.id.ratings <- rep(letters[1:5], times=5) # same length as a.id.levels What I would like to do is specify a rating from a.ratings (e.g. "e"), get the vector of corresponding IDs from a.id.levels (via