similar to: Analysis of Dispersion

Displaying 20 results from an estimated 2000 matches similar to: "Analysis of Dispersion"

2011 Jun 18
0
Unexpected result with lag() et diff() in plm package.
I have an unexpected result with the functions lag() and diff() in the plm (panel data) package when used with transform(). These plm-specific functions are supposed to generate lags and first differences within each panel. lag() does not work properly the first time (it reproduces the same series--this is a common time series pitfall), BUT then it does work properly when it is run a second
2004 Mar 14
1
1.8.1 Make problem on SunOS
I am trying to make R-1.8.1 on (SunOS shell1 5.8 Generic_108528-15 sun4u sparc SUNW,UltraAX-i2). I did ./configure make Configure output seems ok. The make proceeds until the following line appears, repeated indefinitely (until I break): ./config.status: ./confstat28489-19881/subs.frag: cannot overwrite existing file I suspect that this may involve write permissions (and maybe the umask set in
2009 Nov 08
1
dup error of rsync 3.0.6-1 under cygwin 1.7.0-62 and 63
I have used earlier rsync on cygwin successfully for a long. I have now moved to cygwin 1.7.0, which required moving to rsync 3.0.6-1 at the same time. (The -1 is for minor cygwin-specific patches.) When I do almost any command with rsync, such as the one below, it breaks at a dup2 after a fork in pipe.c (routine piped_child). Windows gives error code 6, which is translated by cygwin to errno 9 =
2009 Dec 16
0
rsync hang on large file in a set
This is to both the rsync and cygwin lists, and I regret that it is vaguer than I would like, but ... With cygwin 1.7 (latest beta) and the rsync released with it (3.0.6-1) I try to sync a couple of Gb of Thunderbird mail files. The flag settings were -avzuP plus a --chmod and some includes/excludes to control which files to move. I would repeatably get "hangs" on particular files,
2007 Oct 30
1
Some matrix and sandwich questions
Dear R-help, I have a four-part question about regression, matrices, and sandwich package. 1) In the sandwich package, I would like to better understand the meat() function. >From the bread() documentation, for a simple OLS regression, bread() returns (1/n * X'X)^(-1) That is, for a simple regression (per the documentation on bread()): MyLM <- lm(y ~ x) bread(MyLM)
2009 Nov 25
1
as.data.frame.table() to convert by() output to a data frame
Dear all, This seems to be working, but I'd like to make sure that I'm not doing anything wrong. I am using by() to construct a complicated summary statistic by several factors in my data (specifically, the 90-50 income ratio by city and race). cityrace.by <- by(microdata, list(microdata$city,microdata$race), function (x) quantile(x$income, probs=0.9) / quantile(x$income, probs=0.5)
2011 Feb 07
1
Unusual slowing of R matrix multiplication version 2.12.1 (2010-10-15) vs 2.12.0
R Version 2.12.1 (2010-10-15) vs 2.12.0 has slowed down 8 fold for dual core and 17 fold for dual-core-dual-processor Macs. I have checked this result on 3 different macs using the following R-script: Using Version 2.12.0 on a dual core dual processor Mac: > source("http://www.bio.umass.edu/biology/kunkel/pub/R/CuriousResult.R") matrix multiplication 43.543 1.308 14.788
2002 Sep 05
1
ext3 lost
Hi, We have software raid level 5 using 6 IDE disks amounting to about 500Gb. Its an ext3 filesystem which is NFS exported to a number of other machines. Recently, after running /etc/init.d/nfs-kernel-server stop /etc/init.d/nfs-common stop /etc/init.d/nfs-common start /etc/init.d/nfs-kernel-server start the whole raid array is gone. The file system is consistent and is the right size but no
2005 Jan 16
1
RWinEdt install problem
I cannot get the "R" button to appear in RWinEdt. I'm running R 2.0.1 under Windows XP. I did a clean install of the latest WinEdt. Previously (for an earlier installation of WinEdt) I had RWinEdt running OK. Now, even though I have the distributed RWinEdt_1.6-2.zip extracted to the right place in the R directory, and when I execute library(RWinEdt) in the R Console,
2010 Aug 02
0
repeated measures with a group factor
I have a between-subjects factor, A, with three levels, and a within-subjects factor with 4 levels. There are 6 subjects at each A level. I get the correct F tests using the aov function with the stack form of the data frame but I want the epsilon adjustment (Greenhouse-Geisser, Huynh-Feldt). for nonspheriicty as well. I got the SPSS results using the standard broad data frame (a row for
2010 Jul 14
2
ver 2.11.1 from xterm on Mac without lme4
Hi, I just installed version 2.11.1 on my Mac OS X 10.5.2. When I try running R from my xterm, I get the following error: Error in loadNamespace(name) : there is no package called 'lme4' Fatal error: unable to restore saved data in .RData I am returned to the terminal prompt and can not run R. I can open this version of R from the R console and tried installing the lme4 source
2004 Dec 07
3
ess in Windows (newbie Q)
I'm a rank beginner with R, and I'm stumped at how to get it to work with Xemacs under Windows XP. I'm afraid there are some VERY basic questions I have here. Yes, I did read http://ess.r-project.org/Manual/readme.html. Both R and Xemacs are installed and working. The current ess files are installed in a subdirectory of my Xemacs directory. I added the R bin directory to my
2006 Oct 30
1
installing package help with limited permissions
Hello, I administer a student (Windows based) computer lab, which has R installed. I want to permit students to install R packages, but of course they don't have write permission to R root folder. Following FAQ suggestion, I've set up a folder that they can write to, and set the R_LIB parameter on the shortcut to this folder. So far, so good - they can now install packages.
2006 Sep 04
1
RGui problem in Windows XP with demo() and help()
I just installed R-2.3.1pat under Windows XP as well as the associated RWinEdt. If I start RGui from its shortcut (but do _not_ also start RWinEdt) and then try to execute demo() or help(), I get a RWinEdt pop-up error window with message: File "D:\WP\WinEdtData\WinEdt\D:/WP/WinEdtData/WinEdt/R.ini" does not exist! Qualifier -e/-E does not specify an existing file! First
2008 Dec 17
2
PREDICT NEW VALUES FROM REGRESSION MODEL, EST. ST.ERROR, AND CI
Greetings, I'd be grateful if a good Samaritan helps me to approach this problem.... with my data, I've created the following model lm(formula = OUTCOME ~ VAR1 + VAR2) summary(model) Call: lm(formula = OUTCOME ~ VAR1 + VAR2) Residuals: Min 1Q Median 3Q Max -1.4341 -0.3621 0.1879 0.4994 0.7696 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 1.89020
2003 Dec 03
1
2.2.8 fails to join Win2K domain
stuck on this in spite of finding a few items in the archive that seemed pertinent. just configuring a new installation of 2.2.8 from SunFreeware on a Solaris 8 system. installation done, swat running, did simple basic configuration. then went to terminal window and got /usr/local/samba/bin# ./smbpasswd -j provost -r umapvstads1 -U libadmin Password: Error connecting to
2006 Jan 20
3
abline() or predict.lm() when log="x"
Hello, I'm trying to plot a fitted lm() line on a plot when the one explanatory variable is log transformed and log="x". I get different lines using abline and predict.lm(). #Example x <- 1:100 y <- rnorm(100) plot(y ~ x, log="x") abline(lm(y ~ log(x))) lines(x, predict(lm(y ~ log(x))), lwd=2) I'm sure I'm missing something but could someone tell me which
2012 Feb 15
1
smooth.spline() unique 'x' values error
Hello. I'm getting an unexpected result when running smooth.spline(). Here is a simple example that replicates the error I'm getting: > aa <- c(1, 2, 3, 8, 8, 8, 8, 8, 8, 8, 8, 8, 12, 13, 14) > bb <- 1:length(aa) > plot(aa, bb) > smooth.spline(aa, bb) Error in smooth.spline(aa, bb) : need at least four unique 'x' values As you can see from the example, my
2011 Nov 03
2
grep fixed (?) in 2.14
#This is probably due to my incomplete understanding of grep, but the below code has been working for some time to #search for .R with anything in front of it and return a list of scripts to source. Likely, the syntax for the #grep statement has been wrong all along. scripts2source <- (c("/home/ssefick/R_scripts/Convert_package.R",
2005 Jun 27
1
function for "two-part" or "two-condition" models
Hello, This is an (hopefully) improved question of one I posted several weeks ago. Does anyone know of a function for fitting "two-part" models? These models are designed to handle count data with so many zeroes that they can't be fit well with zero-inflated Poisson models or other 'typical' GLMs. My understanding is that they work by first fitting a binomial model to