search for: dayx

Displaying 2 results from an estimated 2 matches for "dayx".

Did you mean: day
2012 Jan 08
2
multivariate problem
...of the variables may increase its value significantly suddenly and keep this high value for a few days and then come back to the normal level. I am using R. Is there any function I can use to help me identify these strange days when the relationship between these variables changes? For example, if DayX is such a strange day, factor analyzing the data before DayX and after DayX separately would give me different factors (princial components). But how can I identify such a daym without trial and error? Thank you for the help...   Dr. Iasonas Lamprianou Department of Social and Political Sciences...
2009 Sep 11
2
help with for loop
example code: P = function(whichday,columns){ y = which(pvalue[,whichday]<Pvaluetest, arr.ind=TRUE) dayarb = raw_urine[y,day1_ind] daystand = raw_urine[y,columns] meandayxx = geometricmeanRow(dayarb) meandayyy = geometricmeanRow(daystand) diff = meandayyy - meandayxx for(i in 1:nrow(diff)){ if(diff[i]>0){ #diffbig = meandayxx<meandayyy x_index[i] = which(diff[i]>0) x[i] = raw_urine[x_index[i],1] dayx[i]= raw_urine[x_index[i],day1_ind] dayy[i] = raw_urine[x_i...