(no subject)

About this list Date view Thread view Subject view Author view Attachment view

From: Jay Pfaffman (pfaffman@relaxpc.com)
Date: Thu 08 Aug 2002 - 07:15:19 EST


Message-id: <200208072115.g77LFJW18507@aaalab.Stanford.EDU>

I've got a table of 1 row per observation.

16 questions * n subjects * 4 classrooms (2 teachers * 2 conditions)

I'd like to run some simple regressions that look something like this:

  lm(length ~ elapsed)

I'd like to do the regressions several times, split out by
questionkey, student, class. What I've been doing is using a series
of which's to create new data sets (e.g. class1, class2, class3,
class4) and running the regressions (or whatever) against each of
those new data sets. It seems that there should be better a way to do
this.

-- 
Jay Pfaffman                           pfaffman@relaxpc.com
+1-415-821-7507 (H)                    +1-415-810-2238 (M)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:31:05 EST