Displaying 7 results from an estimated 7 matches for "datastep".
2009 Dec 03
4
Data Manipulation Question
Can R support data manipulation programming that is available in the SAS datastep? Specifically, can R support the following:
- Read multiple dataset one record at a time and compare values from each; then base on if-then logic write to multiple output files
- Load a lookup table and then process a different file; based on if-then logic, access and lookup valu...
2010 Jul 29
1
R Equivalent of SAS Datastep Line-Hold (@@) Specifier?
Hello Everyone,
Below is some SAS code that uses a "line hold specifier" to read multiple observations from each of several input lines of data. There are 3 patients per line in the in-stream data.
Is there a way in R to read this kind of data? I've looked in my books and online but haven't found anything
Thanks,
Paul
DATA EXAMP.TRIAL;
INPUT TRT $ CENTER PAT SEX $ AGE
2012 Nov 13
1
Proc Nnpar1way with D option - equivalent in R
...and Y is the predicted probabilities;
proc npar1way data = mydata D; class x; var y; run;
When i try this in R
ks.test(x, fitted(y),alternative = c("two.sided"),exact = NULL) I get very
different result compared to SAS.
I am new to R. Any help is appreciated. I think i am missing a datastep
maybe ?
Thank you.
--
View this message in context: http://r.789695.n4.nabble.com/Proc-Nnpar1way-with-D-option-equivalent-in-R-tp4649348.html
Sent from the R help mailing list archive at Nabble.com.
2007 Jun 13
3
Awk and Vilno
...e with variable1*variable2 subgroups: A row
from dataset1 where variable1=4 and variable2="Sam" can only match to
a row from dataset2 where variable1=4 and variable2="Sam". Also, any
match-ups where it is not the case that var3<=var4 are also excluded.
Here's how the SAS datastep will do it:
merge dataset1 dataset2 dataset3 ;
by variable1 variable2 ;
if ^( var3<=var4 ) then delete ;
[Actually, the SAS datastep can only do a many-to-one join, but you
can do a PROC SQL paragraph to do an SQL SELECT statement, then export
the results to a SAS datastep afterwards.]
The po...
2007 Jun 26
1
A really simple data manipulation example
...before, you won't care, but this
programming language falls in the same family as the SPSS and SAS
programming languages. All three programming languages have a fair
amount in common, but are quite different from the S programming
language. The vilno data processing function can replace the SAS
datastep. (It can also replace PROC TRANSPOSE and much of PROC MEANS,
except standard deviation calculations still need to be included in
the select statement).
********************************************
I hope that helps.
http://code.google.com/p/vilno
2007 Jun 08
4
Tools For Preparing Data For Analysis
...tarted doing the statistical tests.
The founder: Ben Pfaff, either a grad student or professor at Stanford CS dept.
Also at : directory.fsf.org/math/stats (GNU GPL)
3. Vilno
This uses a programming language similar to SPSS and SAS, but quite unlike S.
Essentially, it's a substitute for the SAS datastep, and also
transposes data and calculates averages and such. (No t-tests or
regressions in this version). I created this, during the years
2001-2006 mainly. It's version 0.85, and has a fairly low bug rate, in
my opinion. The tarball includes about 100 or so test cases used for
debugging - for l...
2007 Jun 13
0
Where to Find Data Transformation Software
...source license.
Check 'em out!
*******************************************************
Vilno: data transformation software, that reads in input datasets
(rows and columns), crunches through the data, and writes out output
datasets. It's an open source application that can replace the SAS
datastep ( and also replaces proc transpose and proc means ).
Find it at: http://code.google.com/p/vilno
( look in the download section for a tarball, it's a Linux
application, can be opened up (and maybe installed) on an Apple as
well ).
************************************************
DAP and PSPP:...