Displaying 3 results from an estimated 3 matches for "fromstat".
Did you mean:
fromstate
2004 Nov 05
0
R check passes code and docs that don't match
...previous", # take the covariate value from
the previous or next observation
initprobs = NULL, # initial state occupancy
probabilities
data=list(), # optional data frame in which to
interpret variable names
fromto = FALSE,
fromstate, #
tostate, # data required if fromto is TRUE
timelag, #
death = FALSE, # 'death' states, ie, entry time known
exactly, but unknown transient state at previous instant
tunit = 1.0, # no longer used
exactt...
2006 Nov 13
0
question on MSM warning message
...)
> out1.msm2
<-msm(stage~years,subject=patient,data=mydata2,qmatrix=new.twoway9.q,con
trol=list(trace=1,report=1),covariates=~black+tport11,constraint=list(bl
ack=c(1,1,1),tport11=c(1,1,1)))
...
Warning message:
Absorbing - absorbing transition at observation 30 in:
msm.check.model(msmdata$fromstate, msmdata$tostate, msmdata$obs,
My data at observation around 30 look like ('years' is the time
variable)
> mydata2[27:35,]
count patient black years stage tport11 pcount
1 1029 1 0 1 1 17
1 1029 1 0 1 1 17...
2007 Jan 22
1
Example function for bigglm (biglm) data input from file
...# the ... argument.
# Define column types:
colClasses = list ("character", "character",
"integer", "numeric", "numeric"),
# Define the column names in the call:
# (recall that we cannot rely on the file header)
col.names = c("fromState", "toState",
"first", "original_column", "second")
);
library(biglm);
bigglm (formula = toState ~ 1 + first + rescaled_column,
data = a, family = binomial(link='logit'),
weights = ~second);
summary(.Last.value)
NOTICE TO RECIPIENT...