1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,826
+ Post New Thread
Page 13 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 721 to 780 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,861
    06-26-2015, 10:17 AM Go to last post
  1. Array Question

    Basically, I wanted to know how to change multiple lines for one subject to just one line per subject. For example, rather than having data as: ...

    Started by lancearmstrong1313‎, 03-16-2012 08:56 PM
    • Replies: 1
    • Views: 2,218
    03-17-2012, 05:01 AM Go to last post
  2. Regression: Best Subsets

    Hi, I need help finding the the most significant, non-correlated, variables in SAS. The Current Approach: In the "Analysis" section, I am...

    Started by trawl13‎, 03-15-2012 02:33 PM
    best subsets, correlation, regression, sas
    • Replies: 5
    • Views: 3,609
    03-16-2012, 02:29 AM Go to last post
  3. Can I ln on SAS while analysing?

    Lets say I have 4 data x, y, z and a my hypothesis is a = f(x,y,z,) so I do proc reg data=table;

    Started by david_q‎, 03-13-2012 01:07 PM
    • Replies: 2
    • Views: 3,030
    03-13-2012, 04:21 PM Go to last post
  4. Red face Categorizing 46million observation over time period of every 5 minutes.

    Dear all, I am running into a little issue and not able to visualize the logic to start with and I need experts help. I have pH data which was...

    Started by android‎, 03-11-2012 09:20 PM
    • Replies: 3
    • Views: 1,815
    03-13-2012, 09:54 AM Go to last post
  5. Selecting if criteria

    Hi! I have a master dataset that is just a list of unique ID's for some patients. Call this data set A. I've gone into a different dataset and...

    Started by jamesmartinn‎, 03-12-2012 11:32 AM
    • Replies: 2
    • Views: 1,582
    03-13-2012, 09:06 AM Go to last post
  6. Array Summation Question

    Good evening, I am relatively new to SAS and have been rendered stuck on something that I think should be pretty easy. I have performed several...

    Started by littlegreenmen13‎, 03-05-2012 11:28 PM
    • Replies: 4
    • Views: 1,924
    03-13-2012, 09:01 AM Go to last post
  7. sample size crossover

    Hi I have to calculate the sample size of a 2x2 crossover study. The primary efficacy endpoint is a continuous variable (FeNO) with a lognormal...

    Started by favola‎, 02-28-2012 04:18 PM
    • Replies: 1
    • Views: 3,872
    03-12-2012, 10:24 AM Go to last post
  8. Debug option in data step

    Hello, I have the following data step. The debug interactive windows open and the debugger stops at line 265. Then i press enter and the debugger...

    Started by zarasandreas‎, 03-11-2012 06:53 AM
    • Replies: 1
    • Views: 1,460
    03-11-2012, 12:27 PM Go to last post
  9. PROC TABULATE/REPORT/SUMMARY question

    Is it possible to not display a particular value for but still include its value in the sum total? Let me show the code: if DAYS_DELINQUENT = 0...

    Started by greg6363‎, 03-09-2012 03:03 PM
    • Replies: 0
    • Views: 1,882
    03-09-2012, 03:03 PM Go to last post
  10. assistance with logistic regression--estimating predicted probabilities

    Hi, I'm modeling some data using logistic regression, with several statistical control variables and out DV is a measure of success (0/1). One of...

    Started by VAsasuser‎, 03-09-2012 11:41 AM
    predicted prob/contrast
    • Replies: 1
    • Views: 1,628
    03-09-2012, 11:54 AM Go to last post
  11. On determining Alpha and Beta from a gamma distribution upon simulating a sample

    Hey guys, hope someone will be able to help me. What I want to do: determine the empirical values for alpha and beta from a simulated sample from...

    Started by scrofungulus4‎, 03-08-2012 01:11 PM
    empirical, gamma, iml, simulation
    • Replies: 1
    • Views: 4,725
    03-08-2012, 01:59 PM Go to last post
  12. Lag variable issue

    When I attempt to use the lag function in SAS for a date field, the lag is inconsistent across each individual record. I want to have a one month...

    Started by greg6363‎, 02-23-2012 05:03 PM
    2 Pages
    1 2
    • Replies: 29
    • Views: 8,039
    03-08-2012, 08:03 AM Go to last post
  13. Beginner needs help!

    I need to find the means, std devs, and std errors of earnings according to gender for the following data but I don't know what code to use. :( Also,...

    Started by lalaland‎, 03-07-2012 07:49 PM
    • Replies: 1
    • Views: 1,784
    03-07-2012, 11:46 PM Go to last post
  14. Transpose

    Hi, I have data that are in the current format: ID STAT YEAR1999 YEAR2000 YEAR2001 YEAR2002 YEAR2003 a mean ...

    Started by jamesmartinn‎, 03-01-2012 03:28 PM
    • Replies: 2
    • Views: 1,730
    03-02-2012, 10:24 AM Go to last post
  15. Proc Means? Sum?

    Hi! I'm kinda lost. What I thought would be an easy task is actually driving me a bit insane. I'm still somewhat new to processing data in long...

    Started by jamesmartinn‎, 02-27-2012 10:25 AM
    • Replies: 6
    • Views: 8,063
    02-27-2012, 01:21 PM Go to last post
  16. Date and Time from character conversion

    I have two fields one is et_tube_sd (et tube start date) and et_tube_st (et tube start time) I would like to combine these two variables into one...

    Started by Janoose‎, 02-27-2012 07:52 AM
    • Replies: 5
    • Views: 1,798
    02-27-2012, 10:40 AM Go to last post
  17. Short macro Question

    hi, I have a bunch of databases that all have a common prefix (for example, test2001,test2002,test2003, etc etc); I want to create a small macro...

    Started by jamesmartinn‎, 02-24-2012 02:19 PM
    • Replies: 2
    • Views: 1,921
    02-27-2012, 09:24 AM Go to last post
  18. Moving SAS data to Excel

    Hi I am working with a SAS file that has over 6000 rows and 500 columns. I would like to select approximately 300 rows and export the rows and...

    Started by ALC‎, 02-25-2012 03:01 PM
    • Replies: 3
    • Views: 2,116
    02-27-2012, 07:59 AM Go to last post
  19. ^= in SAS

    Can someone tell me what ^= means in SAS? Is this an alternative way of saying does not equal?

    Started by lancearmstrong1313‎, 02-26-2012 09:34 AM
    • Replies: 1
    • Views: 2,005
    02-26-2012, 10:04 AM Go to last post
  20. % in Macro

    Just a general question about macros. How come some keywords such as LET, IF, DO.... need to have the % in front of them inside a macro? ...

    Started by lancearmstrong1313‎, 02-25-2012 09:28 PM
    • Replies: 0
    • Views: 2,153
    02-25-2012, 09:28 PM Go to last post
  21. Efficient IF statements

    Background Info: I have 6 data sets of the top 20 populated cities for 6 different years (ranging from 1900-2005). I merged these data sets so...

    Started by lancearmstrong1313‎, 02-25-2012 08:00 PM
    • Replies: 2
    • Views: 1,574
    02-25-2012, 09:03 PM Go to last post
  22. Cool Proc GLM vs. Proc Mixed

    Hi All, I have a question regarding some of the differences between ProcMixed and ProcGLM. How are the degrees of freedom (df) calculated for...

    Started by ktatc‎, 02-23-2012 11:39 PM
    • Replies: 3
    • Views: 8,854
    02-24-2012, 03:48 PM Go to last post
  23. Proc Logistic Question

    So I have a sample of 50 people with 3 variables (X1 X2 X3) and response variable (Y1). I need to take a simple random sample of size 20 and then do...

    Started by lancearmstrong1313‎, 02-23-2012 03:53 PM
    • Replies: 8
    • Views: 2,687
    02-24-2012, 02:26 PM Go to last post
  24. Word list search

    Hi all, i am a SAS beginner and my issue is the following: I have a long list of words and associated values (e.g., frequency in spoken language)...

    Started by Dio‎, 02-22-2012 06:56 AM
    word, word list, word search
    • Replies: 1
    • Views: 1,670
    02-23-2012, 01:32 PM Go to last post
  25. question for determing the tranaction direction

    Hi; I have a question for determing the transaction direction. As the attachment dataset shows, the dataset have variables: time,trade price,ask...

    Started by liufeng511‎, 02-19-2012 08:41 PM
    • Replies: 2
    • Views: 1,816
    02-22-2012, 04:37 AM Go to last post
  26. ODS Output question

    I'm using the ODS Output procedure to send a number of data sets (in .csv format) to a folder that resides on the UNIX box of our firm's SAS server. ...

    Started by greg6363‎, 02-21-2012 07:17 PM
    • Replies: 1
    • Views: 2,159
    02-21-2012, 08:28 PM Go to last post
  27. SAS Counting

    Hi! I have a database in which I'd appreciate some assistance in carefully counting some variables. Here is a sample of what I'm working with: ...

    Started by jamesmartinn‎, 02-21-2012 02:56 PM
    • Replies: 1
    • Views: 1,553
    02-21-2012, 03:49 PM Go to last post
  28. Run 41 regression at one time

    Hello, I have a data set 41 days data. There are 14 columns. And the first column is Date. Second column is Y and the rest are X's. Sorry to...

    Started by whsieh‎, 02-19-2012 01:51 AM
    • Replies: 6
    • Views: 2,172
    02-20-2012, 10:51 PM Go to last post
  29. Cool Post Hoc analyses using PROC MIXED

    I have conducted initial analyses and planned contrasts on my datasets using the Proc Mixed repeated measures procedure for 2 reasons: 1) there are...

    Started by ktatc‎, 02-20-2012 11:00 AM
    • Replies: 3
    • Views: 6,558
    02-20-2012, 02:50 PM Go to last post
  30. PROC REPORT question

    In the following proc report code, I am trying to compute a percentage but my numerator has one condition and my denominator has a different...

    Started by greg6363‎, 02-17-2012 03:36 PM
    • Replies: 9
    • Views: 2,375
    02-20-2012, 12:00 PM Go to last post
  31. How to pick out odd and even-numbered variables? would arrays work?

    delete thread please

    Started by Bjeri‎, 02-18-2012 06:14 AM
    • Replies: 0
    • Views: 2,134
    02-18-2012, 06:14 AM Go to last post
  32. SAS pick one data every 5 minutes.

    Hi, I am studying a tick by tick data right now. Since it is so huge, I need to narrow it down and pick one data every 5 minutes interval. But...

    Started by whsieh‎, 02-06-2012 02:33 AM
    • Replies: 7
    • Views: 6,888
    02-17-2012, 09:22 AM Go to last post
  33. flagging variables

    Hi! A quick run down of what i'm working with. I have a dataset with ID, Date, Diagnosis Code. I'm trying to flag people who had a certain...

    Started by jamesmartinn‎, 02-16-2012 11:10 AM
    • Replies: 11
    • Views: 3,210
    02-17-2012, 09:02 AM Go to last post
  34. PROC TABULATE issue

    Here's my code: proc tabulate data=service_table format=comma10. noseps; class serv_month region delq_cycle; var nte01t_note_cpb; table...

    Started by greg6363‎, 02-16-2012 10:09 AM
    • Replies: 2
    • Views: 2,133
    02-16-2012, 04:09 PM Go to last post
  35. Need code for converting sas dataset to UTF16 Encoding

    Can any one give code for converting sas dataset to UTF16 ASAP.? Thanks in advance, Kalai.

    Started by kalaiyarasan‎, 02-16-2012 09:59 AM
    encoding, sas, unicode, utf16
    • Replies: 0
    • Views: 2,633
    02-16-2012, 09:59 AM Go to last post
  36. Singular matrix problem when using proc glm

    I just ran proc glm on a some data and I get the following error: NOTE: The X'X matrix has been found to be singular, and a generalized inverse...

    Started by david_q‎, 02-13-2012 02:31 PM
    • Replies: 14
    • Views: 18,450
    02-15-2012, 01:26 PM Go to last post
  37. Import Text data into sas

    Hello, I am sorry to ask silly questions but I have no experience of using sas. Any one can tell me how to import text file into sas? Thank...

    Started by whsieh‎, 02-12-2012 12:36 AM
    • Replies: 8
    • Views: 16,306
    02-12-2012, 03:47 PM Go to last post
  38. Is there an way for me to specify whether the column is text or numerical?

    I'm importing a table from SAS to Excel. Is there an way for me to specify whether the column is text or numerical to SAS?

    Started by david_q‎, 02-11-2012 08:01 AM
    • Replies: 8
    • Views: 3,538
    02-12-2012, 07:55 AM Go to last post
  39. Export output from proc corr to Excel

    I'm using SAS version 9.2 How can I export the output from proc corr straight to Excel? Right now when I save it it is an .lst file that is very...

    Started by david_q‎, 02-11-2012 07:55 AM
    • Replies: 3
    • Views: 8,999
    02-11-2012, 01:03 PM Go to last post
  40. file wanted

    Can anyone send the file cluster.sas to my account hamid196509@yahoo.com, or copy and past the contents of it to my inbox at Talk Stats please....

    Started by Hamid‎, 08-14-2011 12:29 PM
    2 Pages
    1 2
    • Replies: 29
    • Views: 10,452
    02-11-2012, 09:40 AM Go to last post
  41. ID statement in PROC SGPLOT

    This should be maddening simple, but I have wasted hours looking for it. I am generating a boxplot. I need to provide ID for each outlier so I...

    Started by noetsi‎, 02-10-2012 01:00 PM
    • Replies: 7
    • Views: 7,237
    02-10-2012, 06:33 PM Go to last post
  42. Generate Random Numbers

    So here is the situation: I want to randomly assign 6 subjects to one of two treatments (1 or 2). Basically, for these 6 subjects I want to have...

    Started by lancearmstrong1313‎, 02-08-2012 10:47 AM
    • Replies: 2
    • Views: 2,219
    02-09-2012, 08:34 AM Go to last post
  43. Create variable for missing value

    Here is my data set: data missing; input subject var1 var2 var3 var4 var5; 1 1 2 3 4 5 2 2 2 3 . 6 3 3 1 4 2 . 4 3 3 2 . . 5 2 2 1 4 3

    Started by lancearmstrong1313‎, 02-04-2012 11:07 AM
    • Replies: 3
    • Views: 2,153
    02-09-2012, 08:33 AM Go to last post
  44. Goodness of Fit Test for Exponential Distribution

    Hello, I am brand new to statistics and am trying to fit a distribution. I got the following output from SAS for a goodness of fit test for...

    Started by Nimrod007‎, 02-08-2012 10:16 AM
    • Replies: 4
    • Views: 7,274
    02-08-2012, 11:27 PM Go to last post
  45. Lightbulb voiding data set merging problems when by-variable has different lengths.

    When merging 2 tables on a common by-variable you run the risk of having a different length on this (or these) by variable(s). If this is the case,...

    Started by Ana‎, 02-08-2012 05:26 AM
    biguidance, length, macro, proc sql, sas
    • Replies: 0
    • Views: 3,352
    02-08-2012, 05:26 AM Go to last post
  46. SAS Training Centre

    Hi! Has anyone visited a SAS Training Centre? I recently did as part of a requirement for my current job and I have to say I was rather impressed....

    Started by jamesmartinn‎, 02-06-2012 02:11 PM
    • Replies: 0
    • Views: 2,202
    02-06-2012, 02:11 PM Go to last post
  47. Smile Characters converted to numeric values

    SAS converts my id field from character to numeric which causes me to have an invalid numeric data message. How to prevent it to convert to numeric...

    Started by Janoose‎, 02-03-2012 10:02 PM
    • Replies: 1
    • Views: 2,014
    02-03-2012, 10:19 PM Go to last post
  48. rename text cells in a SAS dataset

    This is a simple task but for some reason I can't get it to work. In my dataset I have a column called Gear with text in it. I want to start a...

    Started by elopomorph‎, 02-03-2012 11:45 AM
    • Replies: 1
    • Views: 3,197
    02-03-2012, 12:18 PM Go to last post
  49. Question How to do the loop with defining the length?

    Hello everyone, I wanna do the loop to calculate something, and the dataset scale is not fixed. Is there any solution to do the loop without...

    Started by vickyannie‎, 02-02-2012 10:39 AM
    • Replies: 3
    • Views: 2,244
    02-02-2012, 10:41 PM Go to last post
  50. Question how to print the calculation result?

    Hello everyone, I wanna do a very simple calculation, and I cannot print the calculation result "diff". The calculation procedure should be...

    Started by vickyannie‎, 01-31-2012 01:39 AM
    • Replies: 5
    • Views: 2,485
    02-02-2012, 10:52 AM Go to last post
  51. Question question about loop

    Hello everyone, I have a sequence {x1, x2 ... x50}, and I wanna do the moving average of stock, the first value is MA30 = (x1 + x2 +...+X30)/30,...

    Started by vickyannie‎, 01-31-2012 10:51 AM
    • Replies: 1
    • Views: 1,601
    01-31-2012, 01:11 PM Go to last post
  52. Lightbulb Reduce hard coding by using the VCOLUMN table in SASHELP

    Reduce hard coding by using the VCOLUMN table in SASHELP to get a list of your variables into a macro variable array Very often it is useful to...

    Started by Ana‎, 01-31-2012 06:04 AM
    biguidance, call symput, sashelp, vcolumn
    • Replies: 0
    • Views: 4,172
    01-31-2012, 06:04 AM Go to last post
  53. Help: How to write a SAS program to count births over multiple variables?

    Dear almighty statistical masters, I would be infinitely grateful for some assistance with the following problem: I use SAS (although is by no...

    Started by petkiri‎, 01-30-2012 02:37 AM
    sas, spss
    • Replies: 3
    • Views: 2,838
    01-30-2012, 09:01 PM Go to last post
  54. Database question - query in another table and display the results in a new column.

    Dear forum users, I have the following problem, which I'll explain with a a stylized example: There are two datasets; Let's call the first...

    Started by eventhestars‎, 01-27-2012 04:43 PM
    • Replies: 1
    • Views: 1,774
    01-27-2012, 08:41 PM Go to last post
  55. Question Error 180.

    I am attempting to call a Macro using Proc SQL. Here is the code I am using to call the Macro... PROC SQL; SELECT cat('%MH (', grade, ', ',...

    Started by Tarheel77‎, 01-27-2012 03:05 PM
    • Replies: 1
    • Views: 1,874
    01-27-2012, 08:21 PM Go to last post
  56. Closing all tables

    Hey everyone, being a sloppy and unqualified SAS-user I sometimes open tables I created (VIEWTABLE) and then forget closing them before running my...

    Started by eventhestars‎, 01-19-2012 03:07 PM
    beginner, commands, sas
    • Replies: 2
    • Views: 4,522
    01-27-2012, 11:43 AM Go to last post
  57. prxchange function

    I am trying to use prxchange function to replace and move to first from my dataset, but have not been very successful. /*SAMPLE data*/ data...

    Started by 10Mel01‎, 01-26-2012 04:36 PM
    • Replies: 0
    • Views: 2,003
    01-26-2012, 04:36 PM Go to last post
  58. Help in deciphering output from a regression

    **** the spaces between the values are missing in this post, please refer to the text file attached. Hi, I'm trying to do some regression...

    Started by connor‎, 01-26-2012 04:22 AM
    • Replies: 6
    • Views: 3,114
    01-26-2012, 04:33 PM Go to last post
  59. Coupled-Hazard Modeling

    Has anyone worked on estimation of two (or more) interdependent hazard processes simultaneously? For example, the first hazard model captures...

    Started by htbilgic‎, 01-26-2012 02:53 PM
    estimation, hazard model, sas
    • Replies: 0
    • Views: 1,723
    01-26-2012, 02:53 PM Go to last post
  60. Convert text data to numeric data

    Hi, I'm sorry for posting so much but I have a lot of questions as I have never taken a SAS course before and I'm doing a project now that...

    Started by connor‎, 01-26-2012 06:52 AM
    • Replies: 1
    • Views: 1,643
    01-26-2012, 02:02 PM Go to last post

+ Post New Thread
Page 13 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