I was hoping someone could help me with two sintax questions about robust models RMark.
1. I’m trying to duplicate the rd_simple.inp example from Chapter 15 in RMark but I’m having difficulty specifying time intervals in the process.data statement. I was wondering what the syntax is. I tried:
rd_simple=convert.inp("C:/Users/Owner/Desktop/markdata/rd_simple1.inp")
time.intervals=c(0,0,1,0,0,1,0,0,1,0,0)
rd_simple.processed=process.data(rd_simple,model="Robust", time.intervals)
but I got the message:
Error in process.data(rd_simple, time.intervals, model = "Robust") :
ime intervals must be specified for a robust design
2. I was also wondering how I might be able to define a list such as time.intervals, or covariate with a link to a file such as (C:\Documents\time.intervals…). This would be convenient with very large data set.
Thank you for your help.