07-12-2016
kgurzo
Fluorite | Level 6
Member since
03-31-2014
- 5 Posts
- 4 Likes Given
- 0 Solutions
- 1 Likes Received
-
Latest posts by kgurzo
Subject Views Posted 2515 06-08-2016 10:46 AM 2556 06-07-2016 06:53 PM 2570 06-07-2016 05:58 PM 1902 04-01-2014 11:20 AM 1978 03-31-2014 07:05 PM -
Activity Feed for kgurzo
- Posted Re: difference between 2 dates (in days, months etc) but same id on SAS Procedures. 06-08-2016 10:46 AM
- Liked Re: difference between 2 dates (in days, months etc) but same id for Ksharp. 06-08-2016 10:44 AM
- Got a Like for Re: difference between 2 dates (in days, months etc) but same id. 06-07-2016 09:27 PM
- Liked Re: difference between 2 dates (in days, months etc) but same id for Astounding. 06-07-2016 06:54 PM
- Posted Re: difference between 2 dates (in days, months etc) but same id on SAS Procedures. 06-07-2016 06:53 PM
- Liked Re: difference between 2 dates (in days, months etc) but same id for ballardw. 06-07-2016 06:53 PM
- Posted difference between 2 dates (in days, months etc) but same id on SAS Procedures. 06-07-2016 05:58 PM
- Posted Re: Estimate statement with interaction terms on Statistical Procedures. 04-01-2014 11:20 AM
- Liked Re: Estimate statement with interaction terms for SteveDenham. 04-01-2014 11:19 AM
- Posted Estimate statement with interaction terms on Statistical Procedures. 03-31-2014 07:05 PM
-
Posts I Liked
Subject Likes Author Latest Post 1 2 3 1 -
My Liked Posts
Subject Likes Posted 1 06-07-2016 06:53 PM
06-08-2016
10:46 AM
Thank you! I think the first reply i got was the simplest and easiest way for what i will need my data for. But I appreciate your help. Thanks again.
... View more
06-07-2016
06:53 PM
1 Like
Thanks a lot! It worked. I was doing it in such an inefficient way. Creating separate columns for each differring date. This advice saved a lot of time and I will for sure use it another time. Thanks again!
... View more
06-07-2016
05:58 PM
Hi there,
I have a dataset that is structured the following way:
Customer_ID
Date_offended
A
19JUL2011:00:00:00.000
A
29AUG2013:00:00:00.000
A
29MAR2015:00:00:00.000
B
05MAR2010:00:00:00.000
B
14AUG2010:00:00:00.000
C
06JUL2013:00:00:00.000
C
02JUN2015:00:00:00.000
D
21AUG2009:00:00:00.000
D
02MAY2013:00:00:00.000
I want to be able to calculate the difference (in number of days or months) between the dates of offence for these customers. How do I go about it?
I appreciate your help in advance!
Krisztina
... View more
04-01-2014
11:20 AM
Dear Steve, Thank you very much for your answer, I have not used the lsmestimate before, but my version indeed allows for it. I wanted to use the link=log to get the risk ratio instead of the odds ratio. It works perfectly and the results are very reasonable. I will use it more in the future. Thanks again for your response, it was very helpful! Krisztina Gurzo
... View more
03-31-2014
07:05 PM
Dear Sas Support Group, I have a model where I look at the accident risk of 3 different groups, including a dummy for group, the age category, gender, median income (standardized by subtracting the mean and dividing by two standard deviation) and an interaction between median income and the groups, since I believe that the effect of income on each group will be different. To be able to interpret the effect, I used the statement estimate, however I am not totally sure if I gave the right formula, although I do get some results. What I have as code is the following: genmod data=data1 desc; group gender age_cat; coll1=group age_cat gender st_medinc group*st_medinc / dist=binomial link=log type3; 'group1 versus group3' group*st_medinc 1 0 -1/exp; 'group1 versus group2' group*st_medinc 1 -1 0 /exp; 'group2 versus group3' group*st_medinc 0 1 -1 /exp; Could someone have a look and confirm if I did it correctly or if I need to correct the estimate statement somewhere? Thanks in advance for your help, Regards, Krisztina Gurzo
... View more