Displaying 2 results from an estimated 2 matches for "zbar".
Did you mean:
bar
2017 Jun 21
0
Advanced bootstrap question
...e two
datasets. The two datasets have entirely different contents (variable and
numbers of observations. MWE follows:
library(boot)
library(car)
library(dplyr)
(first.df <- data.frame(cluster=gl(2,2,4),z=seq(1,2)))
(second.df <- data.frame(y=1:2))
boot_script <- function(X,d) {
zbar <- mean(sample_n(group_by(first.df,cluster),1)$z)
return( c(zbar, zbar * mean(X[d,"y"]) ))
}
## Results based on the original data
(original.zbar <- mean(first.df$z))
mean(original.zbar * second.df[,"y"])
## Bootstrapped results
## Problem: "Original" is...
2012 Jul 06
1
multiword synoyms
I am using synoyms and cannot determine how to use them in following
example:
$db->add_synonym('Zfoobar','Zfoo Zbar')
or
$db->add_synonym('Zfoobar','Zfoo AND Zbar')
Or is this general not possible?
MfG
Felix