similar to: Switching

Displaying 20 results from an estimated 300000 matches similar to: "Switching"

2012 Jul 27
1
fitting Markov Switching Model
Dear Users, i have this time series, the tree lines means different level, i would use a Markov switching model with two states to modelling this time series. i would obtain the relative transition matrix (2X2) the first state is above the value of 23.65 (the higher line) the second state is below the value of 23.65 You can ignore the other two lines
2010 Oct 26
1
Markov Switching with TVTP - problems with convergence
Greetings fellow R entusiasts! We have some problems converting a computer routine written initially for Gauss to estimate a Markov Regime Switching analysis with Time Varying Transition Probability. The source code in Gauss is here: http://www.econ.washington.edu/user/cnelson/markov/programs/hmt_tvp.opt We have converted the code to R, and it's running without errors, but we have some
2010 May 24
6
switching elements of a vector
Hi, I would like to receive help for the following matter: If I'm dealing with a numeric vectors containing increasing elements. i.e. a<-c(1,2,2,2,2,3,3,3,4,4,4,5,5,6,7,7,7) There exist an efficient way to obtain an vector that indicates the position of the changing element of "a"? In this case it would be something like: index<-c(1,6,9,12,14,15) usually I'm used
2011 Dec 01
1
Estimation of AR(1) Model with Markov Switching
Dear R users, I have been trying to obtain the MLE of the following model state 0: y_t = 2 + 0.5 * y_{t-1} + e_t state 1: y_t = 0.5 + 0.9 * y_{t-1} + e_t where e_t ~ iidN(0,1) transition probability between states is 0.2 I've generated some fake data and tried to estimate the parameters using the constrOptim() function but I can't get sensible answers using it. I've tried using
2013 May 24
0
Bug in latest Ubuntu release (13.04) disables R graphics device
Hi, I had never heard of these drivers before, and did some googling. According to https://help.ubuntu.com/community/BinaryDriverHowto/ATI, By default Ubuntu will use the *open source* AMD or Radeon driver <https://help.ubuntu.com/community/RadeonDriver> for cards manufactured by AMD. Some users however prefer the proprietary fglrx driver for various reasons. Does this
2012 Nov 14
1
Switch "Groups" in ehplot (x-axis)
Hello everyone, I would like to switch the place of the Groups in the ehplot function. When I put my data (one vector) in a certain order for the "data vector" of ehplot function, the plot doesn't show me data in the order which I indicated. How to change that? I have one vector for data and one vector for names. This is how it looks like. I would like to have wt first, bimbid
2008 Apr 02
1
How to best read in this data / Switching rows and colums
Hi, I have to read in data which looks like this: SeriesA, 5, 5, 5, 5 SeriesB, 8, 5, 8, 8, 7, 10, 2, 7, 3 SeriesC, 5, 5, 8, 4, 7, 7, 4, 5 SeriesD, 5, 9, 5, 4, 2, 3, 10, 1 SeriesE, 7, 10, 9, 5, 8, 6, 10, 9, 5, 10, 4, 3, 2, 10, 8, 8, 10, 10, 10 SeriesF, 1, 2, 1, 5, 1, 7, 5, 7, 7, 3 There are actually much more data points in the data, each line contains between 300 and 500 values. If I use
2010 Oct 22
2
Error message in using nlm() and optim()
I am facing a problem when trying to maximize the likelihood function. I am actually estimating a dynamic switching regression model using simulated likelihood approach. The likelihood function is estimated using Simulations and is extremely complex. It comprises of 16 parameters ,q1, q2, q3,.......q16. While attempting to maximize the likelihood function, using the functions nlm() and optim(),
2009 Mar 21
1
How to avoid switching on input type?
Hi, I need some help improving this ugly code I wrote. I would like to shift forward a zoo object, matrix, ts, or list by "shift" items (default 1) and fill the holes with 0's. The code below works, but it looks ugly. I could write a function lag.zerofill() which calls the two functions below depending on the class() of the item passed in, but that feels very unlike R. What is
2013 Jan 27
1
Removing values containing a specific character
Awesome, thanks Arun, that's exactly what I was looking for! On Sat, Jan 26, 2013 at 9:21 PM, arun kirshna [via R] < ml-node+s789695n4656749h63@n4.nabble.com> wrote: > Hi, > Try this: > df[]<-lapply(df,as.character) > df2<-df > df[,1][grep("@",df$names)]<- "" > df > #names emails > #1 bob bobj@cup.com > #2
2016 Sep 20
2
samba to ad transition
I set the local and domainsid the same as on my existing domain. On Tue, Sep 20, 2016 at 1:45 PM, Samba - General mailing list [via Samba] < ml-node+s2283325n4708407h17 at n4.nabble.com> wrote: > On Tue, 20 Sep 2016 13:35:16 -0500 > Kaz Staleman <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4708407&i=0>> wrote: > > > I do it on test
2013 Jan 20
1
applying a formula from text
Dear Arun, I am a novice in R bu some my friends that use R for a long time were not able to help me. Thank you really. Concerning your question why I need it, I think that it can be situations where the condition, that I have to apply, depends on the data. May be you can advice me a good text to learn programming in R. Thank you again. Ilya Novikov Sat, Jan 19, 2013 at 8:02 PM, arun kirshna [via
2016 Jan 25
0
Notification of file modification in subdirectories not working
Hi Volker Thanks for reply. managed to capture Samba logs 4.2.7 in debug 10 Subsribed to events on path /watchfolder recursively. First notification is renaming a folder in a subfolder, path /watchfolder/test/renamed - that works OK. Second notification is on path /watchfolder/test/subfile.txt and editing that in Notepad on another Windows 7 machine via UNC path That does not show
2016 Sep 19
2
samba to ad transition
Thank. But I faced another problem. After I moved everything to the AD, the same SID, users, etc. WHen I connected from a computer that is already connected to my old domain, I can operate as already signed user. But if i tried to login as a different user i got the message that "The trust relationship between this workstation and the primary domain failed" So, I do have to add again
2016 Sep 20
0
samba to ad transition
I did it again, mean. I followed the instruction https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Samba_AD_domain_%28classic_upgrade%29 then I tried to log in from the client computer. ANd again. If that user already existed on client computer there was not a problem with log it to the AD, but if user doesn't exist I got that message "The trust relationship between this
2010 Feb 23
4
First. Last. Data row selection
I am in the process of switching from SAS over to R. I am working on very large CSV datasets that contain vehicle information. As I am processing the data, I need to select the first (or sometimes the second) record (by date) for any records that have the same license plate number. In SAS, there is a function called 'first.' that can be used on sorted datasets to pull out those first
2012 Oct 17
0
In mean.default(X[[50L]], ...) : argument is not numeric or logical: returning NA
Hi Arun, Thank you so much for your help. In the end, I wound up using: sp.data$spores<-as.numeric(as.character(sp.data$spores)) The stats guy on campus helped me :) Be well, Melissa ________________________________________ From: arun kirshna [via R] [ml-node+s789695n4646457h12@n4.nabble.com] Sent: Wednesday, October 17, 2012 6:51 AM To: Moore, Melissa Subject: Re: In
2011 Sep 08
5
General help - online statistics courses?
I understand this isn't a r specific question. I'm switching departments to work with the analytics team at my company as a "service" side manager to better incorporate the analytics process into product design / production. We're an online gaming company. As I'm going through tools like R, rapidminer, tableau, I was also thinking that I should get some formal training
2010 Oct 22
1
Help: Maximum likelihood estimation
I was trying to reproduce a result in a published journal, and I have come across some difficulties. I have the following equation, which is two equations combined together. http://r.789695.n4.nabble.com/file/n3006584/Screenshot.png where http://r.789695.n4.nabble.com/file/n3006584/Screenshot-1.png http://r.789695.n4.nabble.com/file/n3006584/Screenshot-2.png
2010 Mar 24
0
R-help ordinal regression
Dear colleagues, i am carrying out an ordinal regression model. I try it on SPSS but I "flirt" with R as well. I have a few questions. 1. What is the most reliable/tested/trusted package for ordinal regression in the R world? 2. Also, I have a statistical question. What is the danger of having to many 'empty cells' in ordinal regression? How many empty cells are too many? Do