search for: bysctrl

Displaying 4 results from an estimated 4 matches for "bysctrl".

Did you mean: sysctrl
2017 Aug 10
3
Creating New Variable Using Ifelse
...a job #related to the college studies that was NOT a WBL experience elsq2wbl$NONWBLRELJOB <- ifelse(elsq2wbl$PSWBL=="No" & elsq2wbl$EVERRELJOB=="Yes",1,0) #Cross tab to check counts of two variables that new variable is based upon xtabs(~PSWBL+EVERRELJOB,subset(elsq2wbl,BYSCTRL==1&G10COHRT==1),addNA=TRUE) #Checking count of newly created variable Q2sub <- subset(elsq2wbl,BYSCTRL==1&G10COHRT==1) library(plyr) count(Q2sub,'NONWBLRELJOB') #The new variable has the correct count of "1", but 88 cases too many for "0" #The cross tab show...
2017 Jul 05
2
Svyglm Error
...;- update( elsq1ch_brr , F1SEX = relevel(F1SEX,"Male") ) elsq1ch_brr <- update( elsq1ch_brr , F1RTRCC = relevel(F1RTRCC,"Other") ) ##Univariate testing for Other subset Othpared <- svyglm(formula=F3ATTAINB~F1PARED,family="quasibinomial",design=subset(elsq1ch_brr,BYSCTRL==1&G10COHRT==1&F1RTRCC=="Other"),na.action=na.omit) summary(Othpared)? Any help in resolving this concern would be greatly appreciated. Sincerely, Courtney Courtney Benjamin Broome-Tioga BOCES Automotive Technology II Teacher Located at Gault Toyota Doctoral Candidate-Ed...
2017 Aug 10
0
Creating New Variable Using Ifelse
...] <- NA > (a=="N")*(b=="Y") [1] 1 1 NA 0 NA NA NA NA 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 [26] 0 0 0 0 1 Cheers Petr > > #Cross tab to check counts of two variables that new variable is based upon > xtabs(~PSWBL+EVERRELJOB,subset(elsq2wbl,BYSCTRL==1&G10COHRT==1),add > NA=TRUE) > > #Checking count of newly created variable > Q2sub <- subset(elsq2wbl,BYSCTRL==1&G10COHRT==1) > library(plyr) > count(Q2sub,'NONWBLRELJOB') > > #The new variable has the correct count of "1", but 88 cases too man...
2017 Jul 05
0
Svyglm Error
...F1SEX = relevel(F1SEX,"Male") ) > elsq1ch_brr <- update( elsq1ch_brr , F1RTRCC = relevel(F1RTRCC,"Other") ) > > ##Univariate testing for Other subset > Othpared <- svyglm(formula=F3ATTAINB~F1PARED,family="quasibinomial" > ,design=subset(elsq1ch_brr,BYSCTRL==1&G10COHRT==1& > F1RTRCC=="Other"),na.action=na.omit) > summary(Othpared)? > > > Any help in resolving this concern would be greatly appreciated. > > Sincerely, > > Courtney > > > Courtney Benjamin > > Broome-Tioga BOCES > > Automot...