Displaying 1 result from an estimated 1 matches for "fromtreat".
2008 Apr 13
3
Matched pairs with two data frames
...school=c(10,10,10,10,33,20),
out2=c(1.1,2,3.5,4.9,5.2,6.5))
print(treat)
print(control)
matched.data.frame <- ?????? #Match "treat" "control" by age school
#My SPSS syntax would be similar to this:
MATCH FILES FILE="treat" /IN=fromtreat
/FILE="control" /IN=fromcontrol
/BY age school.
SELECT IF fromdad AND fromfam. #select data, set filter
The /IN= option creates a 0/1 variable that indicates the
"source" of the data
The resultand matched data frame should have
the following structure:
age school out1...