1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,807
+ Post New Thread
Page 8 of 22 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 LastLast
Threads 421 to 480 of 1298

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-18-2012 12:34 AM
    2 Pages
    1 2
    • Replies: 22
    • Views: 28,840
    06-26-2015, 10:17 AM Go to last post
  1. 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 01:46 AM
    2 Pages
    1 2
    • Replies: 17
    • Views: 51,119
    05-22-2013, 10:03 AM Go to last post
  2. 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: 2,705
    05-15-2013, 08:30 AM Go to last post
  3. 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: 3,147
    05-10-2013, 02:26 PM Go to last post
  4. 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: 1,975
    05-09-2013, 05:56 PM Go to last post
  5. 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: 4,568
    05-09-2013, 02:32 PM Go to last post
  6. 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: 1,873
    05-08-2013, 12:23 PM Go to last post
  7. 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: 1,824
    05-08-2013, 09:46 AM Go to last post
  8. 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: 3,833
    05-06-2013, 10:09 PM Go to last post
  9. 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: 1,950
    05-06-2013, 06:07 PM Go to last post
  10. 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: 1,465
    05-06-2013, 09:49 AM Go to last post
  11. 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: 2,325
    05-03-2013, 11:30 AM Go to last post
  12. 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: 3,810
    05-03-2013, 06:01 AM Go to last post
  13. 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: 3,956
    05-01-2013, 03:11 PM Go to last post
  14. 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: 1,605
    04-30-2013, 02:56 PM Go to last post
  15. 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: 3,761
    04-26-2013, 11:37 AM Go to last post
  16. 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: 4,414
    04-25-2013, 04:26 PM Go to last post
  17. 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: 1,703
    04-25-2013, 01:58 PM Go to last post
  18. 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: 2,089
    04-25-2013, 01:56 PM Go to last post
  19. 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: 11,539
    04-25-2013, 01:01 PM Go to last post
  20. 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: 5,026
    04-24-2013, 12:28 PM Go to last post
  21. 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: 2,057
    04-24-2013, 09:22 AM Go to last post
  22. 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: 2,689
    04-23-2013, 07:54 AM Go to last post
  23. 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: 1,402
    04-21-2013, 10:34 AM Go to last post
  24. 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: 3,767
    04-19-2013, 03:05 PM Go to last post
  25. 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: 2,126
    04-18-2013, 04:26 PM Go to last post
  26. 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: 1,864
    04-18-2013, 01:21 PM Go to last post
  27. 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: 2,087
    04-17-2013, 08:38 PM Go to last post
  28. 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: 1,733
    04-16-2013, 11:49 PM Go to last post
  29. 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: 1,950
    04-15-2013, 09:25 AM Go to last post
  30. 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: 1,251
    04-14-2013, 10:57 AM Go to last post
  31. 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: 9,180
    04-13-2013, 12:39 PM Go to last post
  32. 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: 1,820
    04-09-2013, 02:40 PM Go to last post
  33. 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: 2,734
    04-09-2013, 11:17 AM Go to last post
  34. 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: 1,373
    04-08-2013, 04:49 PM Go to last post
  35. 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: 4,524
    04-08-2013, 03:24 PM Go to last post
  36. 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: 1,214
    04-08-2013, 01:46 PM Go to last post
  37. 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: 1,541
    04-08-2013, 10:39 AM Go to last post
  38. 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: 1,762
    04-04-2013, 10:06 AM Go to last post
  39. 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: 3,304
    04-03-2013, 10:19 PM Go to last post
  40. 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: 2,383
    04-03-2013, 05:52 PM Go to last post
  41. 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: 8,489
    04-02-2013, 06:17 AM Go to last post
  42. 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: 4,021
    03-28-2013, 09:02 PM Go to last post
  43. 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: 2,778
    03-26-2013, 06:16 PM Go to last post
  44. 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: 3,909
    03-22-2013, 01:12 PM Go to last post
  45. merging one-to-many with multiple variables and dropping observations

    I hate to do this, but I just can't figure this out. I'm trying to merge two sets of data, one of them is a year by year panel of corporate info and...

    Started by vikingo‎, 03-22-2013 09:45 AM
    • Replies: 1
    • Views: 2,018
    03-22-2013, 01:06 PM Go to last post
  46. Simulating a data set

    I want to simulate a data set for a dependent variable that takes on two levels (0 and 1). I want one of the IV to be linearly related to the DV and...

    Started by noetsi‎, 03-18-2013 06:48 PM
    • Replies: 11
    • Views: 4,979
    03-19-2013, 11:37 AM Go to last post
  47. Telling me residual not found but i defined it! Pleaseeee help!

    data; input ENGINE $ SHAFTS RPM CPRATIO INLET-TEMP EXH-TEMP AIRFLOW POWER HEATRATE; if ENGINE='Traditional' then dummy=1; if ENGINE= ‘Advanced’...

    Started by wodnerdreamlove401‎, 03-14-2013 02:42 AM
    • Replies: 1
    • Views: 1,089
    03-15-2013, 08:41 AM Go to last post
  48. Saving odds ratios from proc logistic macro

    Hi, I have been using a macro to run logistic regressions for several independent variables using proc logistic. I would like to know if it is...

    Started by Disvengeance‎, 03-08-2013 01:12 PM
    • Replies: 3
    • Views: 6,183
    03-08-2013, 04:01 PM Go to last post
  49. SAS error 22-322 Expecting one of the following

    Data ConcreteAggregatePaving; set dtdb2cms.T_MSIDR; where SIDR_MTRL_CODE eq (001230117,001240117,001030016,...

    Started by EricaG‎, 03-06-2013 02:11 PM
    • Replies: 2
    • Views: 9,943
    03-06-2013, 09:19 PM Go to last post
  50. Need help with unbalanced design

    Hi Everyone, I have data from an experiment with a RCBD. The main independent variable of interest is crop variety (var). In 2011, we conducted...

    Started by gigi1234‎, 03-06-2013 02:39 PM
    • Replies: 0
    • Views: 1,493
    03-06-2013, 02:39 PM Go to last post
  51. SAS Course

    hey guys... I decided to take "SAS Enterprise Guide 1: Querying and Reporting" course. I do not have programming background but after reading the...

    Started by viral‎, 02-12-2013 09:45 PM
    2 Pages
    1 2
    • Replies: 18
    • Views: 4,410
    03-06-2013, 01:52 PM Go to last post
  52. Logistic Regression and list wise deletion

    This is part a coding issue and part a question on regression, but I put it here. Logistic regression in SAS does listwise deletion so that if you...

    Started by noetsi‎, 03-05-2013 05:44 PM
    • Replies: 6
    • Views: 3,778
    03-05-2013, 08:01 PM Go to last post
  53. Transforming dataset (array?)

    Hello all: I'm not quite sure of the best way to accomplish what I'm trying to do. Currently, I have a dataset that looks like: data test;...

    Started by lancearmstrong1313‎, 03-05-2013 09:23 AM
    • Replies: 1
    • Views: 972
    03-05-2013, 09:28 AM Go to last post
  54. If/Then Statement Help

    Hi Everyone, I am trying to create an if then statement that states if my variable (WWT) is between this range then it equals a set value. This...

    Started by ebcook‎, 03-04-2013 09:55 AM
    • Replies: 2
    • Views: 1,216
    03-04-2013, 12:31 PM Go to last post
  55. High frequency data challenge! Help!

    I have a second-by-second data. I want to choose an observation every 5 minutes. If the data stops at 16:42:02 which is less than 17:30:00, I want to...

    Started by hanraining‎, 03-04-2013 05:49 AM
    • Replies: 0
    • Views: 1,260
    03-04-2013, 05:49 AM Go to last post
  56. Help with SAS assignment - I do not know how to do this in SAS??

    Study the notes “Simulations in SAS” and answer the questions that follow. Questions 1. Draw 10000 values randomly from a standard normal...

    Started by JessicaRLS‎, 02-18-2013 12:29 PM
    • Replies: 7
    • Views: 3,312
    03-02-2013, 09:28 PM Go to last post
  57. survival analysis homework

    message erased.

    Started by fluffymiao‎, 02-28-2013 11:06 AM
    • Replies: 1
    • Views: 1,367
    03-01-2013, 10:56 AM Go to last post
  58. Question Using proc freq on pairs of variables (error in the merge and do-loop of my macro)

    Hello all, I need some help with a macro. My goal is to take a dataset of multiple variables and find how many times unique combinations of pairs...

    Started by kthenaj‎, 12-23-2012 10:49 AM
    • Replies: 2
    • Views: 3,392
    02-28-2013, 12:29 PM Go to last post
  59. Is it possible to SAS to pocess each row indvidually

    Is it possible to SAS to process each row individually? So for example, I have a data set: Name Age a 1 b 2 I would like to loop through each...

    Started by tlau3128‎, 02-27-2013 08:11 AM
    • Replies: 2
    • Views: 1,677
    02-27-2013, 10:39 PM Go to last post
  60. p-value for bootstrap logistic regression

    I am new with sas and I'm doing logistic regression with several predictive variables. I am using the following code; proc surveyselect ...

    Started by azrul‎, 02-24-2013 09:16 PM
    code for this please, logistic regression, logistic uncertainty, sas
    • Replies: 2
    • Views: 2,575
    02-27-2013, 09:29 PM Go to last post

+ Post New Thread
Page 8 of 22 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 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