Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
91 views

I constructed a phylogenetic logistic regression model for a binary response variable using the phyloglm() function from the phylolm package. The code looks like below (predictor and response names ...
0 votes
0 answers
56 views

I've been trying to bootstrap a linear mixed model with three 2-level categorical fixed factors (and all two-way interactions), and one random factor. I can get the linear mixed model to run, I can ...
1 vote
1 answer
33 views

I have to bootstrap a logistic regression model on the 'birthwt' dataset from MASS. However, when I run my code for the bootstrap, I get the following error Error in eval(predvars, data, env) : ...
enfield's user avatar
  • 121
1 vote
1 answer
287 views

I'm attempting to optimize the performance of the permutation test implemented in scipy.stats. My dataset consists of 500,000 observations, each associated with 2,000 binary covariates. I've applied ...
1 vote
1 answer
50 views

rather complex question. I am running a GLMM on an experiment with repeated measurements on individuals. Due to relatively low N, and to increase transparency on the model itself, I designed a ...
2 votes
2 answers
70 views

When I use boot() for a series of regression coefficients, I get the display of Bootstrap Statistics as shown below. Is there a way of retrieving these Bootstrap Statistics in the form of a data ...
Jeff S's user avatar
  • 21
1 vote
0 answers
42 views

rm(list=ls()) library(quantreg) library(SparseM) library(stats) rq.fit.panel <- function(X,y,s,w=c(1),taus=0.30,lambda = 0){ # prototype function for panel data fitting of QR models # the ...
1 vote
1 answer
68 views

Question is regarding the roc function of pROC package. Package link: https://www.rdocumentation.org/packages/pROC/versions/1.18.5/topics/roc. Paper link https://www.ncbi.nlm.nih.gov/pmc/articles/...
1 vote
1 answer
53 views

I am trying to make comparisons between treatments of my heritability estimates, values ​​that I calculated with the following function: data <- data.frame(treatment=c("control", "...
3 votes
1 answer
273 views

Note: This might be more appropriate for Cross Validated, and I'm fine moving it over there if requested, but I thought I would try here first since it could be r-related. I am comparing growth curve ...
0 votes
1 answer
120 views

I have the following code which provides the best fit curve for my given data. I am not sure how to bootstrap it and use that to find the 95% confidence interval. This is my code: import numpy as np ...
0 votes
1 answer
289 views

I have task to do in python. Here is the description: Using the function scipy.stats.bootstrap(), perform interval estimation of the following parameters at a significance level of 1-alpha = 0.98 ...
2 votes
1 answer
511 views

I am doing glm regression with a 0-1 distribution dataset. It's going well with ggplot2::geom_smooth; here is my code: library(ggplot2) set.seed(123) df <- transform(data.frame(Conc=runif(200, ...
0 votes
0 answers
126 views

I have a LMM with 2 categorical fixed factors (ffactor1, ffactor2), a random factor (id), and a covariate of no interest (baseline). I am trying to estimate the power using R's powerSim function. I am ...
0 votes
0 answers
78 views

aI need to calculate a very simple regression model outcome ~ predictor, where outcome is continuous and predictor is binary. To treat missings, I have to use FIML (full information maximum ...

15 30 50 per page
1
2 3 4 5
...
42

AltStyle によって変換されたページ (->オリジナル) /