This solved it. I hadn't understood that something was an actual variable
name rather than a label, and therefore had mis-named it. Thanks, Jacqueline
On 4/23/06, Ian Brett Yohai <yohai(a)fas.harvard.edu> wrote:
Hi Jacqueline,
I think you are getting the "$NA" because something is not quite right
with the way the variable names are defined. I would check whatever is
your equivalent of the "cn" list of variables from the section handout to
make sure they are listed correctly.
Best,
Ian
On Sun, 23 Apr 2006, Jacqueline Chattopadhyay wrote:
Hi all,
I'm trying to create output to check the balance in the dataset
consisting
of those respondents who were assigned to receive
a phone call, and
those
respondents who were not assigned to receive any
one of the three
treatments
(problem 1b). I copied and pasted the syntax
given in the Section 10
handout
under the "##What did balance look like
originally?" heading, replacing
the
dataset and variable names as needed. I keep
getting the following
message:
Error in parse(file, n, text, prompt) : syntax
error in "tout<- t.test(
TR.pre$NA"
Does anyone know why this is happening? I'd much appreciate any advice.
Thanks,
Jacqueline
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
--
Jacqueline Chattopadhyay
Ph.D Student, Government & Social Policy
Harvard University
jchattop(a)fas.harvard.edu
jchattop(a)gmail.com
714.313.7022