# All Questions

167,035 questions
Filter by
Sorted by
Tagged with
0answers
8 views

### Correlating two normal variables only via their variances in R [closed]

Keeping the mean of x and y as 0, I was wondering if ...
0answers
6 views

### Plotting accuracies obtained through three different methods

I want to plot accuracies for 100 products obtained through three different methods. The data resembles the table below. What is the best way to represent visually these data? I was thinking of having ...
0answers
10 views

### Is a Google Sheets fit model a valid place to retrieve starting parameters for nls() in R Studio?

0 I am trying to fit an exponential model of form y = ae^(xb) in R to the data I have ran below, using the nls() function. I have read here and in other places that I need to feed the model reasonable ...
0answers
10 views

### Permuting outcome variable to estimate null likelihood ratio distribution for Poisson GLM

I fit a Poisson GLM using a set of candidate explanatory variables ($\lambda = e^{\beta_{0} + \beta_{1}x_{1}+\beta_{2}x_{2}+...}$), tested against the global null hypothesis ($\lambda = e^{\beta_{0}}$)...
0answers
6 views

### Hurdle models in R: sign of the hurdle component coefficients

I used to fit hurdle models with pscl::hurdle, I now use glmmTMB. The coefficients of the zero component of pscl::hurdle have the opposite sign of the coefficients of the zero-inflation component of ...
0answers
5 views

### How to include two interactions which share one of the variables (A) in a linear regression? [closed]

Let's say I have a response variable Y, and I want to predict it using variables A,B and <...
1answer
16 views

### What is the defintion of variation in a box plot?

Variation is a term I have always been confused with. The first time I heard it, it was defined as "the different between the max and min values in a distribution". Lately, I've been hearing ...
0answers
6 views

### What would be best, using turnout levels or rates as the dependent variables?

I'm looking at the effect of a specific registration requirement on turnout and have been trying to decide what form the dependent variable should take. My two main options are turnout levels (i.e. ...
1answer
14 views

### Use bootstrap mean to remove bias from the statistic?

I have a data sample on which I apply a statistic called "$\alpha$". I then use a standard bootstrap analysis on the data which results in something like this: As can be seen, the bootstrap ...
0answers
14 views

1answer
21 views

### P value adjustment for pairwise comparisons of negative binomial

Question 1) Am I appropriately doing the pairwise comparisons? Question 2) Why is the Sidak method used for the emmeans? Should I instead use adjust = "none" for these? Context: I have a ...
1answer
21 views

### How to interpret random effect coefficients in glmer

I am studing relationship between the competition facing a hospital and the death at 30 days within it. I performed mixed-effect model assuming that patient in same hospital should be more correlated....
1answer
16 views

### Is this an instance of convergent evidence?

In psychometrics, convergent validity is a source of proof for construct validity. It is said that it is the degree to which test scores are correlated with test scores of relevant constructs or the ...
0answers
14 views

### Some questions about linear model and generalized linear model (Are the process of building a model the same in these two models?)

I am learning linear regression model from the textbook "A Second Course in Statistics: Regression Analysis （seventh edition)" by William Mendenhall and Terry Sincich. There is a figure ...
1answer
26 views

### Forward and backward stepwise regression (AIC) for negative binomial regression (with real data)

I am doing some count data analysis. The data is in this link. Column A is the count data, and other columns are the independent variables. At first I used Poisson regression to analyze it: ...
0answers
8 views

### Different outcomes between XGBoost and GBM observation weights

I've noticed that the weights argument in the xgboost and gbm r packages don't have the same effect. I had hoped to move from gbm to xgboost for performance reasons, but am not sure how to do so given ...
0answers
11 views

### How to find out if a set of time series regress towards the mean?

I have a dataset with 10 year daily measurements (price earnings) of N similar stocks. I'm trying to figure out: if the daily median is stationary (otherwise it wouldn't make sense to talk about a &...
0answers
10 views

### Best strategy to run thousands of small tests on a machine with one GPU and multi-core CPU [closed]

I have recently got a new machine with GPU and multi-core CPU. I have thousands of small tests (one minute each) to run in order to tune my model and extract some other information. What is the best ...
0answers
9 views

### Confidence ellipsoides for unbalanced data with linear mixed model

I am working with unbalanced data that contains repeated measures. I first run a mixed model after I have obtained my estimates I focus on a effect decomposition, from there I do a PCA. In the ...

15 30 50 per page