Displaying 20 results from an estimated 800 matches similar to: "Question about removing missing data rows in the qplot"
2006 Jun 24
1
Parsing XML with REXML problem
Why can it not find my object? What am i missing here? Here is my code:
require ''rexml/document''
include REXML
# classes to represent the objects and relationships in the xml file
class Article
attr_accessor :id, :post, :archive, :ntype, :head, :blurb, :body,
:fblurb, :fimage, :att, :source, :copy, :brand
end
# the base parser
class BaseXMLParser
def initialize(filename)
2012 Jun 14
0
fixed trimmed mean for j-group
Hello...i want to find the empirical rate for type 1 error using fixed
trimmed mean. To make it easy, i'm referring to journal given by this
website
http://www.academicjournals.org/ajmcsr/PDF/pdf2011/Yusof%20et%20al.pdf.
I already run the programme and there is no error in it but i got zero for
the empirical rate of type 1 error. The empirical rate for the type 1 error
given in the journal
2004 Nov 01
1
GLMM
Hello,
I have a problem concerning estimation of GLMM. I used methods from 3 different
packages (see program). I would expect similar results for glmm and glmmML. The
result differ in the estimated standard errors, however. I compared the results to
MASS, 4th ed., p. 297. The results from glmmML resemble the given result for
'Numerical integration', but glmm output differs. For the
2013 Jan 13
1
How to combine two loops?
Hello R-helpers,
I want to ask your opinion since I am not so sure how to do it. This is regarding one part of my paper project and my situation is:
Stage I
I have 2 groups and for each group I need to compute the following steps;
i) Generate 3 random numbers from normal distribution and square them.
ii) Repeat step 1 for 15 times and at the end I will get 15 random numbers.
I already done
2014 Apr 11
1
sub-folders security access question
Hi Guys!
A simple question..
I never worked with ACL's and since my costumer want some access levels for some sub-foldes in shares, I am reading some manuals about that.. But.. Before apply some testings, I need some advices about this.. Here is my question...
Parent folder (share): FOLDER
Sub-folder1: PROJETC1
Sub-folder2: PROJECT2
User1: DIRECTOR
Group: Director/Projects
User2: Employee1
2012 Jul 07
0
fixed trimmed mean for group
Hello,
I haven't found errors in your code. I implemented the test in the paper
(the first, fixed symetric mean) and it also gives me zero Type I
errors, when alpha = 0.05. Try to see the value of min(pv) or to plot
the histogram of 'pv', hist(pv) and you'll see that there are no
significant p-values, at that level.
Anyway I'll continue to look at it, but my first
2005 Aug 18
1
GLMM - Am I trying the impossible?
Dear all,
I have tried to calculate a GLMM fit with lmer (lme4) and glmmPQL
(MASS), I also used glm for comparison.
I am getting very different results from different functions, and I
suspect that the problem is with our dataset rather than the functions,
but I would appreciate help in deciding whether my suspicions are right.
If indeed we are attempting the wrong type of analysis, some
2009 Oct 15
2
plotting/examining residuals of a mixed generalised linear model
Dear R users,
I'm hoping that more experienced users will be able to assist me in
examining the model fit of a mixed generalised linear model. The example
using the data 'bacteria' within the MASS package will hopefully illustrate
what I would like to acheive;
library(MASS)
library(nlme)
attach(bacteria) # y being output and the trt - treatment group being an
explanatory variable.
2007 Aug 16
4
residual plots for lmer in lme4 package
Hi,
I was wondering if I might be able to ask some advice about doing residual
plots for the lmer function in the lme4 package.
Our group's aim is to find if the expression staining of a particular gene
in a sample (or "core") is related to the pathology of the core.
To do this, we used the lmer function to perform a logistic mixed model
below. I apologise in advance
2005 Jun 16
1
identical results with PQL and Laplace options in lmer function (package lme4)
Dear R users
I encounter a problem when i perform a generalized linear mixed model (binary data) with the lmer function (package lme4)
with R 2.1.0 on windows XP and the latest version of package "lme4" (0.96-1) and "matrix" (0.96-2)
both options "PQL" and "Laplace" for the method argument in lmer function gave me the same results (random and fixed effects
2004 Jan 30
0
GLMM (lme4) vs. glmmPQL output (summary with lme4 revised)
This is a summary and extension of the thread
"GLMM (lme4) vs. glmmPQL output"
http://maths.newcastle.edu.au/~rking/R/help/04/01/0180.html
In the new revision (#Version: 0.4-7) of lme4 the standard
errors are close to those of the 4 other methods. Thanks to Douglas Bates,
Saikat DebRoy for the revision, and to G?ran Brostr?m who run a
simulation.
In response to my first posting, Prof.
2000 Feb 29
0
automount, samba, desktop.ini issues
Program: update_links.pl
Author: Ryan Wyler <ryan@nhorizon.net>
Problem this program solves:
Windows machines taking a LONG time to browse shares of automount
points which include directories that are inaccessable to the samba
server.
Explanation:
We have our samba shares setup to mount the unix automount
directories. The problem is there are MANY automount directories that
the
2007 Oct 11
1
creating summary functions for data frame
I have a data frame that looks like this:
> gctablechromonly[1:5,]
refseq geometry gccontent X60_origin X60_terminus length kingdom
1 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
2 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
3 NC_009484 cir 0.6799 1790000 773000 3389227 Bacteria
4 NC_009484 cir 0.6799
2010 Feb 07
2
conditioned xyplot, many y variables
The example below creates parallel time-series plots of three different y variables conditioned by a dichotomous factor. In the graphical layout,
? Each y variable inhabits its own row and is plotted on its own distinct scale.
? Each level of the factor has its own column, but within each row the scale is held constant across columns.
? The panels fit tightly (as they do
2012 Jan 09
1
glmmPQL and predict
Is the labeling/naming of levels in the documentation for the
predict.glmmPQL function "backwards"? The documentation states "Level
values increase from outermost to innermost grouping, with level zero
corresponding to the population predictions". Taking the sample in
the documentation:
fit <- glmmPQL(y ~ trt + I(week > 2), random = ~1 | ID,
family =
2007 Dec 18
1
Dynamic Task Bar Menu Items
Am looking for a way to dynamically add menu items to a task bar icon
menu. And then once selected - I would like to get the title of the menu
item. The general idea is to read a text file:
Project1
Project2
Project3
=====
Add those to the task bar menu, and when i select (for example)
Project2, I want to pass the string "Project2" to the code.
Also - Am wondering about how to get
2012 Mar 02
2
Why do my regular expressions require a double escape \\ to get a literal??
Hi,
I was recently misfortunate enough to have to use regular expressions to
sort out some data in R.
I'm working on a data file which contains taxonomical data of bacteria
in hierarchical order.
A sample of this file can be generated using:
tax.data <- read.table(header=F, con <- textConnection('
G9SS7BA01D15EC Bacteria(100) Cyanobacteria(84) unclassified
G9SS7BA01C9UIR
2007 Sep 19
2
function on factors - how best to proceed
Sorry about this one being long, and I apologise beforehand if there
is something obvious here that I have missed. I am new to creating my
own functions in R, and I am uncertain of how they work.
I have a data set that I have read into a data frame:
> gctable[1:5,]
refseq geometry X60_origin X60_terminus length kingdom
1 NC_009484 cir 1790000 773000 3389227 Bacteria
2
2008 Sep 11
1
cached_models
Hi all,
Yesterday I released a new Rails plugin: cached_models.
It allows to transparently use the internal Rails cache mechanism in
your models, avoiding to write code for expiring policies.
Example
class Project < ActiveRecord::Base
has_many :developers, :cached => true
end
class Developer < ActiveRecord::Base
belongs_to :project, :cached => true
end
# Automatic cache, all
2012 Dec 17
1
seeking a help on if function
Hello r helpers! Below is the whole coding for my programme. Before proceed more further, let me explain for you. First of all, I need to compute trimmed mean. Till that step is ok. Then I need to compute ssdw which is sum of square deviation. If I do equal trimming at both tail of distribution that I chose, I will use the first ssd formulae which is "a". But if I am doing unequal