SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
MahdiA110
Obsidian | Level 7

Hello

I used proc gee to estimate initial values for parameters.

 

proc gee data=new;

 class var1 id ;

 Model res= var1 var2 var3  var4 var5 var6 var7 / dist= mult;

 repeated subject=id / logor=exch;

run;

 

Also I used these codes to find s1,s2 and s12.

 

proc means data=new STD;
var PP LL;
run;

&

proc corr data=new ;
var PP LL;
run;

 

But I have problem with estimate of the s1, s2 and s12 in PROC NLMIXED and receive different errors. The result for my parameters is meaningless.

Parameter EstimatesParameter Estimate StandardError DF t Value Pr > |t| 95% Confidence Limits Gradienta1a2var1_avar2_avar3_avar4_avar5_avar6_avar7_ab1b2var1_bvar2_bvar3_bvar4_bvar5_bvar6_bvar7_bs1s2s12
-3.41201.499562-2.280.0264-6.4095-0.4145-54.9813
0.22141.1533620.190.8484-2.08402.526771.2026
-0.034260.0962862-0.360.7232-0.22670.158249.4322
0.091490.3459620.260.7923-0.59990.78280.32528
-0.029890.0660262-0.450.6524-0.16190.1021-91.7194
0.085760.04168622.060.04380.0024530.169150.9831
-0.064210.0653162-0.980.3294-0.19480.0663572.6902
-0.34540.0718362-4.81<.0001-0.4890-0.2018-58.7358
-0.096850.0810862-1.190.2368-0.25890.06523179.168
-4.5876118.4162-0.040.9692-241.28232.10-0.00321
-2.1619141.7662-0.020.9879-285.53281.210.000434
-0.028609.894262-0.000.9977-19.806719.7495-0.01680
0.428527.2215620.020.9875-53.986454.8434-0.00174
0.163711.2263620.010.9884-22.277322.6047-0.01512
0.032402.5030620.010.9897-4.97115.0359-0.03055
0.12756.2623620.020.9838-12.390712.6457-0.02998
-0.15554.874962-0.030.9747-9.90049.5894-0.00437
-0.000805.994962-0.000.9999-11.984311.9827-0.03039
0.065390.01152625.68<.00010.042370.08842124.931
1.96506.7415620.290.7717-11.511115.4411-0.00558
-0.037000.0133862-2.760.0075-0.06375-0.01024-0.00096

As you can see, the p-values for second joint variables are meaningless. So the results do not seem correct.

How can I find the best s1, s2 and s12  for my joint model? 

Thanks for your answer.

Mahdia

 

 

2 REPLIES 2
MahdiA110
Obsidian | Level 7

The table is available in attachment

MahdiA110
Obsidian | Level 7
No one have any suggestion or idea for me?????

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 605 views
  • 0 likes
  • 1 in conversation