[R] question on lmer function
suppose something like probability(passing test) is driven by 1. fixed effects -- sex 2. district effects - district funding 3. school effects - neighborhood income, racial composition, % two parent families, ... 4. class effects - teacher quality measurement, 5. individual random effects - IQ. how would such a model be setup in lmer? I can't find much discussion on the web. Is there extended documentation somewhere on lmer? Richard Palmer Home 508 877-3862 Cell 508 982-7266 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] question on lmer function
Thanks Harold, I will review the lmer vignette again. On Tue, Dec 2, 2008 at 2:12 PM, Doran, Harold [EMAIL PROTECTED] wrote: Richard There is much more information that you need to provide before a thoughtful answer can be provided. Maybe you can describe the structure of your data, your outcome variable, etc. There is a vignette in the lmer package called 'Implementation' that will show you some methods for model fitting. With that said, at the most basic level, a model of the form response = \mu + beta(covariate) + a_j + e_ij, a_j ~ N(0,r^2), e_ij ~ N(0, s^2) Might be as follows in lmer lmer(response ~ covariate + (1|covariate), ... ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Palmer Sent: Tuesday, December 02, 2008 1:40 PM To: r-help@r-project.org Subject: [R] question on lmer function suppose something like probability(passing test) is driven by 1. fixed effects -- sex 2. district effects - district funding 3. school effects - neighborhood income, racial composition, % two parent families, ... 4. class effects - teacher quality measurement, 5. individual random effects - IQ. how would such a model be setup in lmer? I can't find much discussion on the web. Is there extended documentation somewhere on lmer? Richard Palmer Home 508 877-3862 Cell 508 982-7266 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Richard Palmer Home 508 877-3862 Cell 508 982-7266 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] lmsqreg
Dear Niels I am trying to construct some anthropometric standards for adults using LMS and GAMLSS in R. I saw that you had a problem that I have with the package lmsqreg of the package being reported as not a valid package. I presume you solved your problem, but I did not see how in the r-help list. Can you help? Thanks, Richard Palmer-Jones [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] does any r package work with mcfadden type discrete choice models?...
... and does any r package work with experimental design for these models. -- Richard Palmer Home 508 877-3862 Cell 508 982-7266 Business: 508 283 3592 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] does any r package work with mcfadden type discrete choicemodels?...
thanks. learning r by myself and did not know of this function. On 10/14/08, Bert Gunter [EMAIL PROTECTED] wrote: Please use R's search tools before posting: ?RsiteSearch RSiteSearch(mcfadden,restr=func) RSiteSearch(discrete choice model,restr=func) -- Bert Gunter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Palmer Sent: Tuesday, October 14, 2008 2:01 PM To: r-help@r-project.org Subject: [R] does any r package work with mcfadden type discrete choicemodels?... ... and does any r package work with experimental design for these models. -- Richard Palmer Home 508 877-3862 Cell 508 982-7266 Business: 508 283 3592 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Richard Palmer Home 508 877-3862 Cell 508 982-7266 Business: 508 283 3592 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] New to R. Question about very large files
.. I am new to R but experienced in SAS. SAS has the capability to let me develop a model from a sample and use the results to score the records of another file which won't fit in memory. Is this straightforward in R or does it require coding to do the scoring in segments? Can someone point me to sample code that I can copy or modify to do this quickly? -- Richard Palmer Home 508 877-3862 Cell 508 982-7266 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.