Displaying 20 results from an estimated 2000 matches similar to: "lmtest build fails, readline problem"
2002 Jul 03
2
operating on a subset of a dataframe
Hi everyone,
I've got a dataframe with columns of different types. A certain number
of columns in the dataframe hold the results of a series of Likert-type
items. I've got a function that will print a simple table of frequencies
and I want to apply that function to those columns of the dataframe
only. What's the best approach?
-Tim
--
Tim Wilson | Visit Sibley online: |
2002 Jul 26
3
Fisher r-to-z transformation
Hi everyone,
I want to use the Fisher r-to-z transformation as part of a hypothesis
test of r. I can't find an R function that can do that. Am I missing
it?
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.com
W. St. Paul, MN | | http://slashdot.org
wilson at visi.com | <dtml-var
2002 Aug 20
2
weighting means
Hi everyone,
I've got a dataframe called 'faculty'. I want to do a weighted mean on
the column called 'Q8' weighted by the contents of column 'CETP'. In
addition, I need to operate on the result of splitting 'faculty'
according to the contents of a column 'FACULTY'. For example
> lapply(split(faculty$Q8, faculty$FACULTY), mean)
$"1"
[1]
2002 Aug 22
1
combining output from several operations
Hi everyone,
I wonder if there's a patient soul out there who has a minute to look at
the following.
I've got a set of summary statistics I need to perform many times.
Naturally, I've looked at writing a function to automate the process as
much as possible. (These are the data I mentioned recently in my
question about weighted means.) I'm having trouble figuring out the
proper
2002 Aug 15
2
complex splits
Hi everyone,
I'm having trouble figuring out how to split a dataframe more than once.
Let's say I have a dataframe d with a certain column called splitcol
composed of four possible ordinal values. The same dataframe has
two other columns, col1 and col2, that have one of two possible values
each. I'd like to split d$splitcol based on col1 and col2 so I can report
frequencies of the
2002 Aug 07
3
Forcing integers to be nominal
Hi everyone,
I've got a problem with an analysis of variance where it appears that my
independent variable is being treated as an integer when it should be
nominal.
The data are being loaded from an SPSS file and the independent variable
'YearColl' corresponds (surprisingly enough) to a student's year in
college. :-) The integers 1-4 are used in the dataset for this purpose.
My
2002 Jul 06
1
R: one-sample binomial test
try
?power.prop.test
> -----Messaggio originale-----
> Da: Tim Wilson [mailto:wilson at visi.com]
> Inviato: sabato 6 luglio 2002 6.05
> A: R-help
> Oggetto: [R] one-sample binomial test
>
>
> Hi everyone,
>
> Here's how I solved a problem for my stats class. I'm pretty sure I
> understand what's going on, but I wonder if there's a more
>
2002 Aug 02
4
extracting data from a dataframe
Hi everyone,
Here's a question about extracting data from a dataframe:
Let's say I've got a dataframe with two vectors, TEST and GENDER. GENDER
contains a 1 for males and 2 for females. I want to separate the results
of TEST by GENDER so I can compare their means.
What's the most efficient way to do this with R?
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
2002 Jun 30
4
modifying a vector
Hello everyone,
Thanks to all who offered suggestions after my initial query to the list.
I've been busy trying to absorb the docs as fast as possible, but this
little thing has me stumped for the moment.
I'm creating a random sample of 100 item and saving it to a vector named
'iq'. I'd like to create a second vector (iq_prime, say) by adding 20 to
each element of the
2002 Jun 30
4
modifying a vector
Hello everyone,
Thanks to all who offered suggestions after my initial query to the list.
I've been busy trying to absorb the docs as fast as possible, but this
little thing has me stumped for the moment.
I'm creating a random sample of 100 item and saving it to a vector named
'iq'. I'd like to create a second vector (iq_prime, say) by adding 20 to
each element of the
2002 Jun 28
4
R for simple stats
Hi everyone,
I'm taking a course in statistics as part of my doctoral program in
education at the U. of Minnesota, USA. I found R via Rpy, a python
module that makes it possible to use R from python scripts.
The instructor refers to SPSS a lot and that seems to be the standard
stats tool around here. But being more of a Unix guy and not intimidated
by programming, I'd like to see if I
2006 Mar 02
2
How can I use r-cran-lmtest?
Hi,
I installed the package r-cran-lmtest in a Debian Sid but I can't use it. I typed "lmtest" but nothing occur.
Any help?
Thanks.
--
S?vio Martins Ramos - Arquiteto
Rio de Janeiro ICQ 174972645
Pirataria n?o! Seja livre: Linux
http://www.debian.org
2007 May 22
1
data in lmtest
Hi everyone!
I am beginner in using R, so please excuse easy questions in advance.
I want to reproduce results from the data available in the lmtest-package.
That?s the failure code I get:
> data(bondyield)
Warning message:
file 'bondyield.rda' has magic number 'RDX1'
Use of save versions prior to 2 is deprecated
Can anyone help me?
Thanks in advance!
Henning
--
View
2011 Nov 20
2
I'm writing this letter to enquire where can I download the package of "lmtest".
Dear editor:
I'm writing this letter to enquire where can I download the package of "lmtest". Can you send me this package?
THanks a lot.
Best regards,
Shu-Fei Wu
2002 Jul 06
3
one-sample binomial test
Hi everyone,
Here's how I solved a problem for my stats class. I'm pretty sure I
understand what's going on, but I wonder if there's a more direct way to
solve it.
Problem summary:
A recent poll indicated that Candidate A is leading B with 55% of the
vote. How many voters need to be surveyed to ensure a margin of error of
+/- 2.5% with 99% confidence.
Here's what I did:
2012 Jan 10
1
importing S3 methods with importFrom
In my own package, I want to use the default S3 method of the generic
function lrtest() from the lmtest package. Since I need only one
function from lmtest, I tried to use importFrom in my NAMESPACE:
importFrom(lmtest, lrtest)
However, this fails R CMD check in the examples:
Error in UseMethod("lrtest") :
no applicable method for 'lrtest' applied to an object of class
2002 Apr 19
4
Durbin-Watson test in packages "car" and "lmtest"
Hi,
P-values in Durbin-Watson test obtained through the use of functions available in packages "lmtest" and "car" are different. The difference is quite significant. function "dwtest" in "lmtest" is much faster than "burbinwatson" in "car". Actually, you can take a nap while the latter trying to calculated Durbin-Watson test. My question
2005 Mar 30
2
Beginner question: serverside singletons?
Hello all, just started tinkering with Rails after reading all the hype about
it. I''m a raw novice with Ruby and (obviously) Rails, but have extensive
experience with serverside Java (J2EE stack, Tapestry, etc). Rails looks
cool, though embedding Ruby code in HTML reminds me unpleasantly of JSP +
Struts and I''m deeply suspicious of all the behind-the-scenes magic going on
in
2011 Aug 12
1
Which Durbin-Watson is correct? (weights involved) - using durbinWatsonTest and dwtest (packages car and lmtest)
Hello!
I have a data frame mysample (sorry for a long way of creating it
below - but I need it in this form, and it works). I regress Y onto X1
through X11 - first without weights, then with weights:
regtest1<-lm(Y~., data=mysample[-13]))
regtest2<-lm(Y~., data=mysample[-13]),weights=mysample$weight)
summary(regtest1)
summary(regtest2)
Then I calculate Durbin-Watson for both regressions
2012 Jul 24
1
Patchy 'front-end' package installation problems using -R- 2.15.1
I think this is the fourth attempt to send this blessed message, so let's hope this gets through without any 'unprocessed' or 'ignored' in-lines on auto-reply.
I wish to report to you some strange problems I'm experiencing with installing packages directly into my -R- 2.15.1 (there is an indirect solution, which I note below). First, here's some essential information: