Hello all,
thanks for your responses and the ideas. Here are some data samples am using and the corresponding results I got in SAS compared to excel:
TJC28
SJC28
CRP
GG
SAS: NewVar
Excel Results
3
3
0,09
18
0,02136075
0,97489243
0
0
0,7
20
0,03032754
0,17156863
0
0
0,6
30
0,06242206
0,26470588
0
0
1
5
0,07
0,07
0
0
0,02
0
-2,7384161
-1,189279
0
0
0,02
10
-2,5984161
-1,049279
0
0
0,023
5
-2,5705827
-1,0767905
0
0
0,031
5
-2,3616377
-0,9860468
This is the formula: 0,56x√(TJC28)+0,28x√(SJC28)+0,70xlog nat (CRP)+0,014xGG
and this was how I interpretted it in SAS
NewVar=(0.56*sqrt(TJC28))+(0.28*sqrt(SJC28))+(0.70*log(CRP))+(0.014*GG);
You can see that the results I get from SAS is different from what I get from SAS. My caculator gives the same results like excel. Thanks for any solution
... View more