s-news
[Top] [All Lists]

Re:

To: "'Tiago R Magalhaes'" <tiago17@socrates.Berkeley.EDU>, "'s-news@lists.biostat.wustl.edu'" <s-news@lists.biostat.wustl.edu>
Subject: Re:
From: "Austin, Matt" <maustin@amgen.com>
Date: Wed, 27 Oct 2004 11:36:03 -0700
My apologies for an unclear statement.  Supsmu will return fitted values for
unique values of x, not unique combinations of (x,y).

--Matt

-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of Austin, Matt
Sent: Wednesday, October 27, 2004 11:1 AM
To: 'Tiago R Magalhaes'; 's-news@lists.biostat.wustl.edu'
Subject: Re: [S]


I would imagine you have duplicate (x,y) combinations.  As can be seen in
the following example, the returned values from supsmu only include the
unique combinations--not all combinations.

> x <- 1:100
> y <- rnorm(100, 0, 1)
> sapply(supsmu(x, y), length)
   x   y 
 100 100
> sapply(supsmu(c(x, x[1]), c(y, y[1])), length)
   x   y 
 100 100
> sapply(supsmu(c(x, x), c(y, y)), length)
   x   y 
 100 100

-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of Tiago R
Magalhaes
Sent: Tuesday, October 26, 2004 20:28 PM
To: s-news@lists.biostat.wustl.edu
Subject: [S]


Hi

I am using the "supsmu" function

The problem is that althought I use "supsmu" with arguments of the 
same length - 14010 - the results are not always the same size: 
sometimes it yields 2, 3 rows less than the 14010

I can solve the problem by adding to each call the number of rows 
missing, but I was wondering if there's any solution other than that

thank you
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • Re:, Austin, Matt <=