search for: ssb

Displaying 20 results from an estimated 86 matches for "ssb".

Did you mean: skb
2008 Aug 18
1
"nested" getInitial calls; variable scoping problems
Hi All, Another nls related problem (for background, I'm migrating a complicated modelling package from S-plus to R). Below I've reduced this to the minimum necessary to demonstrate my problem (I think); the real situation is more complicated. Two similar selfStart functions, ssA and ssB. The 'initial' function for ssB modifies its arguments a little and then calls getInital for ssA. In addition to the "x" and the fitted coefficients ("Coeff"), ssA and ssB have arguments ("A") which are not the same length as the dataframe, so cannot be pass...
2008 Jan 31
1
difficulties computing a simple anova
...ne-way ANOVA by hand J = length(spiderdata) sqdata <- data.frame((spiderdata[1] - mean(spiderdata[1])) ^ 2) for(j in 2:J) { sqdata <- cbind(sqdata, (spiderdata[j] - mean(spiderdata[j])) ^ 2) } sqdata N = 0 for(j in 1:J) { N = N + length(sqdata[[j]]) } SSW = sum(sqdata) MSW = SSW / (N - J) SSB = 0 for(j in 1:(length(spiderdata))) { SSB = SSB + length(spiderdata[[j]]) * ((mean(spiderdata[j])[[1]] - (sum(spiderdata) / N)) ^ 2) } MSB = SSB / (J - 1) F = MSB / MSW f_prob = pf(F, J - 1, N - J) reject_point = qf(.95, J - 1, N - J) cat("SSW:", SSW, ", MSW:", MSW, ", S...
2007 Jan 21
2
efficient code. how to reduce running time?
...antitative phenotype # each row is a sample # phenotype value depends on QTN genotype, pi, p, and z Y <- sqrt(10-(10*pi))*z + QTN*sqrt((10*pi)/(2*p*(1-p))); snp = data.frame(cbind(snp, Y)); # anova for QTN df=data.frame(Y=Y, QTN=factor(QTN)); QTN_a <- anova(lm(Y~QTN, data=df)); print (QTN_a); SSB <- QTN_a$`Sum Sq`[1]; SSW <- QTN_a$`Sum Sq`[2]; QTN_PRE <- SSB / (SSB + SSW); print (paste("var_QTN/var_tot:", QTN_PRE)); # anova for all sites F=numeric(S) #create an empty vector to store the F-values Pval=rep(1,S) #create an empty vector to store the Pval PRE=numeric(S)...
2008 Mar 25
2
bunch of small fixes
...n attems <max at stro.at> diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c index ea7171b..c8fa94c 100644 --- a/usr/kinit/fstype/fstype.c +++ b/usr/kinit/fstype/fstype.c @@ -244,7 +244,9 @@ static int suspend_image(const void *buf, unsigned long long *blocks) if (!memcmp(ssb->magic, SUSP_MAGIC_1, SUSP_MAGIC_L) || !memcmp(ssb->magic, SUSP_MAGIC_2, SUSP_MAGIC_L) || - !memcmp(ssb->magic, SUSP_MAGIC_U, SUSP_MAGIC_L)) { + !memcmp(ssb->magic, SUSP_MAGIC_U, SUSP_MAGIC_L) || + !memcmp(ssb->magic, TOI_MAGIC_1, TOI_MAGIC_L) || + !memcmp(ssb-&...
2022 Jun 01
2
Update RPM GPG key for EL9
...oks like the GPG key we use to sign our RPMs is not longer good with EL9: # rpm --import RPM-GPG-KEY-nwra error: RPM-GPG-KEY-nwra: key 1 import failed gpg key info: sec rsa2048/35DDB0B86218AC2F created: 2017-08-16 expires: never usage: SC trust: ultimate validity: ultimate ssb rsa2048/6A7FBC1E9DB22E8E created: 2017-08-16 expires: never usage: E Can someone explain what I need to do to make things compatible with EL9? Thank you! -- Orion Poplawski IT Systems Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-97...
2006 Feb 05
1
Add swap support to fstype, second version
...static int gzip_image(const unsigned char *buf, unsigned long long *bytes) { if (buf[0] == 037 && (buf[1] == 0213 || buf[1] == 0236)) { @@ -182,6 +186,19 @@ return 0; } +static int swap_image(const unsigned char *buf, unsigned long long *blocks) +{ + const struct swap_super_block *ssb = + (const struct swap_super_block *)buf; + + if (!memcmp(ssb->magic, SWAP_MAGIC_1, SWAP_MAGIC_L) || + !memcmp(ssb->magic, SWAP_MAGIC_2, SWAP_MAGIC_L)) { + *blocks = 0; + return 1; + } + return 0; +} + struct imagetype { off_t block; const char name[12]; @@ -189,17 +206,18 @@ };...
2008 Jul 17
0
[LLVMdev] SSA or not SSA?
On Thu, Jul 17, 2008 at 6:34 AM, Matthieu Moy <Matthieu.Moy at imag.fr> wrote: > Patrick Meredith <pmeredit at uiuc.edu> writes: > >> Memory is what the i32* points too. The i32* itself is in a >> register. You can store to it as many times as you want, but you >> can't change the address, because that would violate SSA. > > Thanks, > > For the
2008 Jul 17
2
[LLVMdev] SSA or not SSA?
Patrick Meredith <pmeredit at uiuc.edu> writes: > Memory is what the i32* points too. The i32* itself is in a > register. You can store to it as many times as you want, but you > can't change the address, because that would violate SSA. Thanks, For the record, I finally understood by making a few experiments: This is (obviously) valid: define i32 @main() {
2022 Jun 01
2
Update RPM GPG key for EL9
...t; # rpm --import RPM-GPG-KEY-nwra >> error: RPM-GPG-KEY-nwra: key 1 import failed >> >> gpg key info: >> >> sec? rsa2048/35DDB0B86218AC2F >> ????? created: 2017-08-16? expires: never?????? usage: SC >> ????? trust: ultimate????? validity: ultimate >> ssb? rsa2048/6A7FBC1E9DB22E8E >> ????? created: 2017-08-16? expires: never?????? usage: E >> >> Can someone explain what I need to do to make things compatible with EL9? >> >> Thank you! >> > > Just ensure that it's not using SHA1, which was deprecated, re...
2006 Apr 13
1
How does ccf() really work?
I can't understand the results from cross-correlation function ccf() even though it should be simple. Here's my short example: ********* a<-rnorm(5);b<-rnorm(5) a;b [1] 1.4429135 0.8470067 1.2263730 -1.8159190 -0.6997260 [1] -0.4227674 0.8602645 -0.6810602 -1.4858726 -0.7008563 cc<-ccf(a,b,lag.max=4,type="correlation") cc Autocorrelations of series 'X',
2012 Jun 18
0
Obtaining r-squared values from phylogenetic autoregression in ape
...phylogenetic signal, but I keep calculating bizzare R-squared values. My script is: > library(ape) > x <- "((((((((R:1,GK:1)d:1,(MW:1,G:1)n:1)a:1,SPW:1)a:1,WB:1)b:1,(((SPBF:1,PBF:1)n:1,(HBF:1,SWF:1)c:1)i:1,(PE:1,((P:1,C:1)w:1,(MF:1,HF:1)l:1)b:1)c:1)x:1)a:1,((((((CHB:1,AD:1)a:1,BA:1,SSB:1)i:1,(HB:1,SB:1)b:1)x:1,SC:1)x:1,((BRH:1,PH:1)e:1,(WLH:1,GH:1)b:1)d:1)x:1,DBF:1)a:1)a:1,((WW:1,(OT:1,SW:1)v:1)b:1,B:1)z:1)a:1,((DS:1,GS:1)j:1,(SSS:1,LS:1,(ES:1,SS:1)a:1)b:1)e:1)a;" > treeX <- read.tree(text=x) > treeX <- compute.brlen(treeX, method = "Grafen") > data...
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
...| 2 +- include/linux/ide.h | 2 +- include/linux/kgdb.h | 2 +- include/linux/mfd/db8500-prcmu.h | 2 +- include/linux/mm.h | 2 +- include/linux/power_supply.h | 8 ++-- include/linux/ssb/ssb_driver_extif.h | 2 +- include/linux/ssb/ssb_driver_gige.h | 16 +++---- include/sound/soc.h | 4 +- kernel/rcu/tree_plugin.h | 4 +- kernel/sched/auto_group.h | 2 +- kernel/sched/completion.c...
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
...| 2 +- include/linux/ide.h | 2 +- include/linux/kgdb.h | 2 +- include/linux/mfd/db8500-prcmu.h | 2 +- include/linux/mm.h | 2 +- include/linux/power_supply.h | 8 ++-- include/linux/ssb/ssb_driver_extif.h | 2 +- include/linux/ssb/ssb_driver_gige.h | 16 +++---- include/sound/soc.h | 4 +- kernel/rcu/tree_plugin.h | 4 +- kernel/sched/auto_group.h | 2 +- kernel/sched/completion.c...
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
...| 2 +- include/linux/ide.h | 2 +- include/linux/kgdb.h | 2 +- include/linux/mfd/db8500-prcmu.h | 2 +- include/linux/mm.h | 2 +- include/linux/power_supply.h | 8 ++-- include/linux/ssb/ssb_driver_extif.h | 2 +- include/linux/ssb/ssb_driver_gige.h | 16 +++---- include/sound/soc.h | 4 +- kernel/rcu/tree_plugin.h | 4 +- kernel/sched/auto_group.h | 2 +- kernel/sched/completion.c...
2002 Jul 25
3
Barplot coloring question
Hi all, I have the following dataset, call it test.data (30 columns, and one row named "0"): ADVP ADVP AP AP CONJ CONJ CP CP DU DU INF INF MWU MWU NP NP PP PP PPRT PPRT REL REL SMN SMN SSB SSB SV1 SV1 TI TI 0 96.85 2.05 89.07 2.54 70.91 2.37 94.92 3.46 82.31 11.33 40.96 2.25 98.06 3.43 90.77 17.63 86.60 10.78 60.27 1.32 93.27 0.97 77.60 12.46 64.98 3.32 88.54 3.70 24.33 0.28 I'm trying to plot these data points so that any pair of identical columns (e.g., ADVP) are plotted...
2012 Oct 18
3
svyplot and svysmooth with hexbin
Hi all- So sorry to bother you all with something pretty basic. I am trying to add the lines method output from svysmooth to a svyplot with style="grayhex". However, the line either appears in the wrong place or if I am running in R Studio it causes the system to crash. I know this is something to do with Lattice graphics, but for the life of me I can not figure out how. Dr. Lumley
2013 May 22
1
is it possible to bring speed below 1000 bit/s
...else I can put on top of my very long list of projects. So a few days ago I figured out that fldigi a digimode application for Amateur Radio supports a dual 1000 Baud PSK mode. I thought "that's fast" and started looking around which sort of Data I could put into that. A typical ssb Voice signal has a bandwidth of about 1.9 to 2.4 KHz round about. The shorter the bandwith the more a signal can reach. So I started wondering if it is maybe possible to compress a voice signal down to a bandwith of 1000 KHz which would be a PSK 1000 mode with a fully open Codec? The only thing...
2015 Mar 31
0
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
...ux/ide.h | 2 +- > include/linux/kgdb.h | 2 +- > include/linux/mfd/db8500-prcmu.h | 2 +- > include/linux/mm.h | 2 +- > include/linux/power_supply.h | 8 ++-- > include/linux/ssb/ssb_driver_extif.h | 2 +- > include/linux/ssb/ssb_driver_gige.h | 16 +++---- > include/sound/soc.h | 4 +- > kernel/rcu/tree_plugin.h | 4 +- > kernel/sched/auto_group.h | 2 +- > kernel/sched/comp...
2015 Mar 31
0
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
...ux/ide.h | 2 +- > include/linux/kgdb.h | 2 +- > include/linux/mfd/db8500-prcmu.h | 2 +- > include/linux/mm.h | 2 +- > include/linux/power_supply.h | 8 ++-- > include/linux/ssb/ssb_driver_extif.h | 2 +- > include/linux/ssb/ssb_driver_gige.h | 16 +++---- > include/sound/soc.h | 4 +- > kernel/rcu/tree_plugin.h | 4 +- > kernel/sched/auto_group.h | 2 +- > kernel/sched/comp...
2011 Sep 05
4
Broadcom Wifi Problem
I have a Broadcom 802.11b/g hardware on my dual-boot laptop. Note first that in the WinXP partition, the wifi makes DHCP connections to my router with no problem. Since this was not working in my new CentOS 6 partition, and remembering that there was a driver problem with the old Fedora partition it replaced, I followed instructions founs at: