Displaying 3 results from an estimated 3 matches for "statevar".
2006 Jan 23
0
Making a markov transition matrix - more progress
...)
# This is a bad method because it is hardcoded to the specific values
# of "year".
markov <- table(tmp$prev, tmp$new)
markov
# Gabor's method --
transition.probabilities <- function(D, timevar="year",
idvar="name", statevar="state") {
stage1 <- merge(D, cbind(nextt=D[,timevar] + 1, D),
by.x=timevar, by.y="nextt")
v1 <- paste(idvar,".x",sep="")
v2 <- paste(idvar,".y",sep="")
stage2 <- subset(stage1, stage1[,v1]==stage1[,v2...
2006 Jan 22
6
Making a markov transition matrix
Folks,
I am holding a dataset where firms are observed for a fixed (and
small) set of years. The data is in "long" format - one record for one
firm for one point in time. A state variable is observed (a factor).
I wish to make a markov transition matrix about the time-series
evolution of that state variable. The code below does this. But it's
hardcoded to the specific years that I
2001 Dec 03
5
Problem with logon script
Hi,
I have a problem with logon script.
I will at first disconnect all connected drives from last Windows run, and
the connect home dir.
My smb.conf :
[Global]
logon script = STARTUP.BAT
logon drive = m:
logon home = \\sapo\%U
logon path = \\sapo\%U\setting\%m\profile
domain logons = Yes
[homes]
comment = Home Directories
read only = No