1. Announcement:
    Want access to a chatbox?
    Dason ‎(Devorador de queso)
    05-10-2017
    Views:
    2,836
+ Post New Thread
Page 17 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 961 to 1020 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,875
    06-26-2015, 10:17 AM Go to last post
  1. Question proc freq: how to calculate fisher exact test with non-integers

    Background: For my bivariate analysis, I am trying to perform the Fisher's exact test where the expected cell frequency is less than 5 (using proc...

    Started by publichealthstudent‎, 03-25-2011 09:35 PM
    fisher exact test, non-integer, proc freq
    • Replies: 3
    • Views: 8,327
    04-05-2011, 09:39 AM Go to last post
  2. Getting data from one big string of unknown length

    Hi, I am quite novice and get problem :(. I have such a kind of data: X23Y12X54Y11 X99Y1 X1Y19X10Y20X35Y5X10 Y50X1Y49 Y100...

    Started by maksz‎, 04-01-2011 03:59 AM
    • Replies: 2
    • Views: 4,863
    04-04-2011, 03:34 AM Go to last post
  3. sum in column by date

    Hi all, I have a small problem which is holding me back and I cannot figure it out. In a dataset I need to calculate the sum of variable...

    Started by gingerfish‎, 04-01-2011 02:40 AM
    column, loop, retain, sum
    • Replies: 1
    • Views: 9,227
    04-01-2011, 04:08 AM Go to last post
  4. Create numeric var based on character var values

    Hello, I have variable FISH in a dataset of approximately 5000 observations. I have probably 500 types of FISH. I need a variable FISH_TYPE which...

    Started by Emilyab‎, 03-28-2011 08:03 PM
    • Replies: 2
    • Views: 3,795
    03-29-2011, 07:33 PM Go to last post
  5. INTCK function returns no data

    Nevermind I got it. I have to add datepart to each dates in the intck function I get a '.' when I expect either 0 or 1 to be returned. I was...

    Started by Janoose‎, 03-25-2011 02:21 PM
    • Replies: 1
    • Views: 2,541
    03-29-2011, 09:56 AM Go to last post
  6. Flattening a data set (newbie question)

    I'm relatively new to SAS, so please forgive me if this has an entirely obvious answer. I've searched the Web extensively for the past several days...

    Started by bkann‎, 03-28-2011 05:04 PM
    • Replies: 2
    • Views: 4,779
    03-29-2011, 09:52 AM Go to last post
  7. Switching X and Y axis

    I produced the normal probability plot, where x axis is normal percentiles and y axis is parameter estimate. But i want to have x as parameter...

    Started by johnnakim‎, 03-26-2011 12:02 AM
    • Replies: 1
    • Views: 3,629
    03-29-2011, 09:44 AM Go to last post
  8. log transformation is giving me wrong results

    Hello guys, I need your help once more. I am trying to log transform my data before running the ANOVA analysis but I think that I am getting...

    Started by eleftheria26‎, 03-27-2011 05:12 PM
    • Replies: 1
    • Views: 3,356
    03-29-2011, 09:29 AM Go to last post
  9. Looping Macro for email

    Hi I have some code which will email the output of a data set to a predefined email address. data test1; set salesdata; if agentuk ne "" then...

    Started by Smythe78‎, 03-18-2011 06:12 AM
    • Replies: 12
    • Views: 4,618
    03-28-2011, 04:07 PM Go to last post
  10. Data transform

    Hi, I have a data as A b c d E f g h; and I want it to be as A b A c A d

    Started by AlexSmith‎, 03-22-2011 04:33 PM
    • Replies: 3
    • Views: 4,656
    03-26-2011, 03:22 PM Go to last post
  11. Question proc tabulate: am i using correct weight statement?

    Background: for my dataset I produce a contingency table with proc TABULATE of all case characteristics crossed with the type of clinic they attended...

    Started by publichealthstudent‎, 03-25-2011 09:44 PM
    percentages, proc tabulate, weight statement
    • Replies: 0
    • Views: 7,243
    03-25-2011, 09:44 PM Go to last post
  12. Smile Observation Number Column and Columns Cut Off

    I am new with SAS and have two problems that I need help with. (Problem 1 is solved just problem 2 left) 1.) The OBS column only prints out number...

    Started by Janoose‎, 03-09-2011 11:20 AM
    • Replies: 5
    • Views: 4,626
    03-25-2011, 12:15 PM Go to last post
  13. Using PDF function and do loop for hypergeometric probabilities

    hi there my question asked me to use fisher test for p value and mid p value and my professor asked me to use do loop function for n11 and the SAS...

    Started by tanghoi‎, 03-20-2011 08:10 PM
    • Replies: 4
    • Views: 3,660
    03-21-2011, 12:10 PM Go to last post
  14. Cross tabs in SAS

    Does anyone have code that allows SAS to perform a crosstab like that of SPSS

    Started by hmanhertz‎, 03-21-2011 09:31 AM
    • Replies: 2
    • Views: 5,494
    03-21-2011, 10:19 AM Go to last post
  15. Call NLPQN inside proc iml

    I have three questions, would you please help me in them: 1. How can I use each column of a certain matrix as if it is a column vector instead of...

    Started by ayoya1987‎, 03-18-2011 01:47 PM
    • Replies: 1
    • Views: 5,138
    03-18-2011, 03:12 PM Go to last post
  16. Exclamation Testing Assumptions for split-plot design

    I am trying to analyze a multiple year, split-plot within a RCBD. I am unsure of how to check HOV and normality assumptions in SAS. Here are the...

    Started by cotton‎, 03-17-2011 12:10 PM
    • Replies: 0
    • Views: 3,506
    03-17-2011, 12:10 PM Go to last post
  17. as matrix form

    suppose I have numbers from 1-5, and using sas/iml, i would like to make it as a vector (column) instead of putting it as x={1,2,3,4,5} thanks!

    Started by johnnakim‎, 03-15-2011 04:43 PM
    • Replies: 1
    • Views: 2,474
    03-16-2011, 01:36 PM Go to last post
  18. Need advice with PROC GPLOT

    Hi all, I have this data set: Country item week region sales_mean LT A1 1 city1 10.2 LT A1 5 city1 ...

    Started by efunk‎, 03-07-2011 03:11 PM
    • Replies: 10
    • Views: 3,891
    03-14-2011, 09:44 AM Go to last post
  19. Libname Statement/Permanent SAS file

    :wave: I am practicing for an exam and I'm not sure I'm getting this right. Here is a snapshot of the data, easier than writing it all out: ...

    Started by obscuranox22‎, 03-08-2011 10:39 PM
    • Replies: 1
    • Views: 3,006
    03-08-2011, 10:58 PM Go to last post
  20. Create txt file with header

    I want to create a txt file from SAS dataset selecting few variables. data _null_; file 'address\new.txt'; put x1 x2 x3; run; Now how do I...

    Started by AlexSmith‎, 03-07-2011 05:56 PM
    • Replies: 2
    • Views: 5,489
    03-08-2011, 09:46 AM Go to last post
  21. If and Then Statement

    I'm trying to write code for the case where if you will be able to distinguish if you draw royal flush. data RF; set hands; if...

    Started by johnnakim‎, 03-05-2011 06:25 PM
    • Replies: 2
    • Views: 2,567
    03-06-2011, 01:16 AM Go to last post
  22. questions on sas formating issue.

    In the following sas code segment, what do the "lib=sasuser " and "select" mean here? Thanks. proc format lib=sasuser cntlout = sasuser.fmtdata; ...

    Started by winecoding‎, 02-03-2011 02:45 PM
    • Replies: 1
    • Views: 2,645
    03-04-2011, 03:33 PM Go to last post
  23. Reverse Transpose

    Hi, I want to do some sort of reverse transpose so that I create observations based on the value of a variable. id var1 var2 1 1 2 2 1 2 3...

    Started by Emilyab‎, 02-27-2011 01:17 PM
    • Replies: 4
    • Views: 9,548
    03-04-2011, 10:38 AM Go to last post
  24. Smile keeping only certain values of a variable (not manually)

    Hi there, I have two data sets. One is a large data set containing a week variable 'wk'. The other has just one variable , 'wk2', which contains...

    Started by azaleah‎, 02-25-2011 05:57 PM
    data, listing, manual, values
    • Replies: 2
    • Views: 4,404
    02-25-2011, 07:25 PM Go to last post
  25. Running a SAS program automatically

    How can I have a SAS program run automatically in Windows, at a certain time? I tried something a batch file like this but it doesn't create the...

    Started by dohko8‎, 02-15-2011 04:32 PM
    • Replies: 4
    • Views: 14,145
    02-25-2011, 03:27 PM Go to last post
  26. How to assign ID to Case-control pair (1:2 or 1:1 pairing)

    rreterterttre

    Started by jhavm‎, 02-24-2011 04:39 PM
    • Replies: 2
    • Views: 5,768
    02-25-2011, 01:40 PM Go to last post
  27. Where do I get SAS Enterprise Miner?

    The purpose is to prepare for certification. I checked the local university, but their SAS doesn't have EM. Is it possible to find it outside the...

    Started by Nikkei‎, 02-24-2011 07:20 PM
    • Replies: 0
    • Views: 2,566
    02-24-2011, 07:20 PM Go to last post
  28. Not sure how to read this data in

    Seems like there should be a simple solution here, but I'm struggling to find it. Trying to read in data from a .dat file. Here's an example of...

    Started by ezpkns34‎, 02-24-2011 11:19 AM
    • Replies: 1
    • Views: 4,831
    02-24-2011, 05:13 PM Go to last post
  29. Mixed modeling

    1. Generating Data from Mixed Models and Estimating parameters using PROC MIXED Consider a situation of Mixed Models where one gets n observations...

    Started by bhuvansaitej‎, 02-23-2011 08:36 AM
    • Replies: 3
    • Views: 3,535
    02-23-2011, 08:11 PM Go to last post
  30. PROC COUNTREG Help

    I'm running PROC COUNTREG for count data (n~6800) and that is fine. But when I try to run the model for subgroups with the "by" option, one of the...

    Started by wave97‎, 02-22-2011 03:24 PM
    countreg, regression, sas
    • Replies: 0
    • Views: 4,625
    02-22-2011, 03:24 PM Go to last post
  31. PROC MI/MIANALYZE--f-values and standardized betas

    I recently used PROC MI and PROC MIANALYZE to conduct a regression, and it ran correctly--however, I do have two issues with omnibus F-values and...

    Started by bsdarnoc‎, 02-21-2011 07:06 PM
    • Replies: 0
    • Views: 4,611
    02-21-2011, 07:06 PM Go to last post
  32. Proc GPLOT

    Hi! I'm having some issues in Proc GPLOT. Specifically, I'm trying to overlay two graphs. The first graph consists of the individual...

    Started by jamesmartinn‎, 02-07-2011 06:41 PM
    • Replies: 1
    • Views: 5,039
    02-21-2011, 10:01 AM Go to last post
  33. Coding Help

    I'm sorry if this isn't the correct place to post this coding question.... I have a dataset with a number of reaction codes (reactioncode1,...

    Started by helpmesas‎, 02-18-2011 11:53 AM
    • Replies: 7
    • Views: 4,768
    02-18-2011, 08:00 PM Go to last post
  34. Help with Arrays and formating data

    OK, I have tried so many different ways of doing this, I'm so confused. Thank you all for you help in advance. I want to re-organize the data so...

    Started by Tres‎, 02-12-2011 04:31 PM
    • Replies: 3
    • Views: 4,573
    02-13-2011, 08:54 AM Go to last post
  35. Regression output using robustreg

    Hi I've been trying to get my parameter estimates into a more standardized format, specifically where all I have is the coefficient with some sort...

    Started by Novice 7‎, 02-09-2011 07:28 AM
    • Replies: 7
    • Views: 4,837
    02-12-2011, 11:32 AM Go to last post
  36. Arrow How to Extract Data to Have Variables of Interest?

    My data set is too large with unnecessary variables. I want to extract or split it to a smaller one, containing only variables I want to play with...

    Started by non-sleeper‎, 02-11-2011 06:15 PM
    • Replies: 1
    • Views: 5,257
    02-11-2011, 06:23 PM Go to last post
  37. Problem w/ JACKREG macro

    Hi - I've been trying to implement jackknifing using the JACKREG macro, but keep receiving an error whenever I run the code. I've included an...

    Started by dx2724‎, 02-08-2011 11:01 PM
    • Replies: 1
    • Views: 3,303
    02-09-2011, 01:06 PM Go to last post
  38. hierarchical random effects structure in GLIMMIX

    Hi All, I have a question about complicated random effects structures. Please bear with me. I am trying to construct a model in GLIMMIX that...

    Started by Guillemot‎, 02-05-2011 02:31 PM
    by-subjects, glimmix, hierarchical, nested, repeated
    • Replies: 0
    • Views: 7,766
    02-05-2011, 02:31 PM Go to last post
  39. Quick Question - Winter's Method

    Hello, I'm new to using SAS, and am currently attempting to use it in a forecasting project. As such, I'm looking into Winter's Method. I've been...

    Started by sroy9‎, 02-03-2011 03:44 PM
    • Replies: 0
    • Views: 2,790
    02-03-2011, 03:44 PM Go to last post
  40. Save records

    Hi all, Am new to this SAS Coding with web application.\ Thru SAS macro, am able to display record in my web application. When I click on the...

    Started by AnnV‎, 02-03-2011 03:05 AM
    • Replies: 0
    • Views: 1,902
    02-03-2011, 03:05 AM Go to last post
  41. Upload txt file into the server folder and save the information into the table

    Hi all, Am new to this technology. I wanted to know about, how to upload txt file from the local machine to SAS BI server and also updated that file...

    Started by AnnV‎, 02-03-2011 02:51 AM
    • Replies: 0
    • Views: 2,397
    02-03-2011, 02:51 AM Go to last post
  42. what does the following SAS statement mean?

    what does the following SAS statement mean? select(substr(put(customerID, 4.),3,2)); Especially, what do the three parameters 4., 3, and 2...

    Started by winecoding‎, 02-02-2011 01:52 PM
    • Replies: 1
    • Views: 2,713
    02-02-2011, 03:12 PM Go to last post
  43. Webapplication form in SAS

    How to implement webapplication form in SAS

    Started by jj2010‎, 02-02-2011 08:19 AM
    • Replies: 0
    • Views: 2,413
    02-02-2011, 08:19 AM Go to last post
  44. Smile File uploading into Oracle table using with webapplication in SAS

    How to upload .TXT extension file in the TEST folder in the server. The same, i have to update oracle table. This file uploading thru web...

    Started by jj2010‎, 02-02-2011 08:17 AM
    file uploading in sas
    • Replies: 0
    • Views: 2,604
    02-02-2011, 08:17 AM Go to last post
  45. Help on creating dates by segments

    Hi all. Hopefully someone can help me with some SAS coding. My data set contains the variables sector and day1-day14 as below. A 1 4 8 9 3 8 9 10...

    Started by sonicbill11‎, 01-28-2011 03:58 PM
    • Replies: 1
    • Views: 2,224
    01-30-2011, 03:47 AM Go to last post
  46. A question on the default initialized value for a SAS variable

    I am having two questions on the following SAS code: %let crsnum=3; data revenue; set sasuser.all end=final; where course_number=&crsnum;...

    Started by winecoding‎, 01-26-2011 05:49 PM
    • Replies: 1
    • Views: 3,555
    01-26-2011, 06:22 PM Go to last post
  47. Using a macro inside of a loop

    I don't know much about programming in SAS. I can run an analysis in SAS. I can modify my data set (if it's not too complicated). But I never...

    Started by Dason‎, 01-26-2011 01:42 PM
    • Replies: 1
    • Views: 15,162
    01-26-2011, 03:03 PM Go to last post
  48. fill missing variables by cycle

    Hi all, I am on this for some time now and don't know how to solve it. It is actually only a small part of a much bigger task, but I am stuck and...

    Started by gingerfish‎, 01-20-2011 11:52 AM
    • Replies: 5
    • Views: 5,484
    01-21-2011, 11:55 AM Go to last post
  49. Cumulative Sumation

    Hello, I want to calculate cumulative sum of a column. To calculate column B via A A B 5 5 10 15 5 20 10 ...

    Started by kggunes‎, 01-18-2011 04:14 AM
    retain
    • Replies: 2
    • Views: 3,262
    01-21-2011, 10:08 AM Go to last post
  50. how to see content of table in SAS

    Hi, I am new to SAS. I have one table called DW-OWNER.VISITS. I need to see the content of this table so, I can retrieve only neccessary...

    Started by patel.kirtan‎, 09-14-2010 08:11 AM
    • Replies: 5
    • Views: 16,652
    01-20-2011, 01:05 AM Go to last post
  51. Question Help! Problem with double integration.

    Dear all, How to solve the double integration involving a variable as the limits in the inner integral by using SAS? The question is as...

    Started by Sweet Crystal‎, 10-13-2010 02:20 AM
    • Replies: 3
    • Views: 5,822
    01-20-2011, 12:58 AM Go to last post
  52. Ttest in SAS

    All : This is the test data i have Grp result 111 45 111 67 111 67 111 12

    Started by SASSTATS‎, 12-08-2010 01:51 PM
    • Replies: 8
    • Views: 7,707
    01-20-2011, 12:47 AM Go to last post
  53. Lightbulb Question about finding MLE asymptotic standard error in AR(1)-garch(3,1) model in SAS

    The AR(1)-GARCH(3,1) model is as follows: Y(t) = e(t) - phi * Y(t-1) ---> AR(1), where phi is the parameter e(t) = sqrt(h(t)) * error(t) --->...

    Started by shenxw88‎, 01-20-2011 12:40 AM
    asymptotics, garch, mle, sas
    • Replies: 0
    • Views: 3,748
    01-20-2011, 12:40 AM Go to last post
  54. SAS Question

    I have a dataset with following data structure with 45 observation Name Job1 Job2 Job3 Job4 Job5 Peter Yes yEs nO YEs ...

    Started by symas‎, 11-23-2010 03:32 AM
    • Replies: 5
    • Views: 6,013
    01-20-2011, 12:05 AM Go to last post
  55. weibull for free form data (interval)

    How do i implement lifereg or generate a weibull distribution for this kind of data? Time (Mins) Cumulative % Failure 0-30 ...

    Started by rajvaidya‎, 01-18-2011 02:36 AM
    interval survival times, lifereg, weibull
    • Replies: 4
    • Views: 4,422
    01-19-2011, 06:59 AM Go to last post
  56. Trouble using proc sort for a conditional logit model

    Hi: I am trying to use the method described in "Multinomial Logit Models" by Ying So and Warren F. Kuhfeld to analyze subjects choices based on...

    Started by ty010‎, 01-09-2011 12:43 PM
    • Replies: 4
    • Views: 4,506
    01-14-2011, 03:36 PM Go to last post
  57. How do I create this new coulmn and variable?

    Hi Everyone, I need some help with a SAS problem. I am doing some research into twinning and need to identify a way of calculating the sex ratio...

    Started by aDOYLE‎, 01-12-2011 04:19 AM
    • Replies: 1
    • Views: 3,254
    01-12-2011, 12:57 PM Go to last post
  58. Counting repeated variable

    Hi Everyone, I really need some help with this. I am doing research on twinning and I want to identify mothers who had more than one set of twins...

    Started by aDOYLE‎, 01-11-2011 07:37 AM
    • Replies: 1
    • Views: 2,816
    01-11-2011, 12:49 PM Go to last post
  59. Question Creating an Array of Variables

    Hi! I've been struggling with macros to create an array of variables that are based on data from a second dataset (and failing!). My first...

    Started by oobylicious‎, 01-07-2011 06:04 PM
    macros, ods output variables
    • Replies: 1
    • Views: 4,288
    01-07-2011, 07:17 PM Go to last post
  60. GLIMMIX repeated measures problems

    Hi everyone, I'm running a fairly complex repeated measures model in SAS using PROC GLIMMIX. I'm testing one continuous variable, NUMARTHS...

    Started by Nicole_in_NOLA‎, 01-06-2011 01:11 PM
    • Replies: 0
    • Views: 7,654
    01-06-2011, 01:11 PM Go to last post

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