09-01-2015
Ruth
Fluorite | Level 6
Member since
06-27-2011
- 52 Posts
- 3 Likes Given
- 0 Solutions
- 5 Likes Received
-
Latest posts by Ruth
Subject Views Posted 1904 03-07-2012 04:49 PM 4632 02-21-2012 02:21 PM 4741 02-21-2012 01:35 PM 4466 02-06-2012 11:16 AM 4544 02-06-2012 10:43 AM 3338 11-25-2011 06:29 AM 9015 11-22-2011 08:13 AM 9767 11-21-2011 01:21 PM 2069 11-15-2011 02:23 PM 2150 11-15-2011 01:42 PM -
Activity Feed for Ruth
- Got a Like for Windows is full and must be cleared.. 11-30-2022 02:21 AM
- Got a Like for PROC GENMOD: no automatic selection method?. 02-08-2018 05:50 AM
- Got a Like for Re: Probability is too small to use logistic regression. 09-01-2015 04:24 AM
- Posted To identify missing values on SAS Procedures. 03-07-2012 04:49 PM
- Posted Is there any macro to check percentage of missing values in a dataset on SAS Programming. 02-21-2012 02:21 PM
- Posted Is there any macro to check percentage of missing values in a dataset on SAS Programming. 02-21-2012 01:35 PM
- Posted How to create a 2 by 2 table on SAS Procedures. 02-06-2012 11:16 AM
- Posted How to create a 2 by 2 table on SAS Procedures. 02-06-2012 10:43 AM
- Posted How to print all numeric values except 1 variable on SAS Procedures. 11-25-2011 06:29 AM
- Posted The smallest positive value for each variable on SAS Procedures. 11-22-2011 08:13 AM
- Posted The smallest positive value for each variable on SAS Procedures. 11-21-2011 01:21 PM
- Posted PROC GENMOD for linear regression on Statistical Procedures. 11-15-2011 02:23 PM
- Posted PROC GENMOD for linear regression on Statistical Procedures. 11-15-2011 01:42 PM
- Posted PROC GLM for multiple linear regression on Statistical Procedures. 11-14-2011 01:58 PM
- Posted PROC GLM: effects coding? on Statistical Procedures. 11-13-2011 08:16 PM
- Posted PROC GLM: effects coding? on Statistical Procedures. 11-12-2011 04:35 AM
- Posted The merge statement in the data set on SAS Procedures. 09-20-2011 05:05 PM
- Posted The merge statement in the data set on SAS Procedures. 09-20-2011 04:34 PM
- Posted Is it a sensible practice to collapse categories of a predictor? on Statistical Procedures. 09-06-2011 08:32 PM
- Posted How to control the significance level for the final set of variables in PROC LOGISTIC on Statistical Procedures. 08-22-2011 10:53 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 4 -
My Liked Posts
Subject Likes Posted 1 07-13-2011 09:35 AM 1 07-04-2011 01:59 PM 3 07-09-2011 06:08 PM
03-07-2012
04:49 PM
I didn't get a clue about Florent's code. It just has nothing to do with "finding missing values".
... View more
02-21-2012
02:21 PM
A few good answers now. Thanks. At the same time, can I ask if a program can automatically create a new temporary dataset which reports the percentage of missing values for all variables? Probably some use of the dictionary is needed.
... View more
02-21-2012
01:35 PM
Just feel curious. Thanks. If you have, can you post it here?
... View more
02-06-2012
10:43 AM
Hi, This is an interesting question. I have a sample data like below: x y freq ------------------------ F High 3 M Low 2 F Low 4 M High 1 What I want to achieve is to use some approach to transform the above table into the format as: x High Low F 3 4 M 1 2 That is, the values of variable y have been transposed to become the new variable names. I hope to learn from you. Thanks. Ruth
... View more
11-25-2011
06:29 AM
Hi Sir, I want to print values of all numeric variables (40 variables), so I can use the code below. But I want to suppress one variable to be printed. How can I do that? proc print; var _numeric_; run; Similarly, in another case, I want to output all numeric variables except one variable. How can I do that? Thanks for teaching.
... View more
11-22-2011
08:13 AM
Ksharp's anwer is very helpful. This SAS site only allows me to give a maximum of 2 answers as helpful. Thanks very much!
... View more
11-21-2011
01:21 PM
I have about 100 numeric variables in the dataset, plus one character variable for the purpose of identification. For each numemic variable, the values can be negative or positive, and the values are not sorted in a proper order. For each variable, I want to pick up the smallest positive value. For example, -10, 2, 0.5, then the value 0.5 should be choosed. Together with the smallest positive value, the value of the character variable should also be choosed for the purpose of identification. The final output should be a dataset with a single row, with all values representing the smallest positive values for the numeric variables. Hope this is not that challenging and complex. Thanks a lot for help.
... View more
11-15-2011
02:23 PM
It only took 5 mins to run the model in PROC GLM. What a difference. Thanks again.
... View more
11-15-2011
01:42 PM
Hi Sir, I finally finished the running for a linear regresion model using PROC GENMOD. But it took 25 hours. The dataset has 1 million cases and 40 categorical variables. What I don't quite understand is that: The estimated intercept is 1400, as the overall mean (all the predicators in the model are categorical and parameterized with effect coding). But the original observed mean for the dependent variable is only 250. I don't understand why there is such a big difference. Because of poor model fit? Thanks for your idea.
... View more
11-14-2011
01:58 PM
Hi Sir, I used PROC GENMOD to run a linear regression analysis. The reason that I want to use PROC GENMOD is that it provides the effect coding, while PROC GLM does not have this option. As the analysis is linear regrssion (DIST=normal), can I get the R-Squared value from PROC GENMOD? It seems that there is no option available for this request. Many thanks!
... View more
11-12-2011
04:35 AM
Hi chaps, I am running an analysis of multiple linear regression using PROC GLM, with the dataset mainly consisting of categorcial variables. Do you know that if PROC GLM has the effects coding (-1, 0, 1) for the design matrix. As compared to the dummy coding (0, 1), the effects coding offers the advantage of comparing between each category and the grand mean. Thanks in advance.
... View more
09-20-2011
04:34 PM
Hello sir, I have a question regarding the merge statement. As an example, I try to merge two files data01 and data02 into a single file data03, by variable a. But the values of data02 overwrite the values of data01. For missing values of data01, this is good. But it is bad that the missing values of data02 also overwrite the values of data01. My question is how to keep values of data01 from being overwritten if they are not missing? data work.data01; input a b; cards; 1 2 2 . 3 1; run; data work.data02; input a b; cards; 1 2 2 2 3 . ; run; data work.data03; merge work.data01 work.data02; by a; run; /*Result: Obs a b 1 1 2 2 2 2 3 3 .
... View more