search for: coarsen

Displaying 16 results from an estimated 16 matches for "coarsen".

Did you mean: coarse
2010 Feb 09
2
Resampling a grid to coarsen its resolution
Dear all, I have a grid (data frame) dataset at 0.5 x 0.5 degrees spatial resolution (720 columns x 360 rows; regular spacing) and wish to coarsen this to a resolution of 2.5 x 2.5 degrees. A simple calculation which takes the mean of a block of points to form the regridded values would do the trick. Values which should be excluded from the calculation are -9999 (unless all points within a block are -9999, in which case -9999 should be return...
2008 Jul 26
1
Coarsening the Resolution of a Dataset
Dear all, I have gridded data at 5' (minutes) resolution, which I intend to coarsen to 0.5 degrees. How would I go about doing this in R? I've had a search online and haven't found anything obvious, so any help would be gratefully received. I'm assuming that there will be several 'coarsening' techniques available - I'm after something fairly simple, which...
2005 Sep 08
1
Coarsening Factors
It is not uncommon to want to coarsen a factor by grouping levels together. I have found one way to do this in R: > sites [1] F A A D A A B F C F A D E E D C F A E D F C E D E F F D B C Levels: A B C D E F > regions <- list(I = c("A","B","C"), II = "D", III = c("E","...
2012 Feb 06
0
How do I get the CEM (coarsened exact matching) package to run?
Hi, I am running a MacBook Pro with OS X 10.6.8. When I try to load library(cem) and run any function, R crashes. Any suggestions as to why this is? Thanks in advance. I think the problem is that I don't have all the "infrastructure" I need to run CEM, but I have no clue what to do either... #Do I have tcltk (I have no clue what that is) capabilities("tcltk") tcltk
2005 Sep 05
0
New package for grouped data models
Dear R-users, We'd like to announce the release of our new package "grouped" (available from CRAN), for fitting models for grouped or coarse data, under the Coarsened At Random assumption. This is useful in cases where the true response variable is known only up to an interval in which it lies. Features of the package include: power calculations for two-group comparisons, computation of Bayesian residuals using Multiple Imputation, capability of fitting mo...
2005 Sep 05
0
New package for grouped data models
Dear R-users, We'd like to announce the release of our new package "grouped" (available from CRAN), for fitting models for grouped or coarse data, under the Coarsened At Random assumption. This is useful in cases where the true response variable is known only up to an interval in which it lies. Features of the package include: power calculations for two-group comparisons, computation of Bayesian residuals using Multiple Imputation, capability of fitting mo...
2012 Jun 27
1
Strucchange: Breakpoint slow
Hi to all, I am trying to run breakpoints() on a fairly large sample (>10.000 observations). The process is very slow, any idea on how to speed this up? I have tried the hpc="foreach" parameter, but this didn't work at all when I tried to run it on a smaller sample. breakpoints(x ~ x.l1 + x.l2 + X.l3 + x.l4 + x.l5 + x.l6 + x.l7 + x.l8 + y.l1 + y.l2 + y.l3 + y.l4 + y.l5 + y.l6
2011 Oct 01
1
Fitting 3 beta distributions
Hi, I want to fit 3 beta distributions to my data which ranges between 0 and 1. What are the functions that I can easily call and specify that 3 beta distributions should be fitted? I have already looked at normalmixEM and fitdistr but they dont seem to be applicable (normalmixEM is only for fitting normal dist and fitdistr will only fit 1 distribution, not 3). Is that right? Also, my data has 26
2003 Apr 09
1
[OFF] Nested or not nested, this is the question.
Hi, sorry by this off. I'm still try to understand nested design. I have the follow example (fiction): I have 12 plots in 4 sizes in 3 replicates (4*3 = 12) In each plot I put 2 species (A and B) to reproduce. After a period I make samples in each board and count the number of individuals total (tot) and individuals A and B (nsp). Others individuals excepts A and B are in total of
2009 Apr 23
1
Loess over split data
Dear R users, I am having trouble devising an efficient way to run a loess() function on all columns of a data.frame (with the x factor remaining the same for all columns) and I was hoping that someone here could help me fix my code so that I won't have to resort to using a for loop. (You'll find the upcoming lines of code in a single block near the end of the message.) Here's a
2011 Oct 19
1
hypothetical prediction after polr
Dear R-Help listers, I am trying to estimate an proportional odds logistic regression model (or ordered logistic regression) and then make predictions by supplying a hypothetical x vector. However, somehow this does not work. I guess I must have missed something here. I first used the polr function in the MASS package, and I create a data frame and supply it to the predict function (see below):
2005 Mar 18
1
slow computation of mixed ANOVA using aov
Dear R-help list, I am trying to do a mixed ANOVA on a 8960 x 5 dataframe. I have 3 factors for which I want to test all main effects and interactions : f1 (40 levels), f2 (7 levels), and f3 (4 levels). I also have a subject factor, subject, and a dependent variable, dv. Some more information about the factors: f2 is a between-subject factor. That is, for each level of f2 there are 8 nested
2010 Dec 29
1
logistic regression with response 0,1
Dear Masters, first I'd like to wish u all a great 2011 and happy holydays by now, second (here it come the boring stuff) I have a question to which I hope u would answer: I run a logistic regression by glm(), on the following data type (y1=1,x1=x1); (y2=0,x2=x2);......(yn=0,xn=xn), where the response (y) is abinary outcome on 0,1 amd x is any explanatory variable (continuous or not)
2007 Jul 12
1
[LLVMdev] Atomic Operation and Synchronization Proposal v2
On 7/12/07, Torvald Riegel <torvald at se.inf.tu-dresden.de> wrote: > Here are some comments, quotes are from the draft. > > > an operation based constraint cannot guard other operations > > I think constraints associated with a particular instruction usually apply > to this instruction and previous/subsequent instructions, so this wouldn't > be true. This is the
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...e.ll 301 644053 13 0.06 642371 * * * clearLine.ll 1 3175 0 0.01 3150 0 0.01 3150 clock.ll 7 3985 2 0.01 3810 0 0.01 3968 closeFiles.ll 1 4699 0 0.01 4674 0 0.01 4674 closepl.ll 1 1057 0 0.01 1028 0 0.01 1028 closure.ll 5 28114 0 0.01 28088 0 0.01 28088 cnf.ll 222 772426 10 0.06 768498 2 0.07 767823 coarsen.ll 3 107852 0 0.02 107823 0 0.01 107823 code.ll 1 10232 0 0.01 10202 0 0.01 10202 CoderMixer2.ll 14 83683 4 0.01 81571 4 0.02 81571 CoderMixer2MT.ll 50 274089 5 0.02 266795 * * * cofactor.ll 9 103705 0 0.02 103675 0 0.02 103675 color.ll 1 2069 0 0.01 2040 0 0.01 2040 cols.ll 13 64095 0 0.02 64065 0...