s-news
[Top] [All Lists]

Ask for help

To: s-news@lists.biostat.wustl.edu
Subject: Ask for help
From: tx7@columbia.edu
Date: Thu, 7 Aug 2003 12:10:47 -0400
User-agent: Internet Messaging Program (IMP) 3.1
Dear S-plus users,

I am running tree regression and smoothing regression using S-plus 
V6.1 for windows. I have two questions. One is related to tree 
regression, and another is related to smoothing regression: 

1)For tree regression, would anyone kindly tell me how to calculate 
the explianed variance based on the summary of model fit?

2)For smoothing regression, I tried to use the Spline smoothing to 
get a smooth curve. The basic S+ code I used is: 
   >plot(x, y)
   >lines(smooth.spline(x,y,df=3))
Would anyone tell how to add two confidence iterval lines to the 
smoothed curve in this situation? 

Thanks in advance,

Tao Xin
 



<Prev in Thread] Current Thread [Next in Thread>
  • Ask for help, tx7 <=