1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,838
+ Post New Thread
Page 10 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 541 to 600 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,876
    06-26-2015, 10:17 AM Go to last post
  1. Leading Zeros: NotePad; Excel; SAS

    Hello, I have a dataset saved as 'txt'. It is composed of four variables, a mix of numeric and character, '|' delimited. I am trying to import...

    Started by hlsmith‎, 11-12-2012 12:11 PM
    • Replies: 4
    • Views: 4,614
    11-12-2012, 04:12 PM Go to last post
  2. Create unique variable names in macro

    Hi I have a functioning macro running through daily datasets. The macro itself works as it should and I get the outputs I want. I would however...

    Started by Morten‎, 11-09-2012 03:53 AM
    macro, names, sql, variable
    • Replies: 4
    • Views: 2,432
    11-10-2012, 06:01 AM Go to last post
  3. Question join several tables while computing an average of variable´values

    Hey all, could you please help me to solve the following problem: I have several tables (say, T is a number of tables) with data of such a view: ...

    Started by Vlad1‎, 11-09-2012 10:41 AM
    • Replies: 2
    • Views: 24,921
    11-09-2012, 02:25 PM Go to last post
  4. Unhappy 3 level hierarchical modeling with proc mixed and proc glimmix

    Hello all! I am a beginner with SAS (and I am no statistician) working on my DVM (Veterinary Sciences). I have a 3 level data structure and use...

    Started by karink‎, 09-28-2009 08:45 AM
    • Replies: 1
    • Views: 13,700
    11-09-2012, 02:04 PM Go to last post
  5. Help! how to calculate succeeding cumulative sum for each record

    I have minute by minute data for the stock index futures. Variables are Date, Time, Thprice(theoretic price by model), Rprcie(real trading price),...

    Started by liufeng511‎, 11-08-2012 07:33 PM
    • Replies: 5
    • Views: 2,841
    11-09-2012, 09:18 AM Go to last post
  6. Reading in variables with spaces

    A co-worker is going through the SAS learning module and came across something I have not been able to figure out how to read in the data 100%...

    Started by lancearmstrong1313‎, 10-30-2012 01:57 PM
    • Replies: 2
    • Views: 3,546
    11-08-2012, 10:41 PM Go to last post
  7. renaming all variables in a large dataset

    Hello, I have 3 large datasets with over 800 variables that I need to merge. Problem is some of the datasets have the same variable names so I...

    Started by Nicole19‎, 11-08-2012 12:43 PM
    error message, large data sets, programing help, rename, sas
    • Replies: 2
    • Views: 5,742
    11-08-2012, 09:11 PM Go to last post
  8. Smile Dear Jrai and others! question on how to calculate cummulative sum for each remaining

    Dear Jrai and others! I have minute by minute data for the stock index futures. Variables are Date, Time, Thprice(theoretic price by model),...

    Started by liufeng511‎, 11-08-2012 02:21 AM
    • Replies: 1
    • Views: 3,688
    11-08-2012, 02:33 AM Go to last post
  9. Red face Help! Type1 P-value seems significant, but Type3 p-value seems INsignificant

    Hello! :) Does anyone can help me finding out if this predictor is significant or insignificant? Here is my SAS code, response has two value, 0...

    Started by lillymoo‎, 11-05-2012 09:53 PM
    • Replies: 5
    • Views: 4,157
    11-07-2012, 01:15 PM Go to last post
  10. SAS Saving output for ODS

    SAS is always saving my graphical ODS output in the folder that the code/editor file used to create it is in. For example, I open a program and run...

    Started by hlsmith‎, 11-05-2012 02:43 PM
    • Replies: 6
    • Views: 3,645
    11-05-2012, 03:08 PM Go to last post
  11. Calculating winning/losing streaks

    Hi all, just kind of a curious question about how best to program a variable that will determine a team's winning or losing streak. So for...

    Started by lancearmstrong1313‎, 11-02-2012 08:29 AM
    • Replies: 2
    • Views: 1,953
    11-05-2012, 09:46 AM Go to last post
  12. Dissertation - Need SPSS g

    Hi all, new to the forums and have a question which I would appreciate help with. For an accounting research paper, I am carrying out an analysis...

    Started by jck2003‎, 11-02-2012 07:25 PM
    • Replies: 0
    • Views: 3,730
    11-02-2012, 07:25 PM Go to last post
  13. Outputting results with PROC FREQ

    Hell all, I'm having difficulties with PROC FREQ and outputting the proc freq table into a separate output dataset. Some quick background on my...

    Started by lancearmstrong1313‎, 10-31-2012 06:42 AM
    • Replies: 4
    • Views: 3,853
    10-31-2012, 11:22 AM Go to last post
  14. proc genmod estimate statement question

    hi, i run the following code to transform a categorical variable. DATA nb; SET nb; IF (numchron =0) THEN chronic = 0; IF (numchron =1) THEN...

    Started by senorkoki‎, 10-24-2012 12:18 AM
    • Replies: 1
    • Views: 5,338
    10-30-2012, 10:48 PM Go to last post
  15. Question Need help creating a new column using existing column

    Hi guys, I was wondering if anyone knew how to create a new variable by performing a simple mathematical operation on an existing column. I've...

    Started by RazzleBayker‎, 10-30-2012 02:04 PM
    • Replies: 2
    • Views: 1,569
    10-30-2012, 03:55 PM Go to last post
  16. Different results from SAS Proc Mixed and SPSS Mixed

    I'm running some analyses where SPSS and SAS are giving me different results (i.e., significant here, but not there). I'm attaching the output. ...

    Started by Hydrogenglow‎, 10-23-2012 04:16 PM
    mixed, proc mixed, sas, spss
    • Replies: 0
    • Views: 2,029
    10-23-2012, 04:16 PM Go to last post
  17. retain or multiple by variables?

    Hi! I have a situation where the data look like the following: Student Teacher Grade John 1 15 John ...

    Started by jamesmartinn‎, 10-17-2012 02:13 PM
    • Replies: 2
    • Views: 2,092
    10-22-2012, 10:48 AM Go to last post
  18. Re-arranging SAS data

    I have data in this format: Admit Gender Department Count Admitted Male A 512 Rejected Male A 313...

    Started by sandeep249‎, 10-21-2012 10:29 PM
    arrange, sas
    • Replies: 5
    • Views: 2,151
    10-21-2012, 11:32 PM Go to last post
  19. Simulation of clusterized binary outcomes with covariates?

    Hi, I am going to do some simulations regarding to the cluster randomized clinic trials with binary outcomes. I can use beta-binormial approch to...

    Started by ppp2012‎, 10-19-2012 10:08 AM
    • Replies: 0
    • Views: 1,376
    10-19-2012, 10:08 AM Go to last post
  20. Cool frequencies for a year prior for data with dates and frequencies

    I have a data set with two columns; These are the date and the frequency of surgeries on that date. Dates are only listed if the frequency of...

    Started by azalea‎, 10-18-2012 03:59 PM
    frequencies, sas, yrdif
    • Replies: 0
    • Views: 1,236
    10-18-2012, 03:59 PM Go to last post
  21. command libname doesn't work

    I want to create data files in the data folder by libname course 'C:\data' but there is the following error message "Library course does not...

    Started by SAS forever‎, 10-18-2012 04:51 AM
    • Replies: 3
    • Views: 2,318
    10-18-2012, 06:45 AM Go to last post
  22. Need help remembering SAS procedure/Stats Test

    Hello, A while back I recall reading an article (and I think seeing an example on the SAS website) about baseball teams within the same division...

    Started by lancearmstrong1313‎, 10-16-2012 06:21 AM
    • Replies: 3
    • Views: 1,780
    10-17-2012, 05:51 AM Go to last post
  23. SAS Array

    Hello all, I have a question about perhaps using an array. Below is an example of a dataset I have that records sales from 5 different cities on...

    Started by lancearmstrong1313‎, 10-11-2012 06:34 AM
    • Replies: 3
    • Views: 2,077
    10-11-2012, 11:52 AM Go to last post
  24. Error message clarification relating to JAVA

    Hello all, Can anyone explain in simplistic terms the reason I would be receiving this error: Java virtual machine exception....

    Started by kwak123‎, 09-26-2012 10:21 PM
    error, java
    • Replies: 4
    • Views: 3,335
    10-10-2012, 07:35 AM Go to last post
  25. SAS CanCorr procedure

    I'm running the CANCORR procedure in SAS and I keep getting a warning: "Note: The correlation matrix for the WITH Variables is less than full rank. ...

    Started by kungal‎, 10-06-2012 06:42 PM
    • Replies: 1
    • Views: 1,847
    10-08-2012, 10:09 AM Go to last post
  26. aova analys without replication

    Hi dears; I have a factorial design with 2 factor without replication. i dont know how analysis of variance this data and how find compare means...

    Started by varesh‎, 10-05-2012 01:59 AM
    • Replies: 6
    • Views: 2,077
    10-07-2012, 12:12 PM Go to last post
  27. Add price information based on reference number to different observation

    Hi I have a large dataset that includes some observatios that are identified as either E or A. Observation A and E have a common reference ID...

    Started by Morten‎, 10-01-2012 05:54 AM
    else-if-then, merge
    • Replies: 7
    • Views: 2,832
    10-05-2012, 12:28 PM Go to last post
  28. execute code in a data step

    Hi I am trying to read several data files with varying names (name changes with date) in a do until loop inside a data step. Here is part of the...

    Started by amd221‎, 09-25-2012 03:30 PM
    • Replies: 10
    • Views: 2,122
    10-04-2012, 05:07 PM Go to last post
  29. SAS Languages

    I am currently knee deep in my SAS installation. I am having remorse, when installing it I could have unclicked all of the language options (besides...

    Started by hlsmith‎, 10-04-2012 02:24 PM
    • Replies: 5
    • Views: 1,937
    10-04-2012, 04:13 PM Go to last post
  30. PROC REPORT with escape char?

    Hello all, first, here is the code I am working with: proc report data=data; column date ("Group A" (cost average)) ("Group B" (cost...

    Started by lancearmstrong1313‎, 10-04-2012 09:50 AM
    • Replies: 3
    • Views: 3,987
    10-04-2012, 01:10 PM Go to last post
  31. Is it possible to use IF statements in PROC IMPORT?

    I'm importing a data set in Stata format using PROC IMPORT, but I'd like to use IF statements to create a few new variables as well. However, simply...

    Started by pythonscript‎, 10-02-2012 06:08 PM
    • Replies: 0
    • Views: 2,142
    10-02-2012, 06:08 PM Go to last post
  32. Adding color to SGPLOT

    Hello all, First, I have attached a word document showing what my SGPLOT currently looks like and what I'd like it to look like. I have a graph...

    Started by lancearmstrong1313‎, 10-02-2012 06:16 AM
    • Replies: 0
    • Views: 5,029
    10-02-2012, 06:16 AM Go to last post
  33. Retain and auto increment in proc sql

    Hi , i want to generate sequence number with respect to some key variables. we can genrate this in DATA STEP IN sas using sorting and first.by...

    Started by pp_proc‎, 09-26-2012 11:05 AM
    proc sql sas
    • Replies: 2
    • Views: 7,763
    09-28-2012, 12:52 PM Go to last post
  34. Problem to connect on webpage with filename url

    Hi all, i'm not able to connect with the URL access method. I have tried all the possibilities. SAS still saying : hostname "name of the...

    Started by Surfer_at_sea‎, 09-26-2012 02:20 PM
    • Replies: 6
    • Views: 4,071
    09-28-2012, 12:01 PM Go to last post
  35. Adjusting confidence intervals for multiple comparisons

    Hi all, someone asked me a question and I wasn't quite sure how to BEST go about solving it in SAS. It involves creating confidence intervals but...

    Started by lancearmstrong1313‎, 09-25-2012 12:01 PM
    2 Pages
    1 2
    • Replies: 19
    • Views: 17,100
    09-26-2012, 12:12 PM Go to last post
  36. PROC SGPLOT vbar - ordering the bars

    Hello, I've included a word document with code and the resulting graph. Along the xaxis are three cities. Within each city a vbar is grouped by...

    Started by lancearmstrong1313‎, 09-26-2012 08:05 AM
    • Replies: 1
    • Views: 4,851
    09-26-2012, 08:07 AM Go to last post
  37. proc gplot help with tidying up of graphs.

    hi everyone. i would be most grateful if anyone can maybe help me to "tidy up" my graph output I get from proc gplot. The current graph's axis...

    Started by scrofungulus4‎, 09-26-2012 05:53 AM
    editing, gplot, graph
    • Replies: 1
    • Views: 2,050
    09-26-2012, 06:55 AM Go to last post
  38. SAS date formats

    I'm new here and while I've read a bunch on this nothing I do helps. I know this is a newbie question but I am thankful for the help! Basically I...

    Started by kiiirstenleee‎, 09-25-2012 05:33 PM
    date, format
    • Replies: 1
    • Views: 1,239
    09-25-2012, 05:41 PM Go to last post
  39. need SAS logic/query for the problem

    I have a sample banking data set to make it easy for you to look and know how the data looks like. The data has 3 fields 1.clientid 2.Date...

    Started by Nav sweeney‎, 09-23-2012 09:56 PM
    • Replies: 0
    • Views: 1,869
    09-23-2012, 09:56 PM Go to last post
  40. How do I insert vertical space into a PDF document using ODS PDF?

    I'm using ODS PDF to create a simple PDF report, but I'm having trouble inserting space between the tables into the PDF file. This is the code so...

    Started by pythonscript‎, 09-22-2012 01:42 PM
    ods pdf tricks, sas
    • Replies: 0
    • Views: 3,643
    09-22-2012, 01:42 PM Go to last post
  41. Why does INSET NORMALTEST display missing (a period) on my histogram?

    I have a simple data set that I'm trying to make a histogram of, but using the INSET NORMALTEST command doesn't seem to work for some data. This is...

    Started by pythonscript‎, 09-18-2012 05:15 PM
    • Replies: 5
    • Views: 1,807
    09-22-2012, 01:36 PM Go to last post
  42. %SYSFUNC( ) - with TRIM( ) and LEFT( )

    So at the start of my SAS program I have: %LET cost=10000; Later in my program, I am using ods pdf text and trying to format my &cost with...

    Started by lancearmstrong1313‎, 09-20-2012 12:59 PM
    • Replies: 2
    • Views: 3,887
    09-20-2012, 02:33 PM Go to last post
  43. Question about POINTLABEL option!

    Hi all I am making a line graph using GPLOT. Can someone tell me if there's anyway I can make the POINTLABLE option on the SYMBOL statement to...

    Started by praj‎, 09-14-2012 07:06 PM
    • Replies: 0
    • Views: 1,837
    09-14-2012, 07:06 PM Go to last post
  44. SAS Bucketing in intervals

    Hi, Say I have this data: ID date duration dose 1 02-09-2011 40 100 1 15-11-2011 45 200 1 29-12-2011 46 150 1 ...

    Started by PVissers‎, 09-14-2012 05:54 AM
    • Replies: 0
    • Views: 5,233
    09-14-2012, 05:54 AM Go to last post
  45. ^{super=1} Superscript not working properly?

    Hello all: I am creating PROC SGPLOTs with accompanying ods pdf text=" ". I want to use superscripts to better differentiate two graphs. The...

    Started by lancearmstrong1313‎, 09-13-2012 06:45 AM
    • Replies: 1
    • Views: 4,316
    09-13-2012, 02:05 PM Go to last post
  46. Setting up data for Survival Analysis

    Hello all: I have a list of data for people. Each row represents data collected for a person at a certain date. At each date information was...

    Started by lancearmstrong1313‎, 09-13-2012 10:12 AM
    • Replies: 2
    • Views: 1,850
    09-13-2012, 12:53 PM Go to last post
  47. Deleting observations by ID

    Hello again, sorry for all the posts. Let's say I have a set of data: ID Year 1 2007 1 2008 1 2010 2 2008

    Started by lancearmstrong1313‎, 09-13-2012 11:34 AM
    • Replies: 2
    • Views: 1,252
    09-13-2012, 12:12 PM Go to last post
  48. How can I write a macro to execute iterative regressions?

    Hi, I have a group of 10 exposure variables and a group of 10 outcome variables. I would like to write a macro to regress each outcome variable on...

    Started by jmdecu‎, 09-12-2012 10:56 AM
    macro, macros
    • Replies: 3
    • Views: 2,099
    09-13-2012, 09:55 AM Go to last post
  49. ods pdf: adding blank pages with text only

    Hello all, I am creating a large PDF document in SAS using the ODS PDF abilities. I would like to add a blank page that says in very large print...

    Started by lancearmstrong1313‎, 09-12-2012 10:51 AM
    ods pdf tricks
    • Replies: 2
    • Views: 4,538
    09-13-2012, 05:50 AM Go to last post
  50. Exclamation Calling R Functions from SAS, OPTION=RLANG; PROC IML

    I need to run R code in SAS (OPTION=RLANG, PROC IML) PROBLEM So far I've been running Shapley regression in R using the following code ...

    Started by edyta_‎, 09-11-2012 09:28 AM
    proc iml, sas
    • Replies: 3
    • Views: 15,260
    09-12-2012, 08:50 AM Go to last post
  51. creating report in SAS

    Hi all I want to create report in which there are three columns. 1st column in numerator, 2 column is denominator and 3rd is the percent...

    Started by praj‎, 09-11-2012 04:06 PM
    • Replies: 0
    • Views: 2,741
    09-11-2012, 04:06 PM Go to last post
  52. Macro within a macro

    I did a regression for various medical services (surgery, physical therapy, chiropractor, physiatry, imaging and injections). I used a poisson...

    Started by lancearmstrong1313‎, 09-11-2012 07:51 AM
    • Replies: 1
    • Views: 1,667
    09-11-2012, 10:23 AM Go to last post
  53. Calculating a persons age

    I pulled data and have a list of Birth Dates. I want to calculate each persons age base on August 31, 2012. I'm having issues because the Birth Dates...

    Started by rjkst15‎, 09-10-2012 09:10 PM
    • Replies: 1
    • Views: 1,640
    09-10-2012, 10:26 PM Go to last post
  54. LAG( ) or DO-LOOP?

    I have the following data: X Y Z 1 2 . . 3 . . 4 . . 5 . . 6 . For the first row of data, I have:

    Started by lancearmstrong1313‎, 09-07-2012 02:42 PM
    • Replies: 6
    • Views: 5,239
    09-10-2012, 11:25 AM Go to last post
  55. simple sas programming question (SAS 9.3)

    I constructed the program (below) and now I want to use the model (within the program) to calculate the predicted for a couple of data points. I...

    Started by TABerg‎, 09-08-2012 07:46 AM
    sas program
    • Replies: 1
    • Views: 2,842
    09-09-2012, 07:36 PM Go to last post
  56. PROC SGPLOT removing labels from legend

    I have an SGPLOT in which I plot predicted monthly costs vs. actual monthly costs. I also have a 95% confidence interval for the predicted costs. ...

    Started by lancearmstrong1313‎, 09-06-2012 09:17 AM
    • Replies: 5
    • Views: 22,472
    09-06-2012, 01:23 PM Go to last post
  57. sas coding question

    Hi I need the coding for the following; /*task*/ data r; input info $ 1 - 50; cards; 101 pencils 42 102 parker pens 21 103 apple ipod touch...

    Started by samsas‎, 09-05-2012 12:06 AM
    • Replies: 3
    • Views: 3,749
    09-06-2012, 02:23 AM Go to last post
  58. Smile SAS code to compare cell entries?

    I have a data set with 2 columns that I need to compare for similarities. In the first column, I have a set of codes separated by commas and in the...

    Started by uihiba‎, 04-07-2009 11:22 AM
    • Replies: 6
    • Views: 8,974
    09-05-2012, 07:23 PM Go to last post
  59. Large value for variation explained using PROC VARCLUS

    Hi all, I am relatively new to SAS, having been using it for the last month to do some statistical analysis on some small/medium dataset. I am...

    Started by thaolp‎, 09-05-2012 09:44 AM
    varclus, variation explained
    • Replies: 0
    • Views: 4,430
    09-05-2012, 09:44 AM Go to last post
  60. Post Ordered Multinomial Logistic Regression, Panel Data

    Hello Stats Community, I need to run an ordered multinomial logistic regression model using panel (longitudinal) data. I believe that such a...

    Started by goldenboy‎, 09-02-2012 03:11 PM
    logistic regression
    • Replies: 1
    • Views: 5,400
    09-02-2012, 06:00 PM Go to last post

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