search for: restr

Displaying 20 results from an estimated 27 matches for "restr".

Did you mean: rest
2006 Apr 19
1
apply(table) miss factor structure
Hi, all. I didn't find something similar to this problem in past list. I have a data frame (named restr) where some columns are factors, like you can see: > table(restr[,"p1"]) 0 1 2 3 4 5 0 26 1 0 1 0 > table(restr[,"p2"]) 0 1 2 3 4 5 6 0 13 11 1 2 1 0 When I use apply, the factor structure is missed: > apply(restr[,c("p1","p2...
2007 Apr 05
2
about systemfit
Hello. I am still a newbie in R. Excuse me if I am asking something obvious. My efforts to get an answer through browsing the mailing archives failed. I want to perform an augmented Dickey-Fuller test and to obtain AIC and BIC and to be able to impose some linear restrictions on the ADF regression so as to decide the correct order of autoregression. However I could find no obvious way to impose linear restrictions or to obtain AIC from the the result of ADF.test from uroot. That is why I turned to systemfit. I ran the ADF regression with systemfit and obtained th...
2008 Jul 23
3
Constrained coefficients in lm (correction)
Dear list, In my previous email, the model I'd like to estimate is rea=a*st+b*mod+error, where a+b=1 and a,b>0. My apologies for the misunderstanding. Thanks for all your help, Jorge On Wed, Jul 23, 2008 at 3:35 PM, Jorge Ivan Velez <jorgeivanvelez@gmail.com> wrote: > > Dear list, > > I have a data set which looks like myDF (see below) and I'd like to >
2009 Apr 28
1
Package Updater problems
...in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, in checkDeps (result, msgs) = self.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldPr...
2006 Mar 20
1
help on regression
Dear R-users, I would like to know if there is any way to minimize || y - Xb||^2 under the constraint b'b=1. Thank you Giancarlo
2012 Jun 25
0
R-help Digest, Vol 112, Issue 25
...he same thing with the > additional constraint of the coef for x1 = 2. > > lm(Y~offset(2*x1)+x2+x3,data=mydata) > where b= coeff for x2, c = coeff for x3, b+c=1 and b and c>0. > > I've loaded the systemfit package, but the suggestion "R*beta0 = q, where R > is R.restr and q is q.restr in the function call" makes no sense to me. > > Cheers, > Rosie
2004 Jul 13
12
Permutations
Dear R users, I?m a beginner user of R and I?ve a problem with permutations that I don?t know how to solve. I?ve 12 elements in blocks of 3 elements and I want only to make permutations inter-blocks (no intra-blocks) (sorry if the terminology is not accurate), something similar to: 1 2 3 | 4 5 6 | 7 8 9 | 10 11 12 ----------1st permutation 1 3 2 | 4 5 6 | 7 8 9 | 10 11 12 NO - - 3 2 1
2013 Mar 11
2
CentOS release 5.3 (Final) yum update error TypeError: unsubscriptable object
...i/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProv...
2009 May 16
1
problem of update by yum
.../yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProv...
2009 Oct 12
1
can't update python ?!@#@?
...i/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProv...
2008 Oct 20
4
aggregating along bins and bin-quantiles
Dear all, I would like to aggregate a data frame (consisting of 2 columns - one for the bins, say factors, and one for the values) along bins and quantiles within the bins. I have tried aggregate(data.frame$values, list(bin = data.frame $bin,Quantile=cut2(data.frame$bin,g=10)),sum) but then the quantiles apply to the population as a whole and not the individual bins. Upon this
2011 Jun 28
0
[Gluster-devel] volume rebalance still broken
...attribute on a bick and restarting it. glusterfs was able to reconstruct attributes: trusted.gfid trusted.glusterfs.test trusted.afr.gfs1-client-0 trusted.afr.gfs1-client-1 trusted.afr.gfs1-client-2 trusted.afr.gfs1-client-3 trusted.glusterfs.dht If I remove the desired file from a brick, afr will restre it from the other brick, but it is still not accessible. Removing extended atributes from the desired file case it to disapear from client view, and I get this in the logs: E [posix.c:510:posix_stat] 0-gfs1-posix: lstat on /old_file failed: Attribute not found Unmounting and remounting the v...
2008 Dec 09
1
Polar coordinates - contour plots
Hello, I have data for contour plot which is given in polar coordinates. Is there a straightforward way to plot in polar coordinates in R, or do i need to fiddle with transformations and then to sort the x and y vectors to be in ascending order as required by contour function and relatives? Cheers, Todor
2008 Oct 28
0
oracle_enhanced adapter 'uninitialized constant' error
...1.8) activeresource (2.1.1, 2.1.0) activesupport (2.2.0, 2.1.1, 2.1.0) builder (2.1.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) fastthread (1.0.1) gem_plugin (0.2.3) hpricot (0.6.161) markaby (0.5) mongrel (1.1.5) passenger (2.0.3) picnic (0.6.5) rack (0.4.0) rails (2.1.1, 2.1.0) rake (0.8.3) restr (0.4.0) reststop (0.3.0) ruby-oci8 (1.0.3) rubygems-update (1.3.0) rufus-scheduler (1.0.11) taskr (0.3.0) Here''s my ruby code: require ''rubygems'' require ''active_record'' ActiveRecord::Base.establish_connection( :adapter => "oracle_enhanced&q...
2002 Jun 21
0
Interpreting output from glmmPQL
...three-level models (two grouped levels and the individual level) with dichotomous outcomes. There are several statistics of interest; for the moment, I have two specific questions: 1.) This question refers to the following model (I present first the call, then the output of summary(): morality.restr.1.pql<-glmmPQL(random = ~ 1 | groupid/participantid, fixed = r.logic.morality ~ 1, data = fgdata.df[coded.logic,], na.action=na.omit, niter=50, f...
2009 Jun 03
4
yum update error this morning
.../yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 145, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldPr...
2007 Aug 28
2
Experimental Design with R
Dear R-users, I want to know if there is a package that allows to define different experimental designs (factorial, orthogonal, taguchi) and to compare them. I don't found one in the R-web site, but it is possible I missed it! Thank you in advance Sincerely, Marc
2006 Mar 14
1
ignoring objects containing NaN's in a recursive function
Hi- General question: I have written a function that performs a permutation test. I use the function "sample" to randomize my data, then I call on another function I wrote to analyze the randomized data. This process repeats "n" times-- 10, 100 or whatever. The function applied to the randomized data creates a matrix and sometimes the matrix contains NaN's. I would
2009 Apr 13
1
Possible bug?
...in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, in checkDeps (result, msgs) = self.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 696, in resolveDeps CheckDeps, checkinstalls, checkremoves, missing = self._resolveRequires(errors) File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 779, in _resolveReq...
2008 Dec 30
3
Anaconda crash during Centos 5.2 installation.
...heck dep = self._provideToPkg(req) File "/tmp/treedir.8196/instimage/usr/lib/anaconda/yuminstall.py", line 429, in resolveDeps unresolved = self.tsCheck(unresolved) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 585, in buildTransaction (rescode, restring) = self.resolveDeps() File "/tmp/treedir.8196/instimage/usr/lib/anaconda/yuminstall.py", line 1265, in doPostSelection (code, msgs) = self.ayum.buildTransaction() File "/tmp/treedir.8196/instimage/usr/lib/anaconda/backend.py", line 177, in doPostSelection return...