Proc Reg [Software]

posted by NPavan – India, 2009-01-28 12:41 (5944 d 02:17 ago) – Posting: # 3153
Views: 5,098

Dear D.Labes,

Thank you for your reply.

For the below data, I got the R2 values as follows
    X    |  Y
  50.020 | 0.012
  75.030 | 0.026
 100.040 | 0.035
 150.059 | 0.061
 175.069 | 0.073
 200.079 | 0.086
 300.119 | 0.134
 500.198 | 0.222
 750.296 | 0.364
1000.395 | 0.477
1100.435 | 0.618
1200.474 | 0.624


In Analyst Software
For Linear equation,
1) Using weighting index=1/x, R2 = 0.9956
2) Using weighting index=1/x2, R2 = 0.9875
3) For Quadratic equation using weighting index=1/x, R2= 0.9984

In SAS Analyst Using Simple Regression
For Linear equation,
1) Using weighting index =1/x, R2= 0.5069
2) Using weighting index =1/x2, R2 = 0.2734
3) For quadratic equation using weighting index 1/x, R2 = 0.7925

example for linear equation using weighting index 1/x2 SAS code is
*** Simple Regression ***;                                                   
 options pageno=1;                                                             
 proc reg data=Work.Sas;                                                       
    model Y = B;                                                           
run;                                                                         
quit;

Note: B=1/x2

Now my questions are,
1) Why my SAS R2 values are different compared to the Analyst R2 values?
2) Is there any mistake in my calculation?

Thanks in advance

--
Edit: Reformatted using BBCodes. Please don't use tabs in your posts; the result in different browsers is unpredicable. [Helmut]

Regards,
Pavan

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,673 registered users;
204 visitors (0 registered, 204 guests [including 11 identified bots]).
Forum time: 15:59 CEST (Europe/Vienna)

Young man, in mathematics you don’t understand things.
You just get used to them.    John von Neumann

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5