search for: tpt

Displaying 6 results from an estimated 6 matches for "tpt".

Did you mean: spt
2011 Dec 01
1
Estimation of AR(1) Model with Markov Switching
...t;- rep(0, nrow(X)) p_s1_t <- rep(0, nrow(X)) f_s0 <- rep(0,nrow(X)-1) f_s1 <- rep(0,nrow(X)-1) f <- rep(0,nrow(X)-1) logf <- rep(0, nrow(X)-1) p_s0_t[1] <- p0_s0 p_s1_t[1] <- p0_s1 # initiate hamilton filter for(i in 2:nrow(X)) { # calculate prior probabilities using the TPT # TPT for this example gives us # p_si_t_1 = p_si_t_1_si * p_si_t + p_si_t_1_sj * p_si_t # where p_si_t_1 is the prob state_t = i given information @ time t-1 # p_si_t_1_sj is the prob state_t = i given state_t_1 = j, and all info @ time t-1 # p_si_t is the prob state_t = i given information @ tim...
2010 May 05
1
puzzles with assign()
I'm trying to get code along the following lines to work: temp.name <- paste(TimePt,'df',sep='.') # invent a relevant name/symbol as a character string. assign(temp.name,IGF.df[IGF.df$TPt==TimePt,]) # this works. The relevant variable is now a data frame lm(b ~ Strain+BWt+PWt+PanPix, data=temp.name)) # this gives an error, namely Error in eval(predvars, data, env) : invalid 'envir' argument I think it's obvious what I want to achieve, but how is it done? I tried data=as...
2004 Jul 23
2
Complex Surveys...Specifying Design
....meps.ahrq.gov/> ). The STRATA and PSU variables are varstr01 and varpsu01 respectively. When I try to specify them with the svydesign function I get an error message. An excerpt of my session is as follows... library(foreign) > h60 <- read.xport("h:\\meps\\temptransports\\h60.tpt") > names(h60) <- casefold(names(h60)) > names(h60) [1] "dupersid" "sex" "inscov01" "totexp01" "perwt01f" "varstr01" "varpsu01" > library(survey) > meps.design <- svydesign(id=~varpsu01, strata=~v...
2004 Jan 08
1
setting up samba3 on rh9 using win bind
...ne I will greatly appreciate that also. I did download a document from geceventures.com that I thought would help but the first thing it tells me to do is "On the Linux server, add user... Adding users that already exist on my DC to the linux box is exactly what I would like to avoid. TIA, TPT
2010 May 05
0
R-help Digest, Vol 87, Issue 5
...1273052867103-2130691.post at n4.nabble.com> Content-Type: text/plain; charset=us-ascii I'm trying to get code along the following lines to work: temp.name <- paste(TimePt,'df',sep='.') # invent a relevant name/symbol as a character string. assign(temp.name,IGF.df[IGF.df$TPt==TimePt,]) # this works. The relevant variable is now a data frame lm(b ~ Strain+BWt+PWt+PanPix, data=temp.name)) # this gives an error, namely Error in eval(predvars, data, env) : invalid 'envir' argument I think it's obvious what I want to achieve, but how is it done? I tried data=as...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking