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 1629 10-18-2017 07:23 PM 1668 10-18-2017 05:33 PM 1671 10-18-2017 05:30 PM 4183 06-07-2017 02:18 PM 3500 06-07-2017 02:03 PM 4191 06-07-2017 01:22 PM 3513 06-05-2017 01:22 PM 4243 06-02-2017 02:38 PM 3525 06-02-2017 01:51 PM 3568 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
10-18-2017
05:33 PM
the approach i want to resolve this issue, is to use proc transpose, but i need a variable to count the repeats, i have trouble formulate variable "repeats"; ID height repeats 1 150 1 1 155 2 1 157 3 2 160 1 3 170 1 3 171 2 any thought on this? Thanks!!!!
... View more
10-18-2017
05:30 PM
Dear All, i have the following data ID height 1 150 1 155 1 157 2 160 3 170 3 171 these are the repeated measure of height; what i want is: ID height_1 height_2 height_3 1 150 155 157 2 160 3 170 171 Other than height, i have many other measurements, and i don't know how many repeats there is, different measurements may have different number of repeats. Thank you so much in advance!!! Best wishes.
... View more
06-07-2017
02:18 PM
Dear Paige, Oh, I see!! Thank you very much! Best wishes.
... View more
06-07-2017
01:22 PM
Dear Paige, Thank you for the response! You are right, I should wrote model observed=predicters; maybe this is more reasonable? As for the TEST command, the output shows a F-test. Isn't F-test come with ANOVA, and is an overall global test testing "slope=1 and intercept=0"? Thank you! Best wishes.
... View more
06-05-2017
01:22 PM
Dear SuzanneDorinski, Thank you very much! This is exactly what I need! Best wishes.
... View more
06-02-2017
02:38 PM
Dear All, I want to do a t-test on the slope of a simple linear regression. H0: slope=1 VS Ha: slope !=1; I tried the folowing code,"test predicted=1; ", but it performed the overall F test on slope=1 and intercept=0 proc reg data=test; model observed=predicted; test predicted=1; quit; Thanks!! Best wishes.
... View more
06-02-2017
01:51 PM
Dear Yegen, Thank you very much for your reply! This is very helpful but not exactly what I wanted. Say I have to proc freq commonds, if I submit them together (in one run), then I will have the following result. But if i submit them separately, in two runs, then I can only see the second output table in SAS studio the previous results will be erased. But with SAS desk, i can still view the first proc freq results, even though I submit them separately. I want to change to the SAS desk's result design. Thanks again!!! Best wishes.
... View more
06-01-2017
03:59 PM
Hello all, I recently moved form SAS desk version to SAS studio. In the desk version, unless you delete the result, it stays there forever, and the new commond's result just stack on. But in the studio, every time i submit a commond, the old results are all gone. I want to chage it back to the way as in desk version. I tryed to change the preference, but i cannot find the one for this concern. Thank you in advance for any help! Best wishes.
... View more
04-12-2017
06:09 PM
Dear All, I just have one question in general. Can i read in a access file in SAS while I don't have MICROSOFT ACCESS installed? I tried using libname satement and import, neither worked. Thank you! Best wishes.
... View more
01-20-2017
09:32 PM
Dear All, I have code like this: %let coef = -177 1 -27 -34 -26 -27 -31 -25 -54 -28 -28 -25 -36 -36 7 8 11 50 -9 10 27; data data; set data; score= %scan(&coef,1)*col1 + %scan(&coef,2)*col2 + %scan(&coef,3)*col3; run; I want to calc score= -117*col1 + 1*col2 + (-27)*col3; but i realize that %scan ignored the negative signs, so what i actually got is score= 117*col1 + 1*col2 + (27)*col3. Can anyone help me resolve this? Thank you!! Best wishes.
... View more
01-20-2017
05:09 PM
Dear Reeza, Thank you for the code!!! I need to remove the intercept in the scoring dataset not in the model building dataset. So I think it's fine. I wrote a similar code as yours to subtract the intercept from the result in PROC SCORE and calculated the predicted prob. Thanks very much for your help! Best wishes.
... View more
01-20-2017
03:05 PM
>> So you are saying that I cannot force PROC SCORE to omit any variable that is in the original model, right? >I did not say that. For linear models, if you set the data for a variable to zero, then that is equivalent to having a zero estimate, which omits that term. Oh, is that means I have to modify the dataset to be scored, and cannot achive it by adding commands to the PROC SCORE? >I recommend that you use the NOINT option in the model statement. you mean add NOINT in proc logist or in proc score? is there a model statement in proc score? >So you say, but most analysts agree that "if you can't explain it then you shouldn't do it." To make it short, the reason why i do so is to adjust the baseline(intercept) for the new dataset. thank you again!!
... View more