create new group ID133 (1/18/2013 10:01:08 AM) comp.soft-sys.sas Hello there,
I have a data set looks like:
Firm varx
A 0.774859
A 0.329258
A 0.610605
A 0.872355
B 0.190724
B 0.159308
C 0.664658
C 0.620615
C 0.613843
I would like to create a new group I... CC
slect a list of variables in proc sql223 (1/14/2013 4:14:18 PM) comp.soft-sys.sas Dear all,
I was wondering that in proc sql, how can we select a list of similar variables?
For example, if we want the x1 to x9, in proc sql,
can we write something like:
proc sql;
create table wan... CC
delete macro variables in the iteration016 (1/13/2013 8:46:45 AM) comp.soft-sys.sas Dear all,
My macro looks like the following:
%macro doit;
%do i =3D 1 %to 5;
data new;
set old; =20
if fyear =3D &i;
call symput('ID'||left(_n_), firm);
run;... CC
calculate every pair of two segments211 (1/10/2013 1:05:33 PM) comp.soft-sys.sas Hello there,
I have a data likes the following:
Firm year Segment CF
A 1980 1 0.657969
A 1980 2 0.518277
A 1981 1 0.535381
A 1981 2 0.988772
A 1982 1 0.967236
A 1982 2 0.014072
A 1983 1 0.46643
A 1... CC
Compute correlation between segments211 (1/8/2013 9:21:25 AM) comp.soft-sys.sas Hello there,
I have a data likes the following:
Firm year Segment CF
A 1980 1 0.657969
A 1980 2 0.518277
A 1981 1 0.535381
A 1981 2 0.988772
A 1982 1 0.967236
A 1982 2 0.014072
A 1983 1 0.46643
A 1... CC
A Match question. Thanks.7162 (12/1/2010 9:49:35 PM) comp.soft-sys.sas Hello all,
I have a question regarding the matching procedure. The are two
companies for instance:
ABBOTT
ABBOTT
ABBOTT
ABBOTT
ABB
ABB
ABB
For example, if I want to keep ABB and use the "contain... CC
A merge question3110 (11/25/2010 7:01:09 PM) comp.soft-sys.sas Hi dear all,
Happy Thanksgiving! I have a question to ask. I have to data sets
with unique company name. I tried to use the proc sql to merge this
two data sets. So, my case is if the company shows i... CC
output correlation matrix from PROC REG to a dataset3224 (7/28/2010 12:04:35 AM) comp.soft-sys.sas Hi dear all,
just wondering that can I output the correlation matrix to a dataset
from the PROC REG procedure. The code I am using is:
proc reg data = afreg outest=relation corr;
model hret12 = ICC / ... CC
calculate every pair of two segments211 (1/10/2013 1:05:33 PM) comp.soft-sys.sas Hello there,
I have a data likes the following:
Firm year Segment CF
A 1980 1 0.657969
A 1980 2 0.518277
A 1981 1 0.535381
A 1981 2 0.988772
A 1982 1 0.967236
A 1982 2 0.014072
A 1983 1 0.46643
A 1... chchanghenry(32)
slect a list of variables in proc sql223 (1/14/2013 4:14:18 PM) comp.soft-sys.sas Dear all,
I was wondering that in proc sql, how can we select a list of similar variables?
For example, if we want the x1 to x9, in proc sql,
can we write something like:
proc sql;
create table wan... chchanghenry(32)