Displaying 20 results from an estimated 600 matches similar to: "Using GEE with sample weights"
2011 Aug 11
1
Subsampling data
*Dear R community*
* *
*I have two questions on data subsample manipulation. I am starting to use R
again after a long brake and feel a bit rusty.*
* *
*I want to select a subsample of data for males and females separately*
* *
library(foreign)
Datatemp <- read.spss("H:/Skjol/Data/HL/t1and2b.sav", use.value.labels = F)
> table(Datatemp$sex)
1 2
3049 3702
2010 May 09
1
Dimensions on svychisq on svydesign
Dear Forum
I a running svychisq from the survey package and get errors with the number
of dimensions,
errors that I do not understand and do not know how to fix.
I ask you kindly to help me out.
The eror message follows with some information below. I hope there are
enough information to help me to fix the problem if not please let me know
what is needed
Best
Stefan Hrafn Jonsson
> QHISQ2
2009 Aug 31
1
package installation error
On Sun April 19, you posted the following on R-help:
> After installing 2.9.0 I tried loading packages, but keep getting the following error.
>
> package 'robustbase' successfully unpacked and MD5 sums checked
> Error in normalizePath(path) :
> path[1]="C:\Program Files\R\R-2.9.0\library/robustbase": The system cannot find the file specified
>
I have had the
2003 Aug 13
4
Levene test of homogeneity of variance
Has the Levene test of homogeneity of variance been implemented in any
library in R?
Thanks,
Maurice Haynes
National Institute of Child Health and Human Development
Child and Family Research Section
6705 Rockledge Drive
Bethesda, MD 20892
Voice: 301-496-8180
Fax: 301-496-2766
E-Mail: mh192j at nih.gov
2010 Jul 22
1
Vintage Attrition Curves
Hi There -
New to the list, so hopefully I don't mess this up too much ... I am
hoping maybe some of you can help me. I have a problem I'm trying to
solve regarding customer accounts, attrition and forecasting.
Basically, here is what I want to do (not sure of the best way):
1. Track accounts by vintage (i.e., the month of the date of sale).
2. Forecast total accounts at a given time
2005 Feb 17
5
PRI and echocancel
Hello,
I have a crossover PRI(Asterisk server to PBX) and a regular telco PRI T1
line and currently have echocancel=yes and echocancelwhenbridged=yes on
those spans in zapata.conf. I was discussing CPU load with another Asterisk
user and he mentioned that PRIs don't need echo cancelation and that turning
it off will reduced CPU load on the server. I checked many sample configs
and the
2012 Apr 24
1
Splitting data into test and train (80:20) kepping attributes similar
Hi,
I am trying to do some predictive modeling around attrition and want to split the dataset into test and train (80:20) and keep the ratio of attritees:non attrites same.
In my dataset the attrition indicator is coded as 0(for non-attritees) and 1 (for attritees) and I want to keep the ratio of 0's to 1 similar.
I apologize for this trivial question but this is my second week with R.
2011 Feb 10
1
Longitudinal Weights in PLM package
Hi all,
I a semi-beginner with R and I am working with the plm package to examine a
longitudinal dataset. Each individual in this dataset has a longitudinal
weight for the probability that he or she remains in the sample.
Unfortunately, I have not found an argument to use weights in the plm
function? I tried ?weights=? like in standard lm or in nlme or lm4 but it
does not work. I asked the
2004 May 14
2
Fwd: [ISN] Voice Over IP Can Be Vulnerable To Hackers, Too
Hope this isn't too far OT, but its relevant to us. From isn.attrition.org
>http://www.informationweek.com/story/showArticle.jhtml?articleID=20300851
>
>By W. David Gardner
>TechWeb News
>May 13, 2004
>
>As voice over IP sweeps across the high-tech landscape, many IT
>managers are being lulled into a dangerous complacency because they
>look upon Internet phoning
2012 Feb 13
3
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
2012/2/6 thomas schorpp <thomas.schorpp at googlemail.com>:
> Hi,
Hi Thomas,
> I want the driver report the battery status from ABM charging controllers
> -patch attached- :
thanks for your patch.
since it introduces a new variable (battery.status.abm), I prefer to
step back and think to something useful more widely.
thus, I'm thinking about a generic
2005 Mar 16
1
Code to replace nested for loops
Dear list members,
How can I replace the nested for loops at then end of the script
below with more efficient code?
# Begin script__________________________________________________
# Dichotomous scores for 100 respondents on 3 items with
# probabilities of a correct response = .6, .4, and .7,
# respectively
x1 <- rbinom(100,1,.6)
x2 <- rbinom(100,1,.4)
x3 <- rbinom(100,1,.7)
#
2002 Nov 27
2
Error message: missing value where logical needed
Dear all,
I often import data sets from other programs that contain user defined
missing values. As an example consider a variable MXPLOCO with a user
defined missing value of as -9.
> summary(MXPLOCO)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
-9.000 4.750 5.000 5.349 6.000 8.500 2.000
The following command successfully converts the value -9 to NA. However,
2010 Apr 08
1
reshape panel data
I have a data set with observations on 549 cities spanning an 18 year
period. However, some of cities did not report in one or more of the 18
years. I would like to implement the procedure suggested by Wooldridge
section 17.1.3 in his "Econometric analysis of cross section and panel data"
to correct for attrition. For example the table below indicates that the 3rd
and the 7th cities in
2014 Nov 03
0
RFC: new variable battery.status (was: [PATCH] upscode2: Report ABM Status)
Hi,
Am 13.02.2012 um 18:58 schrieb Arnaud Quette:
> 2012/2/6 thomas schorpp <thomas.schorpp at googlemail.com>:
>> Hi,
>
> Hi Thomas,
>
>> I want the driver report the battery status from ABM charging controllers
>> -patch attached- :
>
> For now, I've tracked your patch here:
>
2004 Dec 21
3
R code for var-cov matrix given variances and correlations
Dear list members,
Where can I find code for computing the p*p variance-covariance
matrix given a vector of p variances (ordered varA, varB, ...,
varp) and a vector of all possible correlations (ordered corAB,
corAC, ..., corp-1,p)?
I know that the covariance between 2 variables is equal to the
product of their correlation and their standard deviations:
corAB * varA^.5 * varB^.5
and so:
2013 Dec 12
3
Is Gluster the wrong solution for us?
We are about to abandon GlusterFS as a solution for our object storage needs. I'm hoping to get some feedback to tell me whether we have missed something and are making the wrong decision. We're already a year into this project after evaluating a number of solutions. I'd like not to abandon GlusterFS if we just misunderstand how it works.
Our use case is fairly straight forward.
2004 Aug 16
2
disable console channels
I have a Digium TDM400 in my system and I'm using my main system as my
asterisk box at home (very light load).
When I start up *, though, it grabs my sound card and I cannot play other
music through it (e.g. x/ XMMS). I have moved the alsa.conf and oss.conf
files so that there is no configuration for them (though those files seemed to
do little), but still the sound card is grabbed.
How can
2004 Aug 18
1
Another small suggestion patch
It's nice to be able to define the list of asterisk modules we want to
load from the /etc/sysconfig/zaptel file rather than directly in
/etc/init.d/zaptel. I'm using nufone and don't require anything but the
ztdummy (is the rtc-based module better, anyone?), so that's what I've
put here.
These are based on zaptel-1.0-RC1.
John
--- zaptel-1.0/zaptel.init.ole
2004 Aug 20
1
Finding operator from ISDN signalling?
hi
Is it possible to find out what source/destination operator you're
connected to from the ISDN signalling? Number lookups no-longer work
since number porting begun, and access to the national database for
these numbers cost too much :(
thanks
roy
2004 Aug 25
2
GrandStream HT-486 ATA as VoIP Gateway
Hi,
Can I use HT-486 as VoIP Gateway together with Asterisk?
Are there any success experiences?
--
Best Regards,
Miroslav Nachev