# All Questions

140,244 questions
3 views

### Interpreting Durbin–Wu–Hausman test with large sample size

I'm trying to determine whether to use random-effects or fixed-effects. The Durbin–Wu–Hausman is significant which suggests that fixed-effects are more appropriate. However, looking at the details, ...
4 views

### Can I use Free Energy as reconstruction error when I use RBM to anomaly detection?

Can I use Free Energy as reconstruction error when I use RBM to anomaly detection? If Free Energy of a sample more a threshold, can I regard it an outlier? How to explain Free Energy of RBM?
12 views

### Identifying a distribution

I am trying to understand what sort of distribution is produced by the following code. Using the following Matlab code we can generate a distribution (normalized such that the sum of the set is equal ...
17 views

### When to remove insignificant variables?

I'm working on logistic regression model. I checked the summary of the model which is built on 5 independent variables out which one is not significant with a P-value of 0.74.I wish to know that do we ...
7 views

### Convert R's rgamma random sampling to Python scipy's gamma.rvs

Is there a way to translate from R's rgamma(MSamples, shape = kA, scale = thetaA) gamma random distribution, to Python scipy's ...
19 views

### ML method to determine growth of accounts in a bank

Assume a bank has today N checking accounts, and also has 10 years history of the account balances. The history also includes related features such as "Allow overdraft" (Yes/No) and "Opening branch" (...
6 views

### Granger Causality: Sum of errors vs. determinant

I have been measuring Granger Causality between pairs of vectors processes (i.e. 2 vectors consisting of multiple time-series variables). Most of the equations I find in references utilize a ...
9 views

### Interpreting glmer output

I find myself buried deep into a generalised linear mixed effect model, slightly out of my depth, and need help interpreting what its saying and diagnosing the model assumptions. The model: ...
2 views

### Difference between class_weight and scale_pos_weight in LightGBM

I have a very imbalanced dataset with the ratio of the positive samples to the negative samples being 1:496. The scoring metric is the f1 score,and my desired model is LightGBM. I am using the sklearn ...
9 views

### Comparing two groups with unequal sizes?

I'm writing my thesis on people's attitude. The problem is, I have way more female (75%) than male (25%). I wanted to run an analysis on the different attitude between men and women, but I'm not sure ...
10 views

### Coefficients in Cox model

The output of coxph has coefficients vector as follows: ...
9 views

### Detecting significant trend / non-stationarity in small sample time series

I am trying to detect whether there is a significant change in plankton size over time. As I understand, this is referred to as stationarity testing in time series analysis. Unfortunately, my time ...
7 views

### How to Derive SISO Kalman Filter Update Equation Using only Probability Density Functions

I'm trying to prove to myself that a single state/single measurement kalman update can be derived using bayes theorem (as proof of concept for a more complicated task) only using the PDF. I am able ...
17 views

### Why are the confidence intervals so large for the difference of differences?

I have run a generalized linear mixed effects model with the glmmTMB package to determine if there is an interaction between two categorical predictors, treatment and location, in predicting the ...
11 views

### SciPy Beta Distribution rounding errors [on hold]

I'm using stats.beta.ppf(prob,alpha,beta) in Python with very high probability values, for example prob=0.999999805056895. This appears to be producing incorrect results, returning a value of 1 (it ...
9 views

### How to mirror PCA results? [on hold]

I have a practical visual problem. I would like to mirror the results of the PCA. In other words, everything that is on the left should go to the right and vice-versa. For instance, now the higher ...
### Show that $nX_{(1)}$ is not consistent
Consider a random sample from exponential distribution with mean $\frac{1}{\theta}$. I have to prove that $nX_{(1)}$ is not consistent for $\frac{1}{\theta}$ . A sufficient condition for consistency ...