Displaying 2 results from an estimated 2 matches for "boot_data".
Did you mean:
root_data
2010 Nov 11
0
bootstrap/boot unknown distribution
...3 * 700000 *
(((77 * (76 / 76.0)) / 83107) -
((174 * (154 / 154.0)) / 376354)))
= 8.77311
Now I want to calculate confidence intervals around that estimate so I
thought that since some are binomial proportions I would use random binomial
estimates around those within the formula such as to have:
boot_data <- (0.9 * 0.03 * 700000 *
(((rbinom(10000, 83107, (77 / 83107)) * (rbinom(10000, 76, (70 /
76)) / 76.0)) / 83107) -
((rbinom(10000, 376354, (174 / 376354)) * (rbinom(10000, 154, (138 /
154)) / 154.0)) / 376354)))
and then plotting the histogram and getting the quantiles to derive the 95%
confid...
2017 Nov 13
1
Bootstrap analysis from a conditional logistic regression
...clogit <- function(data, indices){
new_data <- data[indices,]
mod <- clogit(event ~ forest + log_area + forest:log_time + cluster(ID_individual) + strata(ID_strata),
method = "efron", data = new_data, x=T, y=T)
coefficients(mod)
}
boot_data <- boot(data=data, statistic=boot.clogit, R=5000)
I have attached an overview of my data set.
Thank you very much for your time.
Best regards,
Nell
[[alternative HTML version deleted]]