Displaying 20 results from an estimated 7000 matches similar to: "request for help"
1999 Dec 09
0
MS level position at U. Washington
I know it isn't done often, so apologies if this posting offends. But
after posting the announcement of the open position to a number of
other software lists, I was thinking, why not to R-help? (esp since
knowing R is one option for meeting the requirements).
best,
-tony
We are looking for an masters level statistician. If interested, feel
free to apply. I am available to answer
2006 Aug 18
3
Lattice package par.settings/trellis.par.settings questions
Hi All,
I'm trying to modify some of the default graphic parameters in a
conditional histogram. While I was able to change the default grey
background to white, I couldn't change the axis.font or the xlab font.
I used the following code:
/histogram(~V751|V013+V025, finalbase, xlab="Heard of HIV/AIDS
(No/Yes)", col=c("cyan","magenta"),
2008 Aug 21
1
Advice requested: Best method of coding "time since" repeating event
Hello,
I have a dataset containing approx 1000 events spanning four years (2004.03 to 2008.07). For each event, I'd like to determine the time (in minutes) since the most recent final Wednesday of the month. I've found no obvious solution on the list or online; I think I'll try to use functions in the chron package.
Anyone have any other advice?
Thanks.
M-J
School of Population
2009 Jun 03
2
Create a time interval from a single time variable
I am trying to set up a data set for a survival analysis with time-varying covariates. The data is already in a long format, but does not have a variable to signify the stopping point for the interval. The variable DaysEnrolled is the variable I would like to use to form this interval. This is what I have now:
ID Age DaysEnrolled HAZ WAZ WHZ Food onARV
2009 Dec 04
0
Problems while plotting with ROCR
Hello all,
I have two problems with the ROCR package.
First Problem:
the add=TRUE option does not work for plotting performance objects
The following code is taken from the reference manual (example for
ROCR.hiv, page2)
data(ROCR.hiv)
attach(ROCR.hiv)
pred.svm <- prediction(hiv.svm$predictions, hiv.svm$labels)
perf.svm <- performance(pred.svm, 'tpr', 'fpr')
pred.nn <-
2006 Aug 06
2
no SID in NTUSER.DAT
hello,
when i do profiles NTUSER.DAT
i see this:
[$$$PROTO.HIV\Software\Policies\Microsoft\SystemCertificates\TrustedPublisher]
[$$$PROTO.HIV\Software\Policies\Microsoft\SystemCertificates]
[$$$PROTO.HIV\Software\Policies\Microsoft]
[$$$PROTO.HIV\Software\Policies]
[$$$PROTO.HIV\Software\SimonTatham\PuTTY\SshHostKeys]
[$$$PROTO.HIV\Software\SimonTatham\PuTTY]
2007 Jun 15
0
Fwd: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected warnings, one line patch included
Begin forwarded message:
> From: <noreply at rubyforge.org>
> Date: 15 June 2007 10:44:07 BDT
> To: noreply at rubyforge.org
> Subject: [ mocha-Patches-11583 ] Mocha 0.5.0 throwing unexpected
> warnings, one line patch included
>
> Patches item #11583, was opened at 2007-06-14 21:28
> You can respond by visiting:
> http://rubyforge.org/tracker/?
>
2007 Dec 21
5
Mocha and rails 2.0.2?
Folks-
With Rails 2.0.2, I''m seeing mocha failures where they did not fail
with Rails 2.0.1
test_set_to_process_fail_in_transaction(FileRecordTest):
NoMethodError: undefined method `ord'' for 63:Fixnum
/home/wolpert/svn/rubylms/vendor/plugins/mocha/lib/mocha/class_method.rb:45:in
`hidden_method''
2008 Dec 01
1
Comparing output from linear regression to output from quasipoisson to determine the model that fits best.
R 2.7
Windows XP
I have two model that have been run using exactly the same data, both fit using glm(). One model is a linear regression (gaussian(link = "identity")) the other a quasipoisson(link = "log"). I have log likelihoods from each model. Is there any way I can determine which model is a better fit to the data? anova() does not appear to work as the models have the
2007 Sep 06
1
any reason we can''t use the concise stubs on Object
I like the concise version of stubs available on true mocks:
=> #<Mock:0x32f76d4>
>> foo.stubs(:one => ''hi'', :two => ''again'')
=> {:one=>"hi", :two=>"again"}
Why can''t we do it on ''real'' objects?
>> foo = Object.new
>> foo.stubs(:method1 => ''a'',
2007 Dec 23
0
Fwd: [ mocha-Bugs-16523 ] Ruby 1.9 gives warning
FYI - I''ve just released Mocha 0.5.6 to make Ruby 1.9 compatibility
fixes available for those using released packages rather than
subversion trunk. I''m not feeling well and so haven''t been able to
test it other than by running all the tests using Ruby 1.9. Please let
me know if you have any problems using it. Remember that it sometimes
takes a while for a new gem
2009 Jun 13
2
removing Mocha; 'spec spec' fails but the specific model file passes
I happened to mix ryan bates'' authentication scaffold with
rspec_scaffold on a demo project.
and ran into the problem of mixing mock frameworks...ryan uses mocha.
So, as a learning experience, I choose to redo ryan''s tests without
mocha but ran into a strange problem with tests of the User model.
With debugging you can see....
If you run just the user_spec.rb file, everything
2007 Jun 27
2
Meta-Analysis of proportions
Dear colleagues,
I'm conducting a meta-analysis of studies evaluating adherence of HIV-positive drug users into AIDS treatment, therefore I'm looking for some advice and syntax suggestion for running the meta-regression using proportions, not the usual OR/RR frequently used on RCT studies.
Have already searched already several handbooks, R-manuals, mailing lists, professors, but... not
2006 Sep 11
1
Aliasing type method in Mocha
Hi, (Mocha and Stubba are great, btw.)
Is there any way to alias the call to .type in Mocha? The issue is
that AR effectively aliases the normal type method for the Column
class (for whatever Adapter.) My code is reflecting on the adapter
methods to iterate over the columns in a particular model. This makes
it hard to write test code that stubs out columns and mocks my models.
E.g.
cols =
2006 Dec 14
1
Patch: make rdoc of lib/mocha/object.rb instead of lib/stubba/object.rb
Index: Rakefile
===================================================================
--- Rakefile (revision 73)
+++ Rakefile (working copy)
@@ -23,7 +23,7 @@
task.rdoc_dir = ''doc''
task.template = "html_with_google_analytics"
task.options << "--line-numbers" << "--inline-source"
-
2006 Dec 15
0
Fwd: Re: Re: [HOWTO] Edgemocha
---------- Forwarded message ----------
From: James Mead <jamesmead44 at gmail.com>
Date: 15-Dec-2006 17:37
Subject: Re: Re: [HOWTO] Edgemocha
To: John Pywtorak <jpywtora at calpoly.edu>
On 15/12/06, John Pywtorak <jpywtora at calpoly.edu> wrote:
> Compare
> ~$ sudo gem install mocha
> Attempting local installation of ''mocha''
> Successfully
2001 Nov 21
3
smbpasswd -r pdd not working
Hi,
I am running Samba 2.2.1 on a Redhat 7.2 machine and have the following
in smb.conf:
workgroup = AGS_NT
security = domain
password server = mocha bigblue
encrypt passwords = yes
everything else is default. "mocha" is the PDC and is a NT4 box".
The machine has joined the domain with "smbpasswd -j AGS_NT".
When using "smbpasswd
2007 Apr 11
0
Fwd: [ mocha-Bugs-8687 ] Block''s return value is dropped on stubbed yielding methods.
---------- Forwarded message ----------
From: noreply at rubyforge.org <noreply at rubyforge.org>
Date: 11-Apr-2007 15:31
Subject: [ mocha-Bugs-8687 ] Block''s return value is dropped on stubbed
yielding methods.
To: noreply at rubyforge.org
Bugs item #8687, was opened at 2007-02-15 17:29
You can respond by visiting:
2011 May 05
4
Using functions/loops for repetitive commands
I still need to do some repetitive statistical analysis on some outcomes
from a dataset.
Take the following as an example;
id sex hiv age famsize bmi resprate
1 M Pos 23 2 16 15
2 F Neg 24 5 18 14
3 F Pos 56 14 23 24
4 F Pos 67 3 33 31
5 M Neg 34 2 21 23
I want to know if there are statistically detectable differences in all of
the continuous variables in
2008 Jan 02
2
Proxies
I really like the idea of Mock Proxies as explained in Brian Takita''s post here:
http://pivots.pivotallabs.com/users/brian/blog/articles/352-introducing-rr
I posted to this list eariler with an incomplete implementation of
.stops_mocking in the thread "Mocking Time, delegating to original
object." The Mock Proxy pattern would make this simpler.