search for: est1

Displaying 20 results from an estimated 26 matches for "est1".

Did you mean: test1
2007 Jul 14
1
return() in nested functions
Dear WizaRds, After consulting different sources I am still unable to understand the correct use of return() in nested functions. To illustrate the problem: f <- function(x,y,type){ est1<-function(x,y){ z=x+y out(x,y,z)} est2<-function(x,y){ z=x*y out(x,y,z)} out<-function(x,y,z) return(x,y,z) if (type=="est1") est1(x,y) if (type=="est2") est2(x,y) } test<-f(1,2,type="est1") # gives Null for test However, without the second '...
2007 Mar 03
3
Help with paste()
Dear r-helpers, Could you please tell me what's missing: rbind(paste('txt.est',1:24, sep = '')) txt.est1, ... txt.est24 are vectors that I wish to rbind. _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels: Room 102 Gilmer Hall McCormick Road Charlottesville, VA 2...
2006 Apr 26
1
help using tapply
Dear R-mates, # Here's what I am trying to do. I have a dataset like this: id = c(rep(1,8), rep(2,8)) dur1 <- c( 17,18,19,18,24,19,24,24 ) est1 <- c( rep(1,5), rep(2,3) ) dur2 <- c(1,1,3,4,8,12,13,14) est2 <- rep(1,8) mydata = data.frame(id, estat=c(est1, est2), durat=c(dur1, dur2)) # I want to one have this: id = c(rep(1,8), rep(2,8)) dur1 <- c( 17,18,19,20,28,1,2,3 ) est1 <- c( r...
2009 Aug 07
3
Simple Question: adding points to a boxplot
...5 15587 18700 11 84554 39134 143830 18078 21828 12 80411 37487 137583 18771 20844 13 76103 34734 131469 20329 20760 14 76246 34591 127921 18874 19531 15 72025 33645 118279 20972 21005 16 72295 35153 121752 18035 20217 17 71287 32961 121958 17768 20659 18 71778 32833 123990 17956 19004 > Est1 Blue Green Red Gold Orange 1 72289 32444 107121 20900 21962 > boxplot(Obs1) > points(Est1, pch=23, col="red") > ====================================== Robert Farley Metro 1 Gateway Plaza Mail Stop 99-23-7 Los Angeles, CA 90012-2952 Voice: (213)922-2532 Fax: (213)...
2007 Feb 27
0
Optimizing the loop for large data
..."numeric",length(thrs)) OER<-vector("numeric",length(thrs)) MER<-vector("numeric",length(thrs)) # compute the apparent error rates for each threshold value for (j in 1:length(thrs)){ ctgy<-ifelse(ED>thrs[j],2,1) # 2 categories are created by the threshold test1<-qda(cbind(ED,CBDx,CBDy),ctgy) est1<-cbind(ctgy,predict(test1)$class) AER[j]<-sum((est1[,1]-est1[2])==0)/dim(D)[1] } # OER computation for ith location taken out for the thresholds for (k in 1:dim(D)[1]){ for (j in 1:length(thrs)){ ctgy<-ifelse(ED>thrs[j],2,1) test2<-qda(cbind(ED...
2010 Sep 22
2
speeding up regressions using ddply
...binomial(link=logit), na.action=na.omit)) #What I can't figure out is how to specify 2 different variables (I've put value1 and value2 as placeholders) from the xm to include in the model glm.summary<-summary(log.glm) aic <- extractAIC(log.glm) coef <- coef(glm.summary) list(Est1=coef[1,2], Est2=coef[3,2], AIC=aic[2]) #or whatever other output here } And then I'd like to use ddply to speed up the computations. require(pplyr) output<-dddply(xm, .(variable), as.data.frame.function(h)) output I can easily do this using ddply when I only want to use 1 variable in...
2011 Jul 03
3
Hint improve my code
Hi I have developed the code below. I am worried that the parameters I want to be estimated are "not being found" when I ran my code. Is there a way I can code them so that R recognize that they should be estimated. This is the error I am getting. > out1=optim(llik,par=start.par) Error in pnorm(au_j, mean = b_j * R_m, sd = sigma_j) : object 'au_j' not found #Yet
2009 Nov 18
0
Y axis of 1-D Linear Discriminant Histograms
...scriminant function objects? While the helpfile suggests that a histogram is returned by default, the presumably proportion-like values for each group seem to add up to more than 1, and I'm not sure how to interpret the code from ldahist(), which, I believe, defines the heights of each bin as est1/(diff(breaks) * length(data[g == grp])) where est1 is (as far as I can tell) the frequency within the bin, and the denominator is apparently the bin width multiplied by the total sample size for that panel. It seems to be that a far more logical result would be returned for each bin if the diff(...
2015 Apr 28
2
Resumen diseño sencillo
Estimado Carlos Ortega Muchas gracias, al ver su correo recordé por donde estaba eso muy fácil, copio y pego la solución, era tan fácil que no lo recordaba. > table(d) , , Etablecimiento = Est1 Factor Dieta A B 1 220 0 2 0 120 3 0 0 4 0 0 , , Etablecimiento = Est2 Factor Dieta A B 1 0 0 2 0 0 3 0 120 4 0 118 Javier Marcuzzi De: Carlos Ortega Enviado el: ?martes?, ?28? de ?abril? de ?2015 ?06?:?27? ?p.m...
2008 Dec 30
0
7.1-RC2 : ACPI warning and errors ACPI Error (psparse-0626)
...0: <CPU Frequency Thermal Control> on cpu0 Dec 30 18:10:38 client1 kernel: cpu1: <ACPI CPU> on acpi0 Dec 30 18:10:38 client1 kernel: ACPI Error (psparse-0626): Method parse/execution failed [\_PR_.CPU1._OSC] (Node 0xffffff0001264a00), AE_ALREADY_EXISTS Dec 30 18:10:38 client1 kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1 Dec 30 18:10:38 client1 kernel: p4tcc1: <CPU Frequency Thermal Control> on cpu1 Dec 30 18:10:38 client1 kernel: acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Dec 30 18:10:38 client1 kernel: device_a...
2005 Aug 18
1
R equivalent to `estimate' in SAS proc mixed
...(see sample code below) that will calculate the estimate, SE, df, t statistic, etc... Is there some R equivalent? Thanks, Randy proc mixed data=dat; class id; model response = time + trt + bio + time*trt + time*bio + trt*bio + time*trt*bio; random time; estimate "est1" intercept 0 time 1 trt 0 bio 0 time*trt 1 time*bio 1 trt*bio 0 time*trt*bio 1; /* or something like that */ run; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Randy Johnson Laboratory of Genomic Diversity NCI-Frederick Bldg 560, Rm 11-85 Frederick, MD 21702 (301)846-1304 ~~~~~~~~~~~~...
2008 Nov 30
1
panic: spin lock held too long on 7.1-PRERELEASE (sio)
...8: type 16550A sio8: [FILTER] fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FILTER] cpu0: <ACPI CPU> on acpi0 acpi_perf0: <ACPI CPU Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 132d0000132d device_attach: est1 attach returned 6 p4tcc1: <CPU Frequency Thermal Control> on cpu1 cpu2: <ACPI CPU> on acpi0 est2: <Enh...
1999 May 31
0
setting passwords from Windows
I'd like to change Samba passwords from win95 and NT4 clients. I use security=user. I don't give shell access to every user, so they can't use smbpasswd. I've tested from a win95 client with the precompiled samba-2.0.4b.i386.rpm: net pass \\greg greg test1 test2 I'd used smbpasswd to change greg's password to test1 on host greg prior to this. Here's the smbpasswd file: # # SMB password file. # greg:500:E88D94D6EBD10FC7AAD3B435B51404EE:AACD12D27C87CAC8FC0B8538AED6F05 8::: It's on one line, even if wrapped. :) Net pass has failed wi...
2015 Apr 28
2
Resumen diseño sencillo
Estimados Estoy realizando algo tan sencillo que no se que forma sería la más apropiada, la situación es la siguiente, hay un data.frame con unos 500 registros, con algunas variables de las cuáles me interesa marcar solo tres, o dicho de otra forma, me interesan tres columnas, de las cuáles cada una tiene entre dos y cuatro factores. Nada complicado, me interesa colocar la combinación de los
2013 May 22
0
em2: watchdog timeout -- resetting
...0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range coretemp0: <CPU On-Die Thermal Sensors> on cpu0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 coretemp1: <CPU On-Die Thermal Sensors> on cpu1 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 coretemp2: <CPU On-Die Thermal Sensors> on cpu2 est2: <Enhanced SpeedStep Frequency Control> on cpu2 p4tcc2: <CPU Frequency Thermal Control> on cpu2 coretemp3: <CPU On-Di...
2008 Nov 18
3
High system in %system load .
...acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 928092806000928 device_attach: est0 attach returned 6 p4tcc0: <CPU Frequency Thermal Control> on cpu0 cpu1: <ACPI CPU> on acpi0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 928092806000928 device_attach: est1 attach returned 6 p4tcc1: <CPU Frequency Thermal Control> on cpu1 cpu2: <ACPI CPU> on acpi0 est2: <...
2013 Mar 05
2
make_dev_physpath_alias
...flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 est2: <Enhanced SpeedStep Frequency Control> on cpu2 p4tcc2: <CPU Frequency Thermal Control> on cpu2 est3: <Enhanced SpeedStep Frequency Control> on cpu3 p4tcc3: <CPU Fre...
2015 Sep 24
0
FreeBSD 10 & default_vsz_limit causing reboots?
...cy Control> on cpu0 Sep 17 11:25:39 romulus kernel: est: CPU supports Enhanced Speedstep, but is not recognized. Sep 17 11:25:39 romulus kernel: est: cpu_vendor GenuineIntel, msr 719071906000719 Sep 17 11:25:39 romulus kernel: device_attach: est0 attach returned 6 Sep 17 11:25:39 romulus kernel: est1: <Enhanced SpeedStep Frequency Control> on cpu1 Sep 17 11:25:39 romulus kernel: est: CPU supports Enhanced Speedstep, but is not recognized. Sep 17 11:25:39 romulus kernel: est: cpu_vendor GenuineIntel, msr 719071906000719 Sep 17 11:25:39 romulus kernel: device_attach: est1 attach returned 6...
2013 Nov 03
1
FreeBSD 10 Beta 2: make installkernel failure with installer provided ZFS configuration.
...flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 est2: <Enhanced SpeedStep Frequency Control> on cpu2 p4tcc2: <CPU Frequency Thermal Control> on cpu2 est3: <Enhanced SpeedStep Frequency Control> on cpu3 p4tcc3: <CPU Fre...
2015 Sep 15
3
FreeBSD 10 & default_vsz_limit causing reboots?
Ok, So this is really more of an observation than anything else.? I had a FreeBSD 10.1 server that was running great. Some SSL issue came up, or I upgrade Dovecot in ports - something occurred and the machine started rebooting randomly.? It would run for 2 weeks, then reboot.? It might run for 5 days and then reboot. So I started doing more FreeBSD upgrades, thinking it was a kernel issue. The