similar to: model formula

Displaying 20 results from an estimated 10000 matches similar to: "model formula"

2003 Jan 03
4
number plot symbol in scatterplot?
If I make a scatterplot and several (e.g. 5) points lie on top of each other at a given x,y location I would like the plot symbol to be the number of superimposed points (e.g. "5"). Could someone please tell me how to do this in R? Thanks! Bill Simpson
2006 Jan 19
1
change fitted line colour in lme() trellis plot?
If I used a groupedData object, if I do fit<-lme(blah) then plot(augPred(fit)) produces a nice trellis plot of the data along with the fitted lines However I find that the lines and the data points are in the same colour (light blue against a medium grey background). Is there a way to make the lines in a different colour (e.g. black)? It would also be nice if the line were plotted after the
2002 May 30
2
Systems of equations in glm?
I have a student that I'm encouraging to use R rather than SAS or Stata and within just 2 weeks he has come up with a question that stumps me. What does a person do about endogeneity in generalized linear models? Suppose Y1 and Y2 are 5 category ordinal dependent variables. I see that MASS has polr for estimation of models like that, as long as they are independent. But what if the
2002 Nov 24
3
Using XEmacs and ESS with R for MS/Windows
I've been working on a document describing the use of XEmacs and ESS with R for Windows users, along with configuration files that are meant to make things simple for Windows users. This was initially intended for my students, but with recent discussions of Windows (and other) editors on the the R-help list, I thought that I'd make the material more widely available. The document
2002 Nov 24
3
Using XEmacs and ESS with R for MS/Windows
I've been working on a document describing the use of XEmacs and ESS with R for Windows users, along with configuration files that are meant to make things simple for Windows users. This was initially intended for my students, but with recent discussions of Windows (and other) editors on the the R-help list, I thought that I'd make the material more widely available. The document
2003 Feb 26
5
[Package car/data.ellipse]: confidence intervals off by factor sqrt(2)??? (PR#2584)
Full_Name: Volker Franz Version: Version 1.6.2 (2003-01-10) OS: Debian Submission from: (NULL) (192.124.28.104) Hi there, it seems to me that data.ellipse of package "car" (Version 1.0-1) produces confidence interval's which are too big. To see this, do: library(car) plot(c(-2,2),c(-2,2),pch=0) data.ellipse(rnorm(10000),rnorm(10000),levels=0.68,plot.points=F) abline(v=+1)
2001 Oct 08
3
testing diff for slopes and intercepts
I fit the model fit<-lm(thresh~cond*Ne) where thresh is the reponse cond is a factor with levels a, b, and c Ne is a continuous indep var I think of this full model as having three lines: thresh as a function of Ne for each condition. Thus we have slopea, slopeb, slopec, inta, intb, intc. lm output my params ------------------------- (Intercept) inta condb intb - inta condc
2001 Apr 28
9
two new packages
I've prepared preliminary versions of two packages that I plan eventually to contribute to CRAN: car (for "Companion to Applied Regression") is a package that provides a variety of functions in support of linear and generalized linear models, including regression diagnostics (e.g., studentized residuals, hat-values, Cook's distances, dfbeta, dfbetas, added-variable plots,
2001 Apr 28
9
two new packages
I've prepared preliminary versions of two packages that I plan eventually to contribute to CRAN: car (for "Companion to Applied Regression") is a package that provides a variety of functions in support of linear and generalized linear models, including regression diagnostics (e.g., studentized residuals, hat-values, Cook's distances, dfbeta, dfbetas, added-variable plots,
2001 Apr 28
9
two new packages
I've prepared preliminary versions of two packages that I plan eventually to contribute to CRAN: car (for "Companion to Applied Regression") is a package that provides a variety of functions in support of linear and generalized linear models, including regression diagnostics (e.g., studentized residuals, hat-values, Cook's distances, dfbeta, dfbetas, added-variable plots,
2003 Apr 08
3
Multilevel Analyses in R
I am new to R and would like to get some practice analyzing multilevel data. I wonder if anyone can point me to a sample data set and command lines that I might replicate for a sample session. I would then compare my output with HLM output. Any help is appreciated. ------ Harold C. Doran Director of Research and Evaluation New American Schools 675 N. Washington Street, Suite 220 Alexandria,
2002 Nov 06
6
how to update installed packages to a new version of R?
I've just installed R 1.6.1 and would like to install all the contributed packages I had used in 1.5.1. It's not too hard to do this manually from Rgui, but I wondered if there is an easier way, something like writing the results of installed.packages() from 1.5.1 to a file and using that with install.packages() in 1.6.1, or just having 1.6.1 read what's in rw151/library. --
2002 Aug 05
1
constructing a formula
Dear Listers, I am having trouble figuring out how to build a formula using a variable list. For example, I have: a _ data.frame(a=rnorm(1000)) a$b_rnorm(1000)+.5*a$a a$c_rnorm(1000)+.5*a$b a$d_rnorm(1000)+.5*a$b+.1*a$a attach(a) and I estimate, lm(d ~ b+c+d) BUT, I wish to construct a generalized solution in which, ListOfVar _ c('b','c','d') The question is how
2002 Jul 24
1
Contrasts and MC
Dear R People: I have a few questions about multiple comparisons and contrasts for ANOVA, please. I've tried some things but with no success. Suppose I have a completely randomized design, and I want to have the contrast \mu_1 - 0.5 \mu_2 - 0.5 \mu_2 How do I set that up, please? I used the C command, and ran aov, but the results were identical to those with no contrasts. Also, is there
2002 Nov 20
3
using R under windows
I am used to using R under unix. I have a problem with R under Windows-2000: Suppose I have a is a plain text file code.r full of R code that I want to source into R. My problem is that Windows invisibly tacks ".txt" onto the end of the filename (the name looks like code.r but it is really code.r.txt). How to get windows to both allow me to call it code.r (for real! Not code.r.txt) and
2002 Oct 23
2
loglinear models
I am using the loglin function of the base package to fit log-linear models. I am interested in obtaining the parameter values and their standard errors. Parameters are easily obtained, but I haven't found the way of obtaining their standad errors. Is this possible with the loglin function? If not, is there any other function to get them? Many thanks, -- Vicente Piorno Departamento de Ecolox?a
2003 Mar 22
5
Sample weights
R Users I am a new user of R. I have sample weights that I would like to apply to some of the variables in my data set. Where can I go for information on how to do that? Richard
2003 Nov 26
2
lsmeans
Dear list, Is there a function (or an equivalent way) in R resembling the lsmeans command in SAS? The objective is to get the (adjusted) means for design models. Thanks in advance. Regards, Washington Santos da Silva.
2003 Jan 13
2
replace NA´s
hey what should I do to replace in a data frame NA?s with zeroes? Thanks in advance Juan Pablo
2003 Apr 21
2
How to assigen column of matrix
Hi, A simple question. I want to assign values to columns (or rows) of a matrix. It seems that AA[,i]<-A; # A is a vector or array; doesn't work. How can I accomplish that? Thanks alot. -MY