1. 10-14-2010
    Views:
    10,354
+ Post New Thread
Page 1 of 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LastLast
Threads 1 to 60 of 902

Forum: SAS

SAS usage and programming. SAS/Base, SAS/Stat, proc sql, SAS macro...

  1. Sticky Thread Sticky: Share your SAS tips

    Since SAS isn't as reliant on UDFs as much as R is, I thought a thread on tips/useful gems hidden in SAS documentation/stuff you learned would be...

    Started by Janus‎, 11-17-2012 11:34 PM
    • Replies: 12
    • Views: 879
    06-10-2013, 12:03 PM Go to last post
  1. 2X2 design ANOVA SAS

    Hello, I am beginner with statistics and I need some help for my data analysis. In my research I am trying to find an impact of colors on websites...

    Started by sharinka‎, Yesterday 01:41 AM
    anova, experiment, sas
    • Replies: 10
    • Views: 130
    Yesterday, 12:39 PM Go to last post
  2. Changing x AXIS value labels

    H all need some help in this if I have a gplot with age on the X axis that shows 1,2, 3 how do i change it to say 18-20, 21-23, and 24-25 So i...

    Started by hmanhertz‎, 06-14-2013 12:47 PM
    • Replies: 2
    • Views: 86
    06-17-2013, 09:51 AM Go to last post
  3. Length of a numeric variable---already imported

    Hi, I imported an excel file into SAS 9.3. One of my variables is INCOME. Running a proc freq, my income is listed out of order, according to the...

    Started by joebaker7‎, 06-12-2013 10:51 AM
    • Replies: 8
    • Views: 191
    06-13-2013, 04:02 PM Go to last post
  4. Cool A fundamental question about installing SAS

    Hi all, I am very new to SAS, but found it's really a amazing tool. Now i have a very basic question/problem about the readiness & installation...

    Started by alanchow218‎, 06-11-2013 06:07 AM
    • Replies: 0
    • Views: 63
    06-11-2013, 06:07 AM Go to last post
  5. Smile closest value into a macro variable

    Hi everyone, I have a numeric variable, lets call it 'times'. I have a macro variable 'myTime' defined to be some value, lets say 200. I would...

    Started by azalea‎, 06-05-2013 06:20 PM
    closest, macro, sql, variable
    • Replies: 1
    • Views: 94
    06-05-2013, 09:27 PM Go to last post
  6. setting condition for a range of variables

    Hi, I'm fairly new to SAS programming, so not sure if this can be done. I have a set of data and I need to extract them under certain conditions....

    Started by mdalton‎, 06-03-2013 04:01 PM
    • Replies: 3
    • Views: 144
    06-04-2013, 11:02 AM Go to last post
  7. What's the difference between all the time series procs?

    I'm kind of curious as to specific differences in the all of the many time series procedures in SAS. I know, for instance, there is PROC ARIMA, PROC...

    Started by lancearmstrong1313‎, 05-30-2013 01:07 PM
    time series
    • Replies: 4
    • Views: 145
    06-03-2013, 05:42 AM Go to last post
  8. SAS - Help creating a date variable using arrays and do-loops

    Hello. Please take a look at the proc print screen grab. I'm posting because I have a homework assignment that's asking me to use arrays and...

    Started by GaryPacific‎, 06-02-2013 01:23 PM
    • Replies: 1
    • Views: 148
    06-02-2013, 10:43 PM Go to last post
  9. Input file has space between two variables as well as inside variables...how to read?

    Hi, I am a beginner who is trying to generate the a dataset from the following input file but the input file has space between the two variables...

    Started by Syed‎, 05-26-2013 08:42 AM
    • Replies: 5
    • Views: 204
    06-02-2013, 10:38 PM Go to last post
  10. Why do SAS and Matlab give me different answers for my OLS regression?

    Hi, i'm trying to run the same OLS regresion in SAS and Matlab but they gave me different answers. The regression is: R_t = β_0 + B*F_t + β_L*L_t...

    Started by thd‎, 05-31-2013 09:00 AM
    • Replies: 2
    • Views: 179
    05-31-2013, 05:24 PM Go to last post
  11. How do you constrain a variable to be a constant in SAS regression

    I assume this is the same whether you do logistic or linear regression. Sometimes you want to constrain a regression parameter to be a constant I now...

    Started by noetsi‎, 05-30-2013 03:37 PM
    • Replies: 2
    • Views: 153
    05-31-2013, 08:51 AM Go to last post
  12. Lightbulb a strange result looking for help:I changed the reference group, the result changed

    I used sas mixed procedure, but if I change the reference group, the result wont consistent with each other. ...

    Started by chillywind‎, 05-24-2013 09:40 AM
    • Replies: 1
    • Views: 155
    05-29-2013, 02:01 PM Go to last post
  13. how to combine rows of paired data into one row

    Hi, I have data that is structured like the following: location team score away ny 100 home la 80...

    Started by statsguy20‎, 05-22-2013 09:12 PM
    sas, sas data manipulation, sashelp
    • Replies: 2
    • Views: 182
    05-22-2013, 10:40 PM Go to last post
  14. Removing outliers using SAS

    I know "proc means" will give me the mean and standard deviation of a set of data. Is there any code that can remove outliers from a set of data?...

    Started by david_q‎, 01-29-2012 12:46 AM
    2 Pages
    1 2
    • Replies: 17
    • Views: 8,916
    05-22-2013, 10:03 AM Go to last post
  15. Stripping time stamps

    Hi All need your help---if I have a date variable called dateV in my data that looks like this 18APR13:00:13:23 April 18th at 1pm 13 mins and 23...

    Started by hmanhertz‎, 05-22-2013 09:38 AM
    • Replies: 1
    • Views: 127
    05-22-2013, 09:46 AM Go to last post
  16. Proc Discrim and interpretation

    Dear All, I have to analyze a small data set. 6 variables and 20 observation. I clustered 20 observation into 3 groups and I used Proc Discrim and...

    Started by masarimk‎, 05-13-2013 05:05 AM
    proc discriminant
    • Replies: 1
    • Views: 176
    05-17-2013, 10:48 AM Go to last post
  17. Creating a summary table

    Hi, I am fairly new to SAS and I am trying to see how I can write a code to solve the following: This is a snapshot of my data:...

    Started by Manisha Brahmachary‎, 05-14-2013 08:58 PM
    • Replies: 1
    • Views: 142
    05-15-2013, 08:30 AM Go to last post
  18. P value not match OR CI

    I am running a multivariate LR and have categorical age variable with 6 categories (ref=0). My regression runs fine and everything seems to be in...

    Started by Christi‎, 05-09-2013 11:13 PM
    effect/reference coding, param=ref
    • Replies: 2
    • Views: 227
    05-10-2013, 02:26 PM Go to last post
  19. how to count observations and put them in groups

    wondering if this was possible. i have a database that has identifies all the tires on many different vehicles (from cars to 18 wheelers). im trying...

    Started by ccoaloa‎, 05-09-2013 11:38 AM
    counting data
    • Replies: 2
    • Views: 121
    05-09-2013, 05:56 PM Go to last post
  20. How to do survival analysis in SAS with interval censoring and random effects

    Hi, I am interested in using survival analysis methods on seed germination data. I have just started reading Allison's Survival analysis in SAS. ...

    Started by Tarek‎, 05-06-2013 04:18 PM
    frailty effects, random effects, sas, survival analysis
    • Replies: 3
    • Views: 248
    05-09-2013, 02:32 PM Go to last post
  21. Exclamation Time or Money Gambler Segmentation

    Hello Guys, I work for a casino and have been recently tasked with segmenting our database for time player or money player. A ideal time player is...

    Started by chelrohi‎, 05-08-2013 02:31 AM
    time money segmentation
    • Replies: 3
    • Views: 160
    05-08-2013, 12:23 PM Go to last post
  22. Path Analysis- SAS PROC CALIS: Fitted correlation warning message

    Hello All, I need some help running a path analysis in proc calis. My ultimate goal is to assess which explanatory variables have direct and...

    Started by ESM‎, 05-08-2013 09:46 AM
    path analysis, proc calis
    • Replies: 0
    • Views: 155
    05-08-2013, 09:46 AM Go to last post
  23. Help with Code

    hey guys... I have a question with this code. Why do I get an error for Min/Max but Sum works fine? and How do I fix it? I'm grouping the...

    Started by viral‎, 04-30-2013 10:31 PM
    2 Pages
    1 2
    • Replies: 20
    • Views: 522
    05-06-2013, 10:09 PM Go to last post
  24. Where would you go to find SAS Programmer / Analysts with a finance experience?

    My company is struggling to find enough qualified candidates to build out a full financial analytics reporting team. We need at least 10 more Credit...

    Started by PaulJamesLuckey‎, 05-06-2013 01:58 PM
    • Replies: 2
    • Views: 209
    05-06-2013, 06:07 PM Go to last post
  25. Sort repeated measurements

    Hello, I have a question about editing my dataset in SAS. I have several patients who have repeated measurements over time, like this: ...

    Started by anker‎, 05-06-2013 05:55 AM
    • Replies: 1
    • Views: 131
    05-06-2013, 09:49 AM Go to last post
  26. How to write code for confidence interval?

    Hi, I've got a data set with among other things the variables for gender (M/F, i.e. 0 and 1) and for voting (yes/no, i.e. 0 and 1). I now need a...

    Started by cadja75‎, 05-01-2013 09:49 AM
    • Replies: 4
    • Views: 186
    05-03-2013, 11:30 AM Go to last post
  27. Markov Decision Process in SAS?

    Hello all: I've been doing some reading into Markov Decision Processes and am curious if there is a SAS procedure capable of using this method? ...

    Started by lancearmstrong1313‎, 05-02-2013 08:39 AM
    • Replies: 2
    • Views: 169
    05-03-2013, 06:01 AM Go to last post
  28. Event/trials synatax Proc Logistic

    THere is a way of coding PROC LOGISTIC that goes MODEL Event/Trials=... This uses special variables refering to how many total cases there are...

    Started by noetsi‎, 05-01-2013 02:33 PM
    • Replies: 3
    • Views: 170
    05-01-2013, 03:11 PM Go to last post
  29. Plotting interacting terms

    Anyone know how to do this in SAS? Ideally outside ANOVA (since I use SPSS to do ANOVA). I am looking for ways to plot the interaction between...

    Started by noetsi‎, 04-29-2013 05:18 PM
    • Replies: 5
    • Views: 217
    04-30-2013, 02:56 PM Go to last post
  30. Effect versus Reference coding

    I understand the difference between these, but I had a question. It appears to me that for the parameters themself SAS compares each dummy (aka...

    Started by noetsi‎, 04-26-2013 11:37 AM
    • Replies: 0
    • Views: 198
    04-26-2013, 11:37 AM Go to last post
  31. Contrast and Test statments in SAS

    I am having problems using these - not sure why. My var Area has six values Area 1 Area 2 Area 3 Area 4 Area 5 Area 6. Area 2 is the reference. I am...

    Started by noetsi‎, 04-25-2013 02:14 PM
    • Replies: 10
    • Views: 340
    04-25-2013, 04:26 PM Go to last post
  32. Help Interpretting Density Plot & Other Plot Options in SAS

    I am trying to plot the distribution of scores of a continuous variable for 4 groups on one plot, and have found the best visualization for what I am...

    Started by kldepi‎, 04-24-2013 01:24 PM
    • Replies: 1
    • Views: 165
    04-25-2013, 01:58 PM Go to last post
  33. UNIT command in PROC LOGISTIC [Solved]

    The UNIT command (shown below) is supposed to show the change in the logit for a change in a certain number of units in an interval predictor (the...

    Started by noetsi‎, 04-22-2013 06:35 PM
    • Replies: 6
    • Views: 220
    04-25-2013, 01:56 PM Go to last post
  34. Proc Logistics

    I normally run statistics through a GUI in Enterprise Guide (EG). It uses various macros. For whatever reason its ordered logistic regression never...

    Started by noetsi‎, 03-12-2013 05:46 PM
    • Replies: 13
    • Views: 641
    04-25-2013, 01:01 PM Go to last post
  35. Interpreting interaction effects

    I am not sure if this is a SAS question or a statistics question. When you specify an interaction between a categorical variable and either...

    Started by noetsi‎, 04-23-2013 12:41 PM
    • Replies: 6
    • Views: 290
    04-24-2013, 12:28 PM Go to last post
  36. Sas macro code for industry a simple classification into 15 industries

    ************************************************************************************************************************; * SAS MACRO CODE FOR...

    Started by ivry‎, 04-22-2013 10:35 PM
    • Replies: 1
    • Views: 197
    04-24-2013, 09:22 AM Go to last post
  37. ODS tagsets.ExcelXP formulas

    Hello all: This is just an easy example (because my actual scenario is a little more complicated). My eventual goal is to output to excel via the...

    Started by lancearmstrong1313‎, 04-23-2013 07:54 AM
    • Replies: 0
    • Views: 151
    04-23-2013, 07:54 AM Go to last post
  38. SAS Formats question

    I have a .sas file with format codes. Is it possible to call the formats using an option fmtsearch option from another sas code, or do I have to copy...

    Started by agp‎, 04-21-2013 10:34 AM
    • Replies: 0
    • Views: 168
    04-21-2013, 10:34 AM Go to last post
  39. Interaction plots and simple effects

    Any suggestion (in the context of logistic regression) to generate plots to look at interaction? I am interested in this in both the context of...

    Started by noetsi‎, 04-18-2013 04:28 PM
    • Replies: 2
    • Views: 218
    04-19-2013, 03:05 PM Go to last post
  40. Proc logistic-multivariate logistic regression

    I am doing multivariate logistic regression with CGR and OBST as dependent varaibles. I used the syntax below. But I got the message that says that...

    Started by eunkum‎, 04-18-2013 12:45 PM
    • Replies: 3
    • Views: 245
    04-18-2013, 04:26 PM Go to last post
  41. How to obtain the data that does not merge?

    Hi, I want to merge two data sets in the usual way, by a certain criterion, matching only the observations (by id) that are in both data sets. What...

    Started by revanx‎, 04-18-2013 12:26 PM
    • Replies: 2
    • Views: 214
    04-18-2013, 01:21 PM Go to last post
  42. proc logistic

    I am trying to get the odds ratios for sex within each of the CGR categories. I want to get 16 odds ratios for sex within each of the 16 CGR...

    Started by eunkum‎, 04-17-2013 02:07 PM
    • Replies: 5
    • Views: 226
    04-17-2013, 08:38 PM Go to last post
  43. Logistic Regression Probability Estimation

    Hi I am a learner who is trying to build my first stats model which is aiming at winning chance prediction for business quotes. The stats model I...

    Started by vivaming‎, 04-10-2013 07:06 PM
    • Replies: 3
    • Views: 308
    04-16-2013, 11:49 PM Go to last post
  44. do loop question

    Hello all: I have a question regarding using a do loop within a macro. Let's say I have the following code: %macro plot_loop(); %do i=1...

    Started by lancearmstrong1313‎, 04-12-2013 02:01 PM
    • Replies: 3
    • Views: 208
    04-15-2013, 09:25 AM Go to last post
  45. Summing Weekend values to previous Friday

    I am finding a gap in continuous data that is throwing a wrench in a bivariate VAR. I need a way in SAS to sum the weekend data of one variable...

    Started by vikingo‎, 04-11-2013 11:19 AM
    date, sas, sum, weekday, weekend
    • Replies: 1
    • Views: 186
    04-14-2013, 10:57 AM Go to last post
  46. macro for iterative where statement

    This macro will work when I state a single number in %reg(), but when I try to add additional numbers, for example %reg(#,#,#...) it will not run and...

    Started by Disvengeance‎, 04-13-2013 10:22 AM
    • Replies: 3
    • Views: 236
    04-13-2013, 12:39 PM Go to last post
  47. Transposing rows and columns with variable names

    I'm new to this forum so my apologies if this is done incorrectly. Here is my problem- I have a SAS dataset with few columns and many rows and...

    Started by rodee‎, 04-03-2013 11:22 AM
    datasets, sas, transpose
    • Replies: 1
    • Views: 152
    04-12-2013, 10:21 AM Go to last post
  48. Convert a numeric value to missing for multiple variables

    I have a dataset with 8200 observations and 33 questions. When any of the values for questions q1-q33 equals 9 (numeric), I want to set it to...

    Started by Porter‎, 04-08-2013 07:42 PM
    • Replies: 3
    • Views: 270
    04-09-2013, 02:40 PM Go to last post
  49. Logistic regression chi square test

    Many discussions of logistic regression state that having the wrong variables or the wrong functional form will weaken the model and this will be...

    Started by noetsi‎, 04-05-2013 11:19 AM
    • Replies: 5
    • Views: 304
    04-09-2013, 11:17 AM Go to last post
  50. Question Molding Time in SAS

    How can I build a time variable into my model? I am building a model in SAS and I want to use time of day as a way to predict Y. "Are people more...

    Started by derreckn‎, 04-08-2013 03:20 PM
    prediction, sas, time
    • Replies: 1
    • Views: 170
    04-08-2013, 04:49 PM Go to last post
  51. Question Day of Week (Mon-Sun) Modeling in SAS

    Hello, If I am trying to explain Y using the day of the week (Monday, Tuesday, Wednesday, etc) in SAS. can I simply convert each day to a...

    Started by derreckn‎, 04-05-2013 05:23 PM
    day of the week, sas
    • Replies: 6
    • Views: 371
    04-08-2013, 03:24 PM Go to last post
  52. Reapeated measures- categorical variables

    Hi All, I have variables- yes or no and I need to do repeated measures at 3 timepoints. What is the appropriate program in SAS? Any ideas please?...

    Started by PhDscientist7‎, 04-08-2013 01:46 PM
    • Replies: 0
    • Views: 155
    04-08-2013, 01:46 PM Go to last post
  53. Random Selection within ID

    Hi! I'm in the process of matching data and I've run up against a bit of an issue. In my dataset, I have several control subject ids nested within...

    Started by jamesmartinn‎, 04-02-2013 11:18 AM
    • Replies: 5
    • Views: 259
    04-08-2013, 10:39 AM Go to last post
  54. How to subtotal rows

    I need to subtotal some of my rows. For example, multipe rows have the same contract number and material code. I need to add the inspection...

    Started by EricaG‎, 04-04-2013 08:55 AM
    • Replies: 1
    • Views: 211
    04-04-2013, 10:06 AM Go to last post
  55. Analysis of socioeconomic data

    Hi there, I am trying to see if there is any difference in family size between 2 communities. I thought one way ANOVA would be good. However, I...

    Started by PhDscientist7‎, 04-03-2013 08:19 PM
    • Replies: 9
    • Views: 417
    04-03-2013, 10:19 PM Go to last post
  56. Socioeconomic variables: Chi square or Fisher exact

    Hi there, I am working on socioeconomic variables with SAS. I have set of variables like age, community, marital status, education level etc. I...

    Started by PhDscientist7‎, 03-28-2013 01:08 AM
    • Replies: 3
    • Views: 268
    04-03-2013, 05:52 PM Go to last post
  57. PROC TEMPLATE with PROC SGPLOT to color vbar bars

    Hello all: I have a set of a data that looks something like this: data test; input ID Group; cards; 1 1 2 3 3 1

    Started by lancearmstrong1313‎, 04-02-2013 06:17 AM
    • Replies: 0
    • Views: 196
    04-02-2013, 06:17 AM Go to last post
  58. 2 x 4 Factorial Plus Control -- nesting entire factorial structure in other factor?

    Hello All: I have a 2 x 4 factorial plus a control (9 treatments) in a RCBD. The first factor is qualitative (product application frequency) and...

    Started by jimhemp‎, 03-28-2013 09:02 PM
    • Replies: 0
    • Views: 308
    03-28-2013, 09:02 PM Go to last post
  59. Best regression using ANOVA technique: trend comparisons in a 3x5 factorial

    Hello all: I need help using the ANOVA technique to arrive at an appropriate form of a multiple regression equation between the response (disease...

    Started by jimhemp‎, 03-26-2013 06:16 PM
    interaction effect, polynomial, regression, sas, trend analysis
    • Replies: 0
    • Views: 277
    03-26-2013, 06:16 PM Go to last post
  60. Variable labels in Proc Mixed

    I am analysing multiple variables var1 - var10 which have labels. They are named as such so that running a do loop is easy in a Macro. When running...

    Started by emily.stats‎, 03-20-2013 04:12 AM
    labels, proc mixed, sas
    • Replies: 4
    • Views: 330
    03-22-2013, 01:12 PM Go to last post

+ Post New Thread
Page 1 of 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 300 views
Hot thread with unread posts
More than 15 replies or 300 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats