search for: obeserv

Displaying 8 results from an estimated 8 matches for "obeserv".

Did you mean: observ
2008 Mar 10
5
Passing extra parameters to functions called from Observers
Hi again, When you have an ''obeserver'' setup as follows: $(''myForm'').observe(''submit'', validateForm); If a user submits the form the ''validateForm'' function is called and is automagically passed the ''event'' to work with. This is fantastic! But is ther...
2011 Apr 18
4
altering identity column
...ing 70,000 observations. I have filtered this dataframe (let it's name be "transformed_dataframe") as I wanted to select only those observations which are greater than or equal to 60,001 regarding the very first identity column. So I have a transformed dataframe now including 10,000 obeservations (from 60,001 - to 70,000) and if you send "head(transformed_dataframe)" into R it looks like this: variable1 variable2 variable3 variable4 ... 60 001 ... ... ......
2011 Mar 22
1
Find Principal Component Score per year
Hi, I am trying to calculate Principal Component Scores per id per year using the psych package. The following lines provide the scores per obeservation pca = data.frame(read.table(textConnection(" id year A B C D 1001 1972 64 56 14 23 1003 1972 60 55 62 111 1005 1972 57 51 10 47 1007 1972 59 49 7 10 1009 1972 65 50 9 32 1011 1972 52 58 3 5 1013 1972 63 52 9 27 1001 1973 65 56 14 25...
2008 Nov 26
1
Finding Stopping time
Can any one help me to solve problem in my code? I am actually trying to find the stopping index N. So first I generate random numbers from normals. There is no problem in finding the first stopping index. Now I want to find the second stopping index using obeservation starting from the one after the first stopping index. E.g. If my first stopping index was 5. I want to set 6th observation from the generated normal variables as the first random number, and I stop at second stopping index. This is my code, alpha <- 0.05 beta <- 0.07 a <- log((1-be...
2007 Aug 14
1
glm(family=binomial) and lmer
Dear R users, I've notice that there are two ways to conduct a binomial GLM with binomial counts using R. The first way is outlined by Michael Crawley in his "Statistical Computing book" (p 520-521): >dose=c(1,3,10,30,100) >dead = c(2,10,40,96,98) >batch=c(100,90,98,100,100) >response = cbind(dead,batch-dead) >model1=glm(y~log(dose),binomial)
2011 Apr 04
1
Clarks 2Dt function in R
...answerd to Nancy Shackelford about Clarks 2Dt function. Since the thread ended just after your reply, I would like to ask, if you have an idea how to use this function in R I defined it the following way: function(x , p, u) { (p/(pi*u))*(1+(x^2/u))^(p+1) } and would like to fit this one to my obeservational data (count) [,1] [,2] [1,] 15 12 [2,] 45 13 [3,] 75 10 [4,] 105 8 [5,] 135 16 [6,] 165 5 [7,] 195 15 [8,] 225 8 [9,] 255 9 [10,] 285 12 [11,] 315 5 [12,] 345 4 [13,] 375 1 [14,] 405 1 [15,] 435 1 [16,] 465 0 [17,]...
2008 Nov 13
5
Touch an ActiveRecord - timestamps
When I update an ActiveRecord, i would like to "touch" one of the related objects, that the updated record belongs_to, in order to update the timestamps on the parent record, although i don''t want to change any of the data in the parent. Whats the accepted way to do this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2009 Mar 09
5
Help
...: text/plain > > Can any one help me to solve problem in my code? I am actually trying to > find the stopping index N. > So first I generate random numbers from normals. There is no problem in > finding the first stopping index. > Now I want to find the second stopping index using obeservation starting > from the one after the first stopping index. > E.g. If my first stopping index was 5. I want to set 6th observation from > the generated normal variables as the first random > number, and I stop at second stopping index. > > This is my code, > > > alpha &l...