| Thread | Last Post | Replies |
|
| SAS Code | 28 Feb 2010 17:23 GMT | 1 |
I used the code - DATA home; INFILE 'c:\Cwa\Home.txt'; INPUT Owner $ 1-7 Description $ 9-33 Cost;
|
| Format in SAS | 28 Feb 2010 03:08 GMT | 3 |
I'm using the code :- data period1; infile 'c:\Cwa\period1_sales_data.dat.'; Input TransactionID $1-8
|
| Re: creating a filename with concatenated date & time values | 27 Feb 2010 21:19 GMT | 10 |
CATS? CATX? ||? CAT? Just use whichever method of concatenation you prefer, plus PUT statements to make sure they are properly formatted. -Joe
|
| Testing Trends when Equal Variances are not Assumed | 27 Feb 2010 16:43 GMT | 7 |
proc glm contrasts give me tests that assume equal variances. if i enter the same coefficients into spss, i get two sets of tests (equal variances assumed and not). can i get these tests from glm? thanks
|
| Char() vs substr() (was Re: How to - Hex IP address to dotted | 27 Feb 2010 15:32 GMT | 5 |
Can anyone comments on why SAS introduced the new function char()? What is the advantage of char(a,1)? Isn't it the same as substr(a,1,1)? Thanks
|
| Data step Do loop to change the value of Macro Variable | 27 Feb 2010 07:17 GMT | 15 |
%macro a; data a; %do i=1 %to 10; X&i=&i;
|
| Robust standard errors in Zero inflated Poisson and Zero inflated | 27 Feb 2010 02:37 GMT | 1 |
I have used Proc Genmod and Repeated Subject statement to obtain robust standard errors in Poisson and negative binomial regression. Could anyone please tell me something about the STATEMENT AND possible SYNTAX that can be used to obtain robust standard errors in Zero inflated ...
|
| Ouput only select regression coefficients with "proc syslin"? | 26 Feb 2010 22:46 GMT | 1 |
A simple question that appears to have no simple answer. I am running a large number of 2sls regressions with proc syslin. Each regression contains a number of useful but meaningless dummy variables. I would like SAS to only print the parameter estimates for one or two key ...
|
| Re: Basic Bootstrap Macro | 26 Feb 2010 21:54 GMT | 8 |
You changed 2 places in the original code, which caused trouble: set new POINT = choice NOBS = 10; The 10 has to be n, a variable used later. PROC REG DATA = analysis NOPRINT outest= outests;
|
| Re: Picking a value from one variable based on values in another | 26 Feb 2010 21:05 GMT | 1 |
Hi Angel, Here is one approach using SQL. Each LEFT JOIN are the separate aggregations.
|
| Re: How to - Hex IP address to dotted decimal | 26 Feb 2010 20:40 GMT | 6 |
<snip> Yes, use scan,input,put can do it: 1 data _null_; 2 iphx='0xC0.0x00.0x02.0xEB';
|
| Picking a value from one variable based on values in another variable | 26 Feb 2010 20:21 GMT | 1 |
I am working on a survival analysis and needing some help with the initial data management. I'm trying to create a time in study, and a time of event. My data is set up in such a manner:
|
| How to specify the ESTIMATE statement in PROC MIXED | 26 Feb 2010 19:26 GMT | 8 |
I am fitting a PROC MIXED repeated measures model, and trying to estimate some linear combinations of the simple effects of interest to me. (Data) I have 2 drugs (A and B), and gave them to patients randomly in
|
| How to - Hex IP address to dotted decimal | 26 Feb 2010 18:19 GMT | 1 |
I know that I can input each hex character of a V4 IP address individually and define them as PIB3. and make a dotted decimal IP address. What I'm curious is, can I input the four character hex IP address and somehow convert that to a decimal numbers? I've used SCAN and INPUT to go ...
|
| Re: LST produced instead of RTF | 26 Feb 2010 18:06 GMT | 4 |
You asked SAS to output rtf file to filetmp, which is temporary in Work folder, once the session is done, it is discarded. I think you should change this line: ods rtf file=filetmp style=styles.&style;
|