11-13-2019
Xiaoningdemao
Quartz | Level 8
Member since
06-14-2016
- 77 Posts
- 17 Likes Given
- 0 Solutions
- 3 Likes Received
-
Latest posts by Xiaoningdemao
Subject Views Posted 1686 10-18-2017 07:23 PM 1725 10-18-2017 05:33 PM 1728 10-18-2017 05:30 PM 4279 06-07-2017 02:18 PM 3544 06-07-2017 02:03 PM 4287 06-07-2017 01:22 PM 3557 06-05-2017 01:22 PM 4339 06-02-2017 02:38 PM 3569 06-02-2017 01:51 PM 3612 06-01-2017 03:59 PM -
Activity Feed for Xiaoningdemao
- Posted Re: record observations count by ID on SAS Programming. 10-18-2017 07:23 PM
- Liked Re: record observations count by ID for Reeza. 10-18-2017 07:22 PM
- Liked Re: record observations count by ID for Reeza. 10-18-2017 07:22 PM
- Posted Re: record observations count by ID on SAS Programming. 10-18-2017 05:33 PM
- Posted record observations count by ID on SAS Programming. 10-18-2017 05:30 PM
- Posted Re: How to perform t test on slope in proc reg on SAS Programming. 06-07-2017 02:18 PM
- Posted Re: How to access old output result on SAS Studio. 06-07-2017 02:03 PM
- Posted Re: How to perform t test on slope in proc reg on SAS Programming. 06-07-2017 01:22 PM
- Posted Re: How to access old output result on SAS Studio. 06-05-2017 01:22 PM
- Liked Re: How to access old output result for SuzanneDorinski. 06-05-2017 01:21 PM
- Posted How to perform t test on slope in proc reg on SAS Programming. 06-02-2017 02:38 PM
- Posted Re: How to access old output result on SAS Studio. 06-02-2017 01:51 PM
- Posted How to access old output result on SAS Studio. 06-01-2017 03:59 PM
- Posted Accessing MICROSOFT ACCESS through SAS on SAS Programming. 04-12-2017 06:09 PM
- Liked Re: proc score with no intercept for Reeza. 01-23-2017 12:29 PM
- Got a Like for proc score with no intercept. 01-23-2017 02:30 AM
- Posted scan a numeric macro variable on SAS Programming. 01-20-2017 09:32 PM
- Posted Re: proc score with no intercept on Statistical Procedures. 01-20-2017 05:09 PM
- Posted Re: proc score with no intercept on Statistical Procedures. 01-20-2017 03:05 PM
- Posted Re: proc score with no intercept on Statistical Procedures. 01-20-2017 02:08 PM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 3 2 2 -
My Liked Posts
Subject Likes Posted 1 01-19-2017 09:56 PM 2 08-10-2016 01:25 PM
07-18-2016
05:45 PM
No, I didn't. But this is very helpful as well! Thanks again. Best,
... View more
07-18-2016
04:04 PM
hi dallardw, But I did put keep and drop in one data step before, i didn't recall any weird result though.... O_O Best,
... View more
07-18-2016
04:02 PM
Dear Reeza, Thank you very much! This is exactly what I want!! Best,
... View more
07-18-2016
03:37 PM
And since the 1000 variables we have here has both numerical and character variables I cannot simply transpose it.
... View more
07-18-2016
03:17 PM
Hi PG, I meant the variable 'keep' stores the variable names I want to keep, 'drop' stores the variables I want to drop, we only need to use one of it. But i don't know which is easier to use. @PG Stats@PG Stats
... View more
07-18-2016
02:28 PM
Dear All, I have a question about drop / keep variables. Now I have such a data set: age gender height keep drop 10 1 160 age gender 11 2 159 * height 8 1 161 * * So the first three variables are the observation info, and the last two variables listed the variables that I want to kee/drop. So the desired fresult would be: age 10 11 8 I can not use keep or drop because the actual data set contains almost 1000 variables, it is unrealistic to list them. I have been struggled with this for almost two days. Thank you in advance!! Best, Thank
... View more
07-15-2016
12:04 PM
OK, I see. Thank you!!! @KachiM
... View more
07-14-2016
02:40 PM
Hi @ballardw, Thank you!! But I meant the code you fist provided me produced a proc freq of each character variable. Result like this: N Gender 11,972 male 1220 female 30 But the value I wanted is the number of nonmissing values in this example 1220+30=1250. I'm wondering is there a solution to get this value? thanks again!! Best,
... View more
07-14-2016
02:08 PM
Dear @SuzanneDorinski, Thank you so much for working on this problem and wrote such a nice code with all comments on! But the data set i'm dealing with is very large, this code takes a lot time(about 10 minutes). Sorry I didn't accept this as solution...... Since i am a beginner in SAS, i did learn a lot from your code. Thanks again!! Best,
... View more
07-14-2016
01:42 PM
This is perfect! I got exactly what I want!! Just to double check with you, I just need to change all the "100" in this code to the number of obs in my data set, right? @KachiM
... View more
07-14-2016
01:36 PM
thank you your help!!! But the result looks like a proc freq for each character variable, but I just want a count of non-missing, instead add them up manually do you have other solution? since the data set I deal with now have almost 1000 variables, so go through them one by one is not very realistic....
... View more
07-13-2016
06:44 PM
Hi All, The program: proc tabulate data=sashelp.class f=comma6.0; title ; var _numeric_; table _numeric_, nmiss n/ box='Variable'; run; can be used to count non-missing values for numerical variable, I also want count for character variable, could you help me modify this code to achive my goal? Thanks a lot! Best wishes,
... View more
07-13-2016
06:42 PM
Hi Cynthia, Your program: proc tabulate data=sashelp.class f=comma6.0; title '2) PROC TABULATE equivalent of MEANS output'; var _numeric_; table _numeric_, nmiss n / box='Variable'; run; count non-missing values for numerical variable, I also want count for character variable, could help me modify this code to achive my goal? Thanks a lot! Best wishes,
... View more
06-14-2016
05:50 PM
Hi data_null__, I post the question named as "Delete obsvations with certain strings". Thanks a lot!
... View more
06-14-2016
05:49 PM
Hi all, Say I have the following observations: fruit apple apple comments pear pear comment banan I want to delete those have 'comments' and 'comment'. I wrote code as data mock; set mock0; run; data mock; modify mock; where fruit contains 'comment' and 'comments'; remove; run; But it doesn't remove those with 'comments'. Can I do thses two select at once? Thanks alot!
... View more
- « Previous
- Next »