Hello all

Trying to run the following model: 

cfa1.model <- specifyModel("~/Documents/Teaching/QMU, Edinburgh/Events/Beltane Fire Festival/quants/Audience motivation survey/SEM/Data/Very first pass at SEM.rtf")

file contents:

Q7.Knowledge.of.Beltane -> Number.of.Attendances1, beta, NA
Age.band -> Q7.Knowledge.of.Beltane, alpha1, NA
Gender -> Q7.Knowledge.of.Beltane, alpha2, NA
std.ln.Q12.search.for.meaning -> Q7.Knowledge.of.Beltane, alpha3, NA
std.ln.Q11.spiritual.quest -> Q7.Knowledge.of.Beltane, alpha4, NA
Number.of.Attendances1 <-> Number.of.Attendances1, gamma1, NA
Age.band <-> Age.band, NA, 1
std.ln.Q12.search.for.meaning <-> std.ln.Q12.search.for.meaning, gamma3, NA
std.ln.Q11.spiritual.quest <-> std.ln.Q11.spiritual.quest, gamma4, NA

but get the error message:

Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  : 
  scan() expected 'a real', got 'NA\'

Any thoughts on why it's not working? Also if you know of any good SEM tutorials online?

Many thanks

Ross

RStudio 0.97.310, OS X 10.8.2



Dr Ross Tinsley 
Head of Research | Editor IHTSJ
International Hospitality and Tourism Research Centre
HTMi | Hotel and Tourism Management Institute | Switzerland
e. rtinsley@htmi.ch | w. htmi.ch | t. +41 (0) 41 488 11


	[[alternative HTML version deleted]]

