I wonder if anyone can explain this error message I am getting when attempting to data clone a model exported with RMark. Sorry if I've posted in the wrong subforum, I'm not sure if this is an RMark or MARK issue.
I will reproduce the problem with the dipper dataset;
1. First I run the fully time-dependent dipper data in RMark with
profile interval requested for real parameter 20.
- Code: Select all
data(dipper)
dipper.processed=process.data(dipper,groups=("sex"))
dipper.ddl=make.design.data(dipper.processed)
Phisex.time=list(formula=~sex*time)
psex.time=list(formula=~sex*time)
dipper.phisex.time.psex.time =mark(dipper.processed,dipper.ddl,
model.parameters=list(Phi=Phisex.time,p=psex.time))
2. Export it for MARK.
[/code] export.MARK(dipper.processed,"dipper2",dipper.phisex.time.psex.time,profile.int=c(20))[/code]
2. Open MARK
File > RMARK import and open dipper2.Rinp
3. Choose to Data Clone x100 and then I get the error message
Error--expecting a group statement, but found: Profile intervals chat=1 20
but still MARK continues to run the data clone and produces the expected excel spreadsheet.
Is the data cloned profile likelihood for real parameter 20 reliable, or should I disregard the result?
What does the error message mean and how can I fix it? Do I need to adjust chat before cloning?
I'd be grateful for any thoughts please.